[
https://jira.jboss.org/browse/JBIDE-7504?page=com.atlassian.jira.plugin.s...
]
Feng Qian resolved JBIDE-7504.
------------------------------
Resolution: Done
fixed. This issue is for NPE when create a eventhandler for scope. But there is another
NPE when create a compensatehandler for a scope. The reason for them are same. So fix them
together.
NPE when create a eventhandler for a scope
------------------------------------------
Key: JBIDE-7504
URL:
https://jira.jboss.org/browse/JBIDE-7504
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: bpel
Affects Versions: 3.2.0.Beta1
Reporter: Feng Qian
Assignee: Feng Qian
Fix For: 3.2.0.Beta2
java.lang.NullPointerException
at org.eclipse.bpel.model.util.ElementFactory.getOwnerDocument(ElementFactory.java:596)
at org.eclipse.bpel.model.util.ElementFactory.getWriter(ElementFactory.java:567)
at org.eclipse.bpel.model.util.ElementFactory.createElement(ElementFactory.java:358)
at
org.eclipse.bpel.model.util.ReconciliationHelper.patchDom(ReconciliationHelper.java:971)
at
org.eclipse.bpel.ui.commands.InsertInContainerCommand.doExecute(InsertInContainerCommand.java:80)
at org.eclipse.bpel.ui.commands.CompoundCommand.doExecute(CompoundCommand.java:63)
at org.eclipse.bpel.ui.commands.util.AutoUndoCommand.execute(AutoUndoCommand.java:108)
at
org.eclipse.bpel.common.ui.editmodel.EditModelCommandStack.execute(EditModelCommandStack.java:123)
at org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(WorkbenchPartAction.java:83)
at org.eclipse.bpel.ui.actions.AppendNewAction.run(AppendNewAction.java:175)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira