[
http://jira.jboss.com/jira/browse/GPD-141?page=all ]
Koen Aers updated GPD-141:
--------------------------
Fix Version/s: jBPM jPDL Designer 3.1.2
(was: jBPM jPDL Designer 3.1.1)
IType.getCompilationUnit() can be null if handler class is in jar,
leads to event loop exception
------------------------------------------------------------------------------------------------
Key: GPD-141
URL:
http://jira.jboss.com/jira/browse/GPD-141
Project: JBoss jBPM GPD
Issue Type: Bug
Components: jpdl
Affects Versions: jBPM JPDL Designer 3.1.0.CR
Environment: Eclipse 3.2 on Windows 2000
Reporter: Matthias Hanisch
Assigned To: Koen Aers
Fix For: jBPM jPDL Designer 3.1.2
Following part of my processdefinition.xml:
<event type="node-leave">
<action class="x.y.z.MyClass" name="An Action">
<arg>
anArg
</arg>
</action>
</event>
MyClass is in a jar which is added to the classpath of the Process Project. Saving throws
an event loop exception in Error Log View with the following stack.
Caused by: org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:126)
at
org.eclipse.jface.viewers.StructuredViewer.assertElementsNotNull(StructuredViewer.java:577)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.setCheckedElements(CheckboxTreeViewer.java:431)
at
org.jbpm.gd.jpdl.deployment.IncludeInDeploymentTreeViewer.setCheckedElements(IncludeInDeploymentTreeViewer.java:61)
at org.jbpm.gd.jpdl.deployment.DeploymentForm$17.run(DeploymentForm.java:635)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
The problem is, that DeploymentForm.getElementsToCheckFor() does not respect that MyClass
returns null for getCompilationUnit(). As a consequence, setCheckedElements is called with
null in the Object[].
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira