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 184678 - [69cat] NullPointerException at org.netbeans.core.startup.preferences.NbPreferences.put
Summary: [69cat] NullPointerException at org.netbeans.core.startup.preferences.NbPrefe...
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 01:12 UTC by jstevison
Modified: 2010-04-22 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 168355


Attachments
stacktrace (2.98 KB, text/plain)
2010-04-22 01:13 UTC, jstevison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jstevison 2010-04-22 01:12:57 UTC
Build: NetBeans IDE Dev (Build 201004210200)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
jstevison: Saving Preferences




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.core.startup.preferences.NbPreferences.put(NbPreferences.java:155)
   at de.whitewashing.php.cs.ui.options.CodeSnifferOptions.setCodingStandard(CodeSnifferOptions.java:49)
   at de.whitewashing.php.cs.ui.options.CodeSnifferOptionsPanel.store(CodeSnifferOptionsPanel.java:137)
   at de.whitewashing.php.cs.ui.options.CodeSnifferOptionsPanelController.applyChanges(CodeSnifferOptionsPanelController.java:28)
   at org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:126)
   at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:387)
Comment 1 jstevison 2010-04-22 01:13:04 UTC
Created attachment 97828 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2010-04-22 08:29:10 UTC
not a netbeans bug, de.whitewashing.php.cs.ui.options.CodeSnifferOptions.setCodingStandard is passing null to preferences which isn't allowed