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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP User Comments: GUEST: Importing an existing java project BaseX XML processor. daik: Creating a new java project with existing sources GUEST: Tried to add new Java project with existing sources from Samba share turletsjungle: Can't create project from existing source. Can't create any projects. Can't open any files. I am uninstalling Netbeans 6.8. It does NOT run properly. Below is the output from the most recent error. java.lang.IllegalThreadStateException: must be called in EQ at org.netbeans.spi.java.project.support.ui.IncludeExcludeVisualizer.getVisualizerPanel(IncludeExcludeVisualizer.java:197) at org.netbeans.modules.java.j2seproject.ui.wizards.PanelIncludesExcludes.getComponent(PanelIncludesExcludes.java:68) at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:738) at org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:67) at org.openide.WizardDescriptor.updateStateWithFeedback(WizardDescriptor.java:1028) at org.openide.WizardDescriptor.access$1500(WizardDescriptor.java:127) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2086) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) [catch] at org.op Stacktrace: java.lang.IllegalThreadStateException: must be called in EQ at org.netbeans.spi.java.project.support.ui.IncludeExcludeVisualizer.getVisualizerPanel(IncludeExcludeVisualizer.java:197) at org.netbeans.modules.java.j2seproject.ui.wizards.PanelIncludesExcludes.getComponent(PanelIncludesExcludes.java:68) at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:738) at org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:67) at org.openide.WizardDescriptor.updateStateWithFeedback(WizardDescriptor.java:1028) at org.openide.WizardDescriptor.access$1500(WizardDescriptor.java:127)
Created attachment 95145 [details] stacktrace
The WizardDescriptor.Panel.getComponent() javadoc says that it can be called by any thread but it's seems wrong as according to http://performance.netbeans.org/howto/dialogs/wizard-panels.html the Panel cannot construct UI components in the constructor and it has to return component from getComponent() where it cannot be created as it is not in the EDT. Only way how to do it is to use SwingUtilities.invokeAndWait which may cause dead lock. So better way is to fix it in the TemplateWizard.updateState, which should do the same as a WizardDescriptor.updateState (reschedule to EDT when needed).
This should be fixed in #217446, please reopen if still reproducible.