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 238410 - Eclipse formater module: NullPointerException at org.netbeans.core.startup.preferences.NbPreferences.put
Summary: Eclipse formater module: NullPointerException at org.netbeans.core.startup.pr...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: markiewb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 08:36 UTC by aannoaanno
Modified: 2013-11-20 15:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205288


Attachments
stacktrace (1.25 KB, text/plain)
2013-11-15 08:36 UTC, aannoaanno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aannoaanno 2013-11-15 08:36:51 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
aannoaanno: No idea what is going on...

aannoaanno: I have no idea what happened. It just was there after installing some more plugins...




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 de.markiewb.netbeans.plugins.eclipse.formatter.options.EclipseFormatterPanel.store(EclipseFormatterPanel.java:381)
   at de.markiewb.netbeans.plugins.eclipse.formatter.options.EclipseFormatterOptionsPanelController.applyChanges(EclipseFormatterOptionsPanelController.java:45)
   at org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:130)
   at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:401)
Comment 1 aannoaanno 2013-11-15 08:36:52 UTC
Created attachment 142216 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-11-19 12:43:27 UTC
Possibly bug in NbPreferences, but more likely in the Eclipse formater module.
Comment 3 markiewb 2013-11-19 12:56:47 UTC
I will take of this issue in my plugin.
Comment 4 markiewb 2013-11-20 15:53:47 UTC
(In reply to markiewb from comment #3)
> I will take of this issue in my plugin.

Fixed in 1.6.1 of the plugin. I uploaded the new version to the PPUC and requested a verification for 7.3/7.4

https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues/34