Q7

Parse-time throws NPE if input value can't be parsed.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.12
  • Fix Version/s: 1.3.13
  • Component/s: ECL
  • Labels:
  • Test Mode:
    JUnit

Description

Ticket 1008

Steps to reproduce:

emit "23" | str | parse-time -format "dd.mm.yyyy"

or

emit "" | str | parse-time -format "dd.mm.yyyy"

The following NPE is thrown:

java.lang.NullPointerException
	at org.eclipse.rcptt.ecl.operations.internal.commands.ParseTimeService.service(ParseTimeService.java:40)
	at org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83)
	at org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    26/Jun/14 1:17 PM
    Updated:
    21/Jul/14 5:04 PM
    Resolved:
    21/Jul/14 5:04 PM