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 80343 - NPE when import WSDL to the BPEL project
Summary: NPE when import WSDL to the BPEL project
Status: VERIFIED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: PC All
: P1 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 22:39 UTC by Sherry Barkodar
Modified: 2006-08-03 06:25 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zip file is attached (8.00 KB, application/octet-stream)
2006-07-14 22:41 UTC, Sherry Barkodar
Details
zip file is attached (8.00 KB, application/octet-stream)
2006-07-14 22:42 UTC, Sherry Barkodar
Details
the screen shot (109.09 KB, application/octet-stream)
2006-07-14 22:43 UTC, Sherry Barkodar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Barkodar 2006-07-14 22:39:32 UTC
Creat a BPEL project
Creat a WSDL
Tried to import the wsdl to the bpel project, I got the following NPE:

java.lang.NullPointerException
	at org.openide.filesystems.FileObject.getFileObject(FileObject.java:576)
	at
org.netbeans.modules.bpel.properties.ResolverUtility.isFileImported(ResolverUtility.java:244)
	at
org.netbeans.modules.bpel.properties.editors.ImportMainPanel$9.doDetailedValidation(ImportMainPanel.java:470)
	at
org.netbeans.modules.bpel.properties.editors.controls.valid.DefaultValidStateManager.validateChildrenControls(DefaultValidStateManager.java:237)
	at
org.netbeans.modules.bpel.properties.editors.controls.valid.DefaultValidStateManager.validateChildrenControls(DefaultValidStateManager.java:219)
	at
org.netbeans.modules.bpel.properties.editors.controls.AbstractCustomNodeEditor.revalidate(AbstractCustomNodeEditor.java:156)
	at
org.netbeans.modules.bpel.properties.editors.controls.AbstractCustomNodeEditor.doValidateAndSave(AbstractCustomNodeEditor.java:222)
	at
org.netbeans.modules.bpel.properties.editors.controls.valid.NodeEditorDescriptor.processOkButton(NodeEditorDescriptor.java:104)
	at
org.netbeans.modules.bpel.properties.editors.controls.valid.NodeEditorDescriptor$1.actionPerformed(NodeEditorDescriptor.java:61)
	at
org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1080)
	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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	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)
[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.pumpEventsForHierarchy(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:515)
	at java.awt.Dialog.show(Dialog.java:536)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1178)
	at org.openide.util.Mutex.readAccess(Mutex.java:215)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:832)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at
org.netbeans.modules.bpel.nodes.actions.AddImportAction.performAction(AddImportAction.java:92)
	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:3093)
	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 Sherry Barkodar 2006-07-14 22:41:03 UTC
Created attachment 31900 [details]
zip file is attached
Comment 2 Sherry Barkodar 2006-07-14 22:42:37 UTC
Created attachment 31901 [details]
zip file is attached
Comment 3 Sherry Barkodar 2006-07-14 22:43:25 UTC
Created attachment 31902 [details]
the screen shot
Comment 4 Michael Frisino 2006-07-17 02:05:39 UTC
i tried to reproduce this but the add import worked fine for me. Is this still
happening for you?
Comment 5 _ hong_lin 2006-08-03 06:25:33 UTC
Verified the bug is fixed in milestone build 17