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 257212

Summary: NullPointerException at org.netbeans.core.startup.preferences.NbPreferences.put
Product: updatecenters Reporter: c_mercado
Component: PluginportalAssignee: gaurav_gupta
Status: STARTED ---    
Severity: normal CC: ivanwarlock, kirillyalta
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
URL: http://plugins.netbeans.org/plugin/49666
Issue Type: DEFECT Exception Reporter: 218062
Attachments: stacktrace

Description c_mercado 2015-12-18 15:11:19 UTC
Build: NetBeans IDE 8.1 (Build 201511021428)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 10

User Comments:
GUEST: Editing options

GUEST: Netbeans closed

GUEST: minifying css file

GUEST: error

GUEST: Just Reporting - No Idea

GUEST: <Please provide a description of the problem or the steps to reproduc>

c_mercado: I was saving configuration from CSS JS Minify plugin when it happened.

GUEST: Editing SASS options




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 org.netbeans.minify.ui.MinifyProperty.store(MinifyProperty.java:112)
   at org.netbeans.minify.ui.JSCSSMinifyCompressCustomPanel.store(JSCSSMinifyCompressCustomPanel.java:991)
   at org.netbeans.minify.ui.JSCSSMinifyCompressOptionsPanelController.applyChanges(JSCSSMinifyCompressOptionsPanelController.java:45)
   at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:401)
Comment 1 c_mercado 2015-12-18 15:11:21 UTC
Created attachment 157846 [details]
stacktrace
Comment 2 Tomas Hurka 2015-12-18 16:55:08 UTC
NPE is caused by JS Minify plugin
Comment 3 Jiri Kovalsky 2015-12-18 17:22:57 UTC
Gaurav, can you please take a look at this bug?