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.
This bug was originally marked as duplicate of bug 171016, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201307032300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16 OS: Windows 7 User Comments: MackSix: 1. Tools>>Options>>Editor>>Formatting Tab. 2. Language Fortran 3. Uncheck Expand Tabs to Spaces 4. Click Appy Button This NPE happens. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.options.editor.completion.CodeCompletionOptionsPanelController.applyChanges(CodeCompletionOptionsPanelController.java:126) at org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:130) at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:397) at org.netbeans.modules.options.CategoryModel$Category.access$1000(CategoryModel.java:322) at org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:221) at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:315)
Created attachment 136757 [details] stacktrace
Created attachment 136758 [details] stacktrace 1. Tools>>Options>>Editor>>Formatting Tab. 2. Language HTML 3. Uncheck Use All Languages Settings 4. Click Appy Button This NPE happens.
I cannot reproduce this. It is necessary to use fortran plugin?
(In reply to comment #3) > I cannot reproduce this. It is necessary to use fortran plugin? Just the C/C++ plugin is sufficient. I can't get it to NPE now either. Why is there no RESOLVED: "Healed Itself" status? :) Product Version: NetBeans IDE Dev (Build 201307152300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
This happens if you click Apply more than once. 1. Goto Tools>>Options>>Editor>>Code Completion. 2. Uncheck Auto Poup Completion Window. 3. Click Appy Button a few times quickly. This NPE happens.
You may have to try the steps in Comment 5 a few times. If the NPE does not happen, check the Fonts & Colors panel and it may be blank. Go back and view the Code Completion panel and the Language drop down list may be empty. Product Version: NetBeans IDE Dev (Build 201307302300) Updates: Updates available Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Same issue as bug #232134
Created attachment 138137 [details] stacktrace Enabled "static imports" hint in Options/Editor/Hints/Java and the I applied my change.
The sync issues should be fixed by http://hg.netbeans.org/core-main/rev/850afc4ddc5f. Please try a latest build and reopen if this is not the case. Thank you