Ticket #657 (closed defect: fixed)

Opened 19 months ago

Last modified 7 months ago

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

Changed 19 months ago by Jani Laakso

  • affects_release_notes unset

Changed 10 months ago by Joonas Lehtinen

  • milestone set to User Interface Library 5.1.0 RC

Changed 9 months ago by Joonas Lehtinen

  • priority changed from minor to undefined

Changed 9 months ago by Jani Laakso

  • status changed from new to assigned

I think I have fixed this few months ago for TK5 only. Checking.

Changed 9 months ago by Jani Laakso

  • milestone changed from User Interface Library 5.1.2 to Sprint 4 backlog

Not fixed, no time to fix & test this ATM.

Changed 8 months ago by Joonas Lehtinen

  • milestone changed from Sprint 4 backlog to User Interface Library 5.1.2

Milestone Sprint 4 backlog deleted

Changed 7 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.1.2 to User Interface Library 5.2.0

Milestone User Interface Library 5.1.2 deleted

Changed 7 months ago by anonymous

Fixed in [4365]

Changed 7 months ago by Marc Englund

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.