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 Dev (Build 201203280401) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows Vista User Comments: MackSix: 1. Close all Windows. 2. Windows>>Configure Window>>Dock Throws this exception. Stacktrace: java.lang.NullPointerException at org.netbeans.core.windows.model.DefaultModel.getModeTopComponentPreviousIndex(DefaultModel.java:1018) at org.netbeans.core.windows.Central.userDockedTopComponent(Central.java:2517) at org.netbeans.core.windows.WindowManagerImpl.userDockedTopComponent(WindowManagerImpl.java:1046) at org.netbeans.core.windows.actions.DockWindowAction.actionPerformed(DockWindowAction.java:101) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
Created attachment 117620 [details] stacktrace
Please reopen if this problem is reproducible. I don't how an NPE could be thrown from that line since there already is a null check...
(In reply to comment #2) > Please reopen if this problem is reproducible. I don't how an NPE could be > thrown from that line since there already is a null check... I don't know how it happened because the Dock option is not available in that situation. For some reason I had done just the right steps to close everything and that option was still available. I can't seem to find the same steps to reproduce now.