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 33537

Summary: No more wizard at all!
Product: platform Reporter: doykati <doykati>
Component: Dialogs&WizardsAssignee: David Simonek <dsimonek>
Status: CLOSED WORKSFORME    
Severity: blocker CC: mmirilovic, ttran
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log from netbeans 3.4.1

Description doykati 2003-05-12 14:53:04 UTC
An exception is raised when I want to create a new
class, or any new object via the right mouse menu
when clicking on a directory's name in the project
window.

Now I cannot have any wizard at all now! I get an
error if I want to use the "update center".
Samething when I go to "File"->"New" (got 2 errors).

Output from the log:
java.lang.NoSuchFieldError: wizardPanel
        at
org.openide.WizardDescriptor.setHelpCtx(WizardDescriptor.java:421)
        at
org.openide.WizardDescriptor.updateState(WizardDescriptor.java:478)
        at
org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:643)
        at
org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:957)
        at
org.openide.loaders.TemplateWizardIterImpl.fireStateChanged(TemplateWizardIterImpl.java:211)
        at
org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:80)
        at
org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:199)
        at
org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:216)
        at
org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:457)
        at
org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:423)
        at
org.openide.actions.NewTemplateAction$TemplateActionListener.acceptNodes(NewTemplateAction.java:256)
        at
org.openide.explorer.view.MenuView$MenuItem.doClick(MenuView.java:441)
        at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
        at
java.awt.Component.processMouseEvent(Component.java:5093)
        at
java.awt.Component.processEvent(Component.java:4890)
        at
java.awt.Container.processEvent(Container.java:1566)
        at
java.awt.Component.dispatchEventImpl(Component.java:3598)
        at
java.awt.Container.dispatchEventImpl(Container.java:1623)
        at
java.awt.Component.dispatchEvent(Component.java:3439)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
        at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
        at
java.awt.Container.dispatchEventImpl(Container.java:1609)
        at
java.awt.Window.dispatchEventImpl(Window.java:1585)
        at
java.awt.Component.dispatchEvent(Component.java:3439)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Comment 1 Jan Chalupa 2003-05-12 15:28:06 UTC
Re-assigning to openide. No idea what it could be.
Comment 2 David Simonek 2003-05-13 13:15:21 UTC
Evaluation: It seems that class files in user's installation are
corrupted. 

Code on line 421 is regular condition:
"if ((wizardPanel != null) && (helpCtx != null)) {"
and field wizardPanel is regular private member field.

Doykati, I'd use some help from you. Please,
- attach file ide.log from system subdirectory of your netbeans config
to this issue
- try to reinstall netbeans software, it should solve your problems.
Thsnks.

Comment 3 doykati 2003-05-13 13:47:35 UTC
Created attachment 10280 [details]
ide.log from netbeans 3.4.1
Comment 4 doykati 2003-05-13 13:49:42 UTC
IDE.LOG attached !

Weel, today, everything is back!
I didn't restart my computer, but this morning I was able to get the
wizard window. Really strange!
I didn't reinstall neither.

Regards
Comment 5 David Simonek 2003-05-13 15:35:41 UTC
Hm, I inspected log file and I found nothing unusual what could lead
to described problems. Looks like something in your computer
distracted Java VM from reading WizardDescriptor.class correctly...I
don't know, nothing more I can do.

Great that it works now, I'm closing issue as worksforme.