GrailsFlow

NullPointer Exception when leaving node of type "wait"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Albers, Stephan
  • External Supervisor:
    Please select
  • Executing Programmer:
    Please select
  • Ext Project Id:
    JCGFW-01

Description

When in a node of type "wait" and leaving it (triggering a transition), a stacktrace of an NPE is shown sometimes.
After analysing the resulting state one can say that the transition worked successfully but opening the following "ProcessDetail" dialog threw an exception while sorting:

2010-04-30 15:15:03,532 [TP-Processor1] ERROR (org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver) - java.lang.NullPointerException
org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.NullPointerException
...
at java.lang.Thread.run(Thread.java:595)
...
Caused by: java.lang.NullPointerException
at java.lang.Long.compareTo(Long.java:916)
at java.lang.Long.compareTo(Long.java:34)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at com.jcatalog.grailsflow.engine.ProcessDetails.<init>(ProcessDetails.groovy:39)
at ProcessController$_closure9.doCall(ProcessController.groovy:372)
at ProcessController$_closure9.doCall(ProcessController.groovy)
... 76 more

  1. NPE.txt
    10/May/10 2:40 PM
    8 kB
    Ernst, Martin
  1. NPE-testcase1.jpg
    33 kB
    10/May/10 2:47 PM
  2. NPE-testcase2.jpg
    28 kB
    10/May/10 2:47 PM
  3. NPE-testcase3.jpg
    58 kB
    10/May/10 2:47 PM

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    10/May/10 2:40 PM
    Updated:
    22/Feb/11 8:54 AM
    Resolved:
    22/Feb/11 8:54 AM