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 208201

Summary: NullPointerException on start of application based on RCP
Product: platform Reporter: Vladimir Voskresensky <vv159170>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2012-02-09 15:04:44 UTC
[exec] WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set!
     [exec] SEVERE [org.netbeans.core.modules]
     [exec] java.lang.NullPointerException
     [exec]     at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
     [exec]     at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
     [exec]     at java.io.FileWriter.<init>(FileWriter.java:73)
     [exec]     at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.writeSuperFile(AutoupdateSettings.java:380)
     [exec]     at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.getSuperFile(AutoupdateSettings.java:357)
     [exec]     at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.getSuperIdentity(AutoupdateSettings.java:429)
     [exec]     at org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings.generateIdentity(AutoupdateSettings.java:136)
     [exec]     at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.signOn(AutoupdateCheckScheduler.java:111)
     [exec]     at org.netbeans.modules.autoupdate.ui.actions.Installer.restored(Installer.java:63)
     [exec]     at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:422)
     [exec] [catch] at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:362)
     [exec]     at org.netbeans.ModuleManager.enable(ModuleManager.java:1096)
     [exec]     at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
     [exec]     at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
     [exec]     at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
     [exec]     at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
     [exec]     at org.netbeans.core.startup.Main.getModuleSystem(Main.java:167)
     [exec]     at org.netbeans.core.startup.Main.start(Main.java:303)
     [exec]     at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
     [exec]     at java.lang.Thread.run(Thread.java:662)
Comment 1 Vladimir Voskresensky 2012-02-09 15:21:41 UTC
looks like it is related to issue #207502
Comment 2 Jiri Rechtacek 2012-02-09 15:31:26 UTC
Vladimir, could you send me build number? Is it a build from deadlock or custom build? I've fixed it and it's looks as a regression. Thanks
Comment 3 Vladimir Voskresensky 2012-02-09 15:44:59 UTC
Jiri, I will send you private mail with link 
unpack studio-ide.tar.bz2 and run bin/solstudio => you will see exception
Comment 4 Jiri Rechtacek 2012-02-09 19:32:32 UTC
Thank you for catching this.

core-main/rev/581d23afe00f
Comment 5 Quality Engineering 2012-10-18 02:05:33 UTC
Integrated into 'main-golden', will be available in build *201210180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e2ae199b42a9
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #208201 - NPE on start of application based on RCP