Ticket #657 (closed defect: fixed)
MethodProperty NPE when args == null
| Reported by: | Artur Signell | Owned by: | Jani Laakso |
|---|---|---|---|
| Priority: | undefined | Milestone: | User Interface Library 5.2.0 RC |
| Component: | Server-side framework | Version: | |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | no | Contract: | |
Description
Constructing a MethodProperty? with setArgs == null causes an NPE because MethodProperty?.setArguments assumes setArgs is an array and not null. Either an useful error should be thrown or null arguments should equal empty argument list (Object[] {}).
Change History
Note: See
TracTickets for help on using
tickets.
