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 78446 - SOA in New File wizard for UML projects which also causes NullPointerException
Summary: SOA in New File wizard for UML projects which also causes NullPointerException
Status: VERIFIED DUPLICATE of bug 80893
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: REGRESSION
: 80229 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-20 01:03 UTC by Peter Lam
Modified: 2006-10-02 10:12 UTC (History)
1 user (show)

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 Peter Lam 2006-06-20 01:03:44 UTC
Coke build 060613_1

step to reproduce:
1. create UML project
2. Select UML project (make it active project)
3. invoke 'New File' from File menu or toolbar
The following categories/File Types exist:
- Service Oriented Architecture category with BPEL Process
- Other category with Empty DiagramXml file 
There should be no categories and file types in this wizard for UML Project.

Upon selecting Service Oriented Architecture category and click on the Next
button, the following exception pops up in the dialog.

java.lang.NullPointerException
	at
org.netbeans.modules.bpel.core.wizard.NewBpelFileIterator.createPanels(NewBpelFileIterator.java:68)
	at
org.netbeans.modules.bpel.core.wizard.NewBpelFileIterator.initialize(NewBpelFileIterator.java:119)
	at
org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:70)
	at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:169)
	at org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:187)
	at
org.netbeans.modules.project.ui.TemplateChooserPanel.storeSettings(TemplateChooserPanel.java:124)
	at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1036)
	at
org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1068)
	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: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)
[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:810)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1172)
	at org.openide.util.Mutex.readAccess(Mutex.java:209)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:826)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:461)
	at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:334)
	at org.netbeans.modules.project.ui.actions.NewFile.doPerform(NewFile.java:117)
	at org.netbeans.modules.project.ui.actions.NewFile.actionPerformed(NewFile.java:94)
	at
org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:100)
	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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	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 Michael Frisino 2006-07-16 23:59:40 UTC
Is this a SOA problem or a UML problem?
If it BPEL problem, then bounce it back to us.
Comment 2 Sergey Petrov 2006-07-17 00:15:58 UTC
regression keyword was missed after migration
Comment 3 Michael Frisino 2006-07-17 00:53:28 UTC
*** Issue 80229 has been marked as a duplicate of this issue. ***
Comment 4 Yang Su 2006-07-17 17:32:58 UTC
see internal #6387941, same root cause. SOA category / BPEL also shows up in
unrelated NB module project or module suite project, it's not a uml issue.
Comment 5 Praveen Savur 2006-07-25 23:48:45 UTC

*** This issue has been marked as a duplicate of 80893 ***
Comment 6 Mikhail Kondratyev 2006-10-02 10:12:45 UTC
Can't reproduce as UML was removed from the Enterprise Pack