[jboss-jira] [JBoss JIRA] Created: (JBRULES-3162) OutputMarshaller cause NullPointerException in create session

Gary tse (JIRA) jira-events at lists.jboss.org
Mon Aug 1 22:53:23 EDT 2011


OutputMarshaller cause NullPointerException in create session
-------------------------------------------------------------

                 Key: JBRULES-3162
                 URL: https://issues.jboss.org/browse/JBRULES-3162
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-core
    Affects Versions: 5.2.0.Final
            Reporter: Gary tse
            Assignee: Mark Proctor


Class: org.drools.marshalling.impl.OutputMarshaller
Method: public static void writePropagationContexts(MarshallerWriteContext context) throws IOException

Line: Entry<LeftTuple, Integer>[] entries = context.terminalTupleMap.entrySet().toArray( new Entry[context.terminalTupleMap.size()] );

Suggest solution: 
if (context.terminalTupleMap.size()>0) {....}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list