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 84913 - NPE on invoking Throw fault variable name property editor
Summary: NPE on invoking Throw fault variable name property editor
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-09-14 15:09 UTC by Maksim Khramov
Modified: 2006-09-21 10:45 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-09-14 15:09:40 UTC
Steps to reproduce:
Create BPEL module project.
Create BPEL process and add throw activity on it.
Invoke properties window and click on Fault Variable property. The NPE is thrown:
java.lang.NullPointerException
	at
org.netbeans.modules.bpel.properties.props.editors.VariablePropertyEditor.getCustomEditor(VariablePropertyEditor.java:46)
	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.adjustSelection(BasicTableUI.java:1084)
	at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1014)
	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:5996)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3240)
	at
org.openide.explorer.propertysheet.SheetTable.processMouseEvent(SheetTable.java:694)
	at java.awt.Component.processEvent(Component.java:5764)
	at java.awt.Container.processEvent(Container.java:1984)
	at java.awt.Component.dispatchEventImpl(Component.java:4407)
	at java.awt.Container.dispatchEventImpl(Container.java:2042)
	at java.awt.Component.dispatchEvent(Component.java:4237)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4248)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3909)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3842)
	at java.awt.Container.dispatchEventImpl(Container.java:2028)
	at java.awt.Window.dispatchEventImpl(Window.java:2405)
	at java.awt.Component.dispatchEvent(Component.java:4237)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:600)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Nikita Krjukov 2006-09-14 17:48:34 UTC
Fixed. 
It has been caused by changes in the VariableTypeFilter. 
Comment 2 Maksim Khramov 2006-09-21 10:45:19 UTC
Verified in build 060914