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 112408 - java.lang.NullPointerException
Summary: java.lang.NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 112872 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-09 10:35 UTC by pzajac
Modified: 2008-12-22 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 776


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2007-08-09 10:35:33 UTC
Build: NetBeans IDE Dev (Build 200708080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_02-b05
OS: Linux, 2.6.22.1-41.fc7, amd64
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.core.windows.view.ui.MainWindow.setDesktop(MainWindow.java:443)
        at org.netbeans.core.windows.view.ViewHierarchy.setDesktop(ViewHierarchy.java:762)
        at org.netbeans.core.windows.view.ViewHierarchy.setMainWindowDesktop(ViewHierarchy.java:752)
        at org.netbeans.core.windows.view.ViewHierarchy.updateDesktop(ViewHierarchy.java:645)
        at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:391)
        at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:247)
        at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:223)
        at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:161)
        at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:101)
        at org.netbeans.core.windows.Central.activateModeTopComponent(Central.java:1665)
Comment 1 David Simonek 2007-08-14 12:12:01 UTC
I guess this is random, so i don't have a chance to verify, but there is probable fix:

Checking in MainWindow.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/MainWindow.java,v  <--  MainWindow.java
new revision: 1.73; previous revision: 1.72
Comment 2 David Simonek 2007-08-16 21:23:12 UTC
*** Issue 112872 has been marked as a duplicate of this issue. ***