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.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.16.53-0.16-smp, i386 User Comments: djvogt: In the Options window, with the "Fonts & Colors" category selected, the "Syntax" tab selected. Clicking the "Preview:" area causes the exception. Stacktrace: java.lang.NullPointerException at org.netbeans.editor.StatusBar.applyColoring(StatusBar.java:363) at org.netbeans.editor.StatusBar.refreshPanel(StatusBar.java:517) at org.netbeans.editor.StatusBar.access$000(StatusBar.java:97) at org.netbeans.editor.StatusBar$$.run(StatusBar.java:156) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Created attachment 73200 [details] stacktrace
I cannot reproduce it with current dev build. Which language was selected and what element did you clik on?
The Language was set to "XML". Clicking anywhere in the preview area, including empty space, causes the exception. This occurs in 6.5 RC2.
This issue has already 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=135939
local changeset: 7a35fc06b7bc
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7a35fc06b7bc User: Vita Stejskal <vstejskal@netbeans.org> Log: #152307: NPE
*** Issue 149752 has been marked as a duplicate of this issue. ***
219 duplicates ... probably issue for NB 6.5.1 ?
I cannot reproduce it in 6.5.1, Vito are there any specific steps I have to perform to get this exception. I've tried clicking in XML preview but w/o any success
Please fix this ASAP or find a workaround. I cannot open any files (and therefore cannot really use NetBeans) because of this problem (it says "Loading" forever).
I'm not sure if this is related, but I can no longer see the default Java platform (I try to add JDK 1.6.0_06, but it never shows up) and when I try to use "Help", the Contents are empty.
re-opening.
lordkelvan: can you describe more your problem? Steps to reproduce anr/or screen shot will be welcome. Attach also messages.log. Thanks
Created attachment 78280 [details] messages.log
Ok, I've attached my messages.log (I replaced my username with "MY_USER_NAME"). When I got the error and submitted the report (from within the editor), netbeans.org determined my problem to be a duplicate of this issue. However, even though the stacktrace seems similar, my situation is different than that of the original submitter. The sequence of events was: 1) Download and install the Subversion plugin 2) Restart NetBeans immediately after 3) The bug appeared after restarting - any file I tried to open would get stuck displaying "Loading" and the same Null-pointer Exception (NPE) would occur multiple times. I've since re-installed NetBeans and the bug hasn't shown itself, even though I downloaded the Subversion plugin and restarted NetBeans just like I had last time.
The original NPE was fixed by my http://hg.netbeans.org/main/rev/7a35fc06b7bc. From the log file it looks like the NPE may have been responsible for editor panes stuck in the 'Loading...' phase. Please try newer version, the problem has been resolved in 6.7 dev builds since build *200902180201* (http://bits.netbeans.org/dev/nightly/). Thanks
*** Issue 161431 has been marked as a duplicate of this issue. ***
*** Issue 162269 has been marked as a duplicate of this issue. ***