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 247388 - NullPointerException at org.netbeans.core.startup.preferences.NbPreferences.put
Summary: NullPointerException at org.netbeans.core.startup.preferences.NbPreferences.put
Status: VERIFIED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: addama
URL: http://plugins.netbeans.org/plugin/50390
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 07:05 UTC by qingyue
Modified: 2014-10-22 13:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205162


Attachments
stacktrace (1.51 KB, text/plain)
2014-09-23 07:05 UTC, qingyue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qingyue 2014-09-23 07:05:13 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
GUEST: installing path to android sdk  option > tools > Mobile > android

GUEST: Error

GUEST: Install Less preocessor and configure JSLint

qingyue: i dont known.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.core.startup.preferences.NbPreferences.put(NbPreferences.java:179)
   at org.netbeans.core.startup.preferences.NbPreferences.put(NbPreferences.java:174)
   at com.addicticks.netbeans.plugin.senchacmd.config.SenchaCmdOptionsPanel.store(SenchaCmdOptionsPanel.java:334)
   at com.addicticks.netbeans.plugin.senchacmd.config.SenchaCmdOptionsPanelController.applyChanges(SenchaCmdOptionsPanelController.java:46)
   at org.netbeans.modules.options.advanced.Model$DelegatingController.applyChanges(Model.java:320)
   at org.netbeans.modules.options.advanced.Model.applyChanges(Model.java:203)
Comment 1 qingyue 2014-09-23 07:05:15 UTC
Created attachment 149444 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-10-22 08:17:46 UTC
Moving to options, but possibly problem in 3rd party module.
Comment 3 Theofanis Oikonomou 2014-10-22 08:45:37 UTC
It seems that com.addicticks.netbeans.plugin.senchacmd.config.SenchaCmdOptionsPanel.store(SenchaCmdOptionsPanel.java:334) method tries to put a null value which leads to the NPE as expected. Closing this one. Thank you
Comment 4 Jiri Kovalsky 2014-10-22 09:30:18 UTC
Addama, if you still maintain your Sencha Cmd plugin [1], do you wanna fix this problem?

[1] http://plugins.netbeans.org/plugin/50390
Comment 5 addama 2014-10-22 12:04:13 UTC
Yes, this is for sure a bug related to the plugin, not to NetBeans. It should have been reported to the plugin project's home. (https://bitbucket.org/addicticks/nbplugin-senchacmd/). I've created the issue there where it now exists as https://bitbucket.org/addicticks/nbplugin-senchacmd/issue/5/npe-when-storing-properties.
Comment 6 Jiri Kovalsky 2014-10-22 13:57:55 UTC
Great then. Thanks!