[jboss-jira] [JBoss JIRA] Updated: (GPD-141) IType.getCompilationUnit() can be null if handler class is in jar, leads to event loop exception
Koen Aers (JIRA)
jira-events at lists.jboss.org
Fri Nov 6 11:19:20 EST 2009
[ https://jira.jboss.org/jira/browse/GPD-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koen Aers updated GPD-141:
--------------------------
Fix Version/s: jBPM jPDL Designer 3.2
verify and apply patch if needed
> IType.getCompilationUnit() can be null if handler class is in jar, leads to event loop exception
> ------------------------------------------------------------------------------------------------
>
> Key: GPD-141
> URL: https://jira.jboss.org/jira/browse/GPD-141
> Project: 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
> Assignee: Koen Aers
> Fix For: jBPM jPDL Designer 3.2
>
> Attachments: gpd-141.diff
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list