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 182462 - NullPointerException at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelProjectLocationVisual.valid
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.ui.wizards.Panel...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 09:12 UTC by Alexander Simon
Modified: 2010-03-23 05:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166764


Attachments
stacktrace (5.59 KB, text/plain)
2010-03-22 09:12 UTC, Alexander Simon
Details
other exceptions (15.78 KB, text/plain)
2010-03-22 09:15 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-03-22 09:12:09 UTC
Build: NetBeans IDE Dev (Build 100322-6ec4d19da288)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: SunOS

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelProjectLocationVisual.valid(PanelProjectLocationVisual.java:499)
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProjectVisual.valid(PanelConfigureProjectVisual.java:73)
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProject.isValid(PanelConfigureProject.java:110)
   at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:907)
   at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:851)
   at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:731)
Comment 1 Alexander Simon 2010-03-22 09:12:13 UTC
Created attachment 95510 [details]
stacktrace
Comment 2 Alexander Simon 2010-03-22 09:15:04 UTC
Created attachment 95512 [details]
other exceptions
Comment 3 Alexander Simon 2010-03-22 09:16:15 UTC
P2+regression because cannot create project from fresh user dir
Comment 4 Vladimir Voskresensky 2010-03-22 10:16:01 UTC
will add Loading... functionality
Comment 5 Alexander Pepin 2010-03-22 10:37:15 UTC
This is P1 as it breaks almost all CND tests. Please fix it ASAP.
NPE occurs on the first step of Sample project creation or on the last step of makefile based project creation.
Comment 6 Alexander Pepin 2010-03-22 10:53:40 UTC
after that Tools->Options->C/C++ is not populated with tool collections
Comment 7 Vladimir Voskresensky 2010-03-22 10:58:18 UTC
during initialization of toolchains use "Initializing..." message and "is valid" returns false
http://hg.netbeans.org/cnd-main?cmd=changeset;node=d3ed592eebd0
Comment 8 Quality Engineering 2010-03-23 05:12:29 UTC
Integrated into 'main-golden', will be available in build *201003230200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d3ed592eebd0
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #182462 -  NullPointerException at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelProjectLocationVisual.valid
and #182467 -  java.lang.Exception on IDE start up: Should not be called from UI thread
-- disable dev host/toolchain and load them in background
-- panel is not valid until information is loaded (Finish button is disabled)