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 80404 - Edit variable of global schema type throws NPE
Summary: Edit variable of global schema type throws NPE
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 12:27 UTC by Andrey Yamkovoy
Modified: 2006-08-28 10:38 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 Andrey Yamkovoy 2006-07-17 12:27:44 UTC
Steps to reproduce:
- Open any bple process.
- Add variable of global schema type, for example xsd:int.
- Edit created variable (select variable in Navigator and invoke 'Edit' action 
from popup menu).
- Following NPE occurs:

java.lang.NullPointerException
	at org.netbeans.modules.bpel.properties.ResolverUtility.isModelImported
(ResolverUtility.java:227)
	at 
org.netbeans.modules.bpel.properties.choosers.TypeChooserPanel.setSelectedType
(TypeChooserPanel.java:360)
	at 
org.netbeans.modules.bpel.properties.editors.VariableMainPanel.initControls
(VariableMainPanel.java:80)
	at 
org.netbeans.modules.bpel.properties.editors.controls.AbstractCustomNodeEditor.p
rocessChildrenControls(AbstractCustomNodeEditor.java:488)
	at 
org.netbeans.modules.bpel.properties.editors.controls.AbstractCustomNodeEditor.i
nitControls(AbstractCustomNodeEditor.java:112)
	at 
org.netbeans.modules.bpel.properties.editors.VariableCustomEditor.<init>
(VariableCustomEditor.java:39)
	at org.netbeans.modules.bpel.nodes.VariableNode.getCustomizer
(VariableNode.java:404)
[catch] at org.netbeans.modules.bpel.properties.NodeUtils.showNodeCustomEditor
(NodeUtils.java:51)
	at 
org.netbeans.modules.bpel.nodes.actions.ShowPropertyEditorAction.performAction
(ShowPropertyEditorAction.java:45)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run
(NodeAction.java:537)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction
(ActionsBridge.java:53)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed
(NodeAction.java:533)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	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:3892)
	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)
	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 Vladimir Yaroslavskiy 2006-07-27 15:12:40 UTC
fixed.
Comment 2 Andrey Yamkovoy 2006-08-03 13:21:32 UTC
verified