This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - create a new BPEL module - open it in designer - select the process, select Add Event Handlers in the context menu - Event Handlers activity will be created, select OnEvent activity in the EventHandlers. NPE will be thrown: java.lang.NullPointerException at org.netbeans.modules.bpel.properties.nodes.OnEventNode.createSheet(OnEventNode.java:82) at org.openide.nodes.AbstractNode.getSheet(AbstractNode.java:398) at org.openide.nodes.AbstractNode.getPropertySets(AbstractNode.java:409) at org.openide.explorer.propertysheet.PropertySheet.setCurrentNode(PropertySheet.java:558) at org.openide.explorer.propertysheet.PropertySheet.doSetNodes(PropertySheet.java:375) at org.openide.explorer.propertysheet.PropertySheet.access$300(PropertySheet.java:79) [catch] at org.openide.explorer.propertysheet.PropertySheet$2$1.run(PropertySheet.java:517) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
One step missing in description: you need to add OnEvent branch after creating the Event handlers activity
Also a custom editor for the OnEvent element now appears correctly.
Verified in build 060723