[jboss-jira] [JBoss JIRA] Commented: (JBRULES-3162) OutputMarshaller cause NullPointerException in create session
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Tue Aug 9 03:09:24 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619548#comment-12619548 ]
Mark Proctor commented on JBRULES-3162:
---------------------------------------
thanks, haven't applied that fix.
> 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
> Fix For: 5.3.0.Beta2
>
>
> 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