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.

Bug 79717 - NPE on setting Fault Variable for Throw activity
Summary: NPE on setting Fault Variable for Throw activity
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-07-04 15:56 UTC by Maksim Khramov
Modified: 2006-07-25 10:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2006-07-04 15:56:18 UTC
Create BPEL module.
Open diagram.
Add Throw activity to diagram.
Open Properties tab.
Click on 'Fault Variable' property editor.
NPE is thrown:
java.lang.NullPointerException
	at
org.netbeans.modules.bpel.properties.props.VariableProperty$CustomVariablePropertyEditor.<init>(VariableProperty.java:155)
	at
org.netbeans.modules.bpel.properties.props.VariableProperty$VariablePropertyEditor.getCustomEditor(VariableProperty.java:119)
	at
org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:111)
	at
org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:202)
	at org.openide.explorer.propertysheet.SheetTable.editCellAt(SheetTable.java:957)
	at
javax.swing.plaf.basic.BasicTableUI$Handler.adjustFocusAndSelection(BasicTableUI.java:953)
	at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:920)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.Component.processMouseEvent(Component.java:5485)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at
org.openide.explorer.propertysheet.SheetTable.processMouseEvent(SheetTable.java:694)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	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)
Comment 1 Nikita Krjukov 2006-07-07 13:11:22 UTC
The implementation of the Fault Variable has been recently significantly 
changed. 
So the issue isn't reproduced now.  
Comment 2 Maksim Khramov 2006-07-25 10:17:39 UTC
Verified in build 060723