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.
tried to create a new java application and in when clicked next in the project creation wizard got this exception. note:their was a message in the wizard decscription area indicating this feature is not yet enabled press next to activate it. see the log file for more info. Product Version: NetBeans IDE Dev (Build 200904160201) Java: 1.6.0_14-ea; OpenJDK Client VM 14.0-b10 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Userdir: C:\Users\user\.netbeans\dev
Created attachment 80252 [details] ide log file
Thanks for the report. Nothing like this is happening on my Linux. Anyway thanks to the NPE I now see what can be wrong. I'll replace the NPE with huge warning printed to log file. Please get new build with this fix and try to simulate the problem. If you see warning like: "For cluster " + fi.clusterName + " there is prefCnb " + prefCnb + " but the module is not found " + preferred + "\nList of modules is: "); Please attach your log file to this issue. Thanks.
NPE will be gone after: ergonomics#a4cbafdb0fea I am still interested in the log file with the warning messages.
*** Issue 162831 has been marked as a duplicate of this issue. ***
*** Issue 162809 has been marked as a duplicate of this issue. ***
*** Issue 162827 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE Dev (Build 200904160201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Created attachment 80296 [details] stacktrace
Unfortunately this is still reproducible in today's build, though it should be already fixed. To reproduce you have to install the Java bundle - in the complete bundle I'm not able to reproduce. The exception is thrown after startup when the updater tries to automatically check for updates. Also when you invoke Plugins window. What makes IDE completely unusable is issue 162843 which is marked as duplicate of this issue - you can't even start a web project. See the attached logs... Product Version: NetBeans IDE Dev (Build 200904170201) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Linux version 2.6.27-7-generic running on i386; UTF-8; en_US (nb)
Created attachment 80340 [details] First exception - obviously concerning the updater
Created attachment 80341 [details] Second exception - when trying to start a new project from module which is not active
*** Issue 162925 has been marked as a duplicate of this issue. ***
this is reproducible on linux as well so changing OS to 'all'. see duplicate Issue 162925
Martin, fix hasn't been propagated into daily build yet ... wait for message from *qa* user
Ok I see - according to the time of the changeset I though it would be propagated in latest daily. Sorry for confusion...
Build: NetBeans IDE Dev (Build 200904161401) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.27-11-generic, amd64 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Created attachment 80349 [details] stacktrace
Fixing also the warning in ergonomics#583a2a670b6b
Build: NetBeans IDE Dev (Build 200904160201) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Created attachment 80363 [details] stacktrace
Integrated into 'main-golden', will be available in build *200904171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a4cbafdb0fea User: Jaroslav Tulach <jtulach@netbeans.org> Log: #162833: Preventing NPE, but printing huge warning into message.log file in case the problem appears
Integrated into 'main-golden', will be available in build *200904180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/583a2a670b6b User: Jaroslav Tulach <jtulach@netbeans.org> Log: #162833: I guess everyone who faced this issue was using Java All distribution. We need to skip not present features.
Integrated into 'main-golden', will be available in build *200904201507* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/583a2a670b6b User: Jaroslav Tulach <jtulach@netbeans.org> Log: #162833: I guess everyone who faced this issue was using Java All distribution. We need to skip not present features.