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 37150 - Null pointer exception when creating new class
Summary: Null pointer exception when creating new class
Status: VERIFIED DUPLICATE of bug 35335
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 17:03 UTC by stinkypete
Modified: 2008-12-22 18:54 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 stinkypete 2003-11-11 17:03:21 UTC
I've just downloaded version 3.51 and sometimes 
(I've not been able to tie it down fully yet) 
when I get the new class wizard up and click next 
I get an error report.

My ide.log contains this stack trace:


*********** Exception occurred ************ at 
Tue Nov 11 15:59:43 GMT 2003
java.lang.NullPointerException
	at 
org.openide.WizardDescriptor.goToNextStep
(WizardDescriptor.java:598)
	at org.openide.WizardDescriptor.access$300
(WizardDescriptor.java:55)
	at 
org.openide.WizardDescriptor$Listener.actionPerfor
med(WizardDescriptor.java:1110)
	at 
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
	at 
javax.swing.AbstractButton$ForwardActionEvents.act
ionPerformed(AbstractButton.java:1839)
	at 
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at 
javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at 
javax.swing.plaf.basic.BasicButtonListener.mouseRe
leased(BasicButtonListener.java:245)
	at java.awt.Component.processMouseEvent
(Component.java:5100)
	at java.awt.Component.processEvent
(Component.java:4897)
	at java.awt.Container.processEvent
(Container.java:1569)
	at java.awt.Component.dispatchEventImpl
(Component.java:3615)
	at java.awt.Container.dispatchEventImpl
(Container.java:1627)
	at java.awt.Component.dispatchEvent
(Component.java:3477)
	at 
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
	at 
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
	at 
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
	at java.awt.Container.dispatchEventImpl
(Container.java:1613)
	at java.awt.Window.dispatchEventImpl
(Window.java:1606)
	at java.awt.Component.dispatchEvent
(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent
(EventQueue.java:456)
[catch] at 
java.awt.EventDispatchThread.pumpOneEventForHierar
chy(EventDispatchThread.java:201)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarch
y(EventDispatchThread.java:151)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarch
y(EventDispatchThread.java:141)
	at java.awt.Dialog$1.run(Dialog.java:540)
	at java.awt.Dialog.show(Dialog.java:561)
	at org.netbeans.core.NbPresenter.superShow
(NbPresenter.java:690)
	at org.netbeans.core.NbPresenter.doShow
(NbPresenter.java:733)
	at org.netbeans.core.NbPresenter.run
(NbPresenter.java:721)
	at org.openide.util.Mutex.doEventAccess
(Mutex.java:932)
	at org.openide.util.Mutex.readAccess
(Mutex.java:157)
	at org.netbeans.core.NbPresenter.show
(NbPresenter.java:706)
	at 
org.openide.loaders.TemplateWizard.instantiateImpl
(TemplateWizard.java:425)
	at 
org.openide.loaders.TemplateWizard.instantiate
(TemplateWizard.java:358)
	at 
org.openide.actions.NewTemplateAction.doShowWizard
(NewTemplateAction.java:328)
	at 
org.openide.actions.NewTemplateAction.access$300
(NewTemplateAction.java:49)
	at 
org.openide.actions.NewTemplateAction$MenuWithRece
nt$Item.actionPerformed
(NewTemplateAction.java:285)
	at 
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
	at 
javax.swing.AbstractButton$ForwardActionEvents.act
ionPerformed(AbstractButton.java:1839)
	at 
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at 
javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick
(AbstractButton.java:289)
	at 
javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1113)
	at 
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputH
andler.mouseReleased(BasicMenuItemUI.java:943)
	at java.awt.Component.processMouseEvent
(Component.java:5100)
	at java.awt.Component.processEvent
(Component.java:4897)
	at java.awt.Container.processEvent
(Container.java:1569)
	at java.awt.Component.dispatchEventImpl
(Component.java:3615)
	at java.awt.Container.dispatchEventImpl
(Container.java:1627)
	at java.awt.Component.dispatchEvent
(Component.java:3477)
	at 
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
	at 
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
	at 
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
	at java.awt.Container.dispatchEventImpl
(Container.java:1613)
	at java.awt.Window.dispatchEventImpl
(Window.java:1606)
	at java.awt.Component.dispatchEvent
(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent
(EventQueue.java:456)
	at 
java.awt.EventDispatchThread.pumpOneEventForHierar
chy(EventDispatchThread.java:201)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarch
y(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
Comment 1 Jiri Rechtacek 2003-11-12 09:45:45 UTC

*** This issue has been marked as a duplicate of 35335 ***
Comment 2 Marian Mirilovic 2004-03-19 13:31:26 UTC
verified duplicate
BTW
it's fixed for incoming NB3.6