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.
Build: NetBeans IDE 6.9 Beta (Build 201004200117) VM: Java HotSpot(TM) Server VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04 OS: Linux User Comments: anba: Clicking Cancel Stacktrace: java.lang.NullPointerException at org.netbeans.lib.terminalemulator.support.TermOptions.makeCopy(TermOptions.java:111) at org.netbeans.modules.terminal.TermAdvancedOption$MyOptionsPanelController.reset(TermAdvancedOption.java:75) at org.netbeans.modules.terminal.TermAdvancedOption$MyOptionsPanelController.cancel(TermAdvancedOption.java:98) at org.netbeans.modules.options.advanced.Model$DelegatingController.cancel(Model.java:298) at org.netbeans.modules.options.advanced.Model.cancel(Model.java:184) at org.netbeans.modules.options.advanced.AdvancedPanel.cancel(AdvancedPanel.java:106)
Created attachment 98184 [details] stacktrace
The NPE must be happening because selectionBackground is null. It is, in turn, set by UIManager.getColor("TextArea.selectionBackground"). I guess it's possible that getColor() would return null.
*** Bug 185155 has been marked as a duplicate of this bug. ***
*** Bug 185157 has been marked as a duplicate of this bug. ***
I can reproduce this by running NB with "--laf Nimbus"
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log:
let's evaluate exceptions as P2 issues
(In reply to comment #7) > let's evaluate exceptions as P2 issues OK. It seems that the changeset in Comment #7 is related to some other fix by mistake.
Fixed a while ago. Changeset: http://hg.netbeans.org/main/rev/f56976dff623