]
Alejandro Guizar updated JBPM-2069:
-----------------------------------
Fix Version/s: (was: jBPM 3.3.2)
IntegerToLongConverter not consistent when dealing with null-values
-------------------------------------------------------------------
Key: JBPM-2069
URL:
https://jira.jboss.org/jira/browse/JBPM-2069
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.5 GA
Reporter: Hans Huber
Assignee: Alejandro Guizar
Priority: Minor
Fix For: jBPM 3.2.10
org.jbpm.context.exe.converter.IntegerToLongConverter.supports(Object) return true for
null values.
org.jbpm.context.exe.converter.IntegerToLongConverter.convert(Object) on the other hand
throws a NPE when a null value is passed in.
i found this inconsistency when i tried to null a previously set variable with
executionContext.setVariable("foobar", new Long(1));
executionContext.setVariable("foobar", null);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: