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 14734 - NullPointerException in WorkspaceImpl.findMode
Summary: NullPointerException in WorkspaceImpl.findMode
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All Windows 3.1/NT
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-23 14:15 UTC by _ gtzabari
Modified: 2008-12-23 09:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2001-08-23 14:15:31 UTC
dev build 200108220100
Sun JDK 1.3.1

After erasing my userDir and restarting Netbeans 
                I changed the default colors, exited and restarted Netbeans. I 
                get "cannot open windows due to deserialization" and the following exception. Setting to P2 because editor cannot be opened:

                Wed Aug 22 14:50:35 EDT 2001: java.lang.NullPointerException: null
                java.lang.NullPointerException
                        at org.netbeans.core.windows.WorkspaceImpl.findMode
                (WorkspaceImpl.java:401)
                        at 
                org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doOpen
                (WindowManagerImpl.java:1413)
                        at 
                org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.open
                (WindowManagerImpl.java:1384)
                        at org.openide.windows.TopComponent.open
                (TopComponent.java:195)
                        at org.openide.text.CloneableEditor.open
                (CloneableEditor.java:263)
                        at org.openide.windows.TopComponent.open
                (TopComponent.java:182)
                        at 
                org.openide.windows.CloneableOpenSupport.openCloneableTopComponent
                (CloneableOpenSupport.java:147)
                        at org.openide.windows.CloneableOpenSupport$1.run
                (CloneableOpenSupport.java:67)
                        at java.awt.event.InvocationEvent.dispatch
                (InvocationEvent.java:154)
                [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
                        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
                (EventDispatchThread.java:131)
                        at java.awt.EventDispatchThread.pumpEventsForHierarchy
                (EventDispatchThread.java:98)
                        at java.awt.EventDispatchThread.pumpEvents
                (EventDispatchThread.java:93)
                        at java.awt.EventDispatchThread.run
                (EventDispatchThread.java:85)
Comment 1 David Simonek 2001-08-23 15:14:52 UTC
Sorry, all works for me, I cannot reproduce the error. Try to specify
exact steps what you did, details are very important.
I also tried to change color, got an exception (this one in your other
bug report), recovered from exc, exited, restarted, and all worked well.
Your reproduction steps, please? Thanks.
Comment 2 _ gtzabari 2001-08-23 16:07:45 UTC
Leaving this as WORKSFORME until I can get more concrete repro steps. 
You might want to try following the steps in issue #14695, which 
always seemed to work for me.
Comment 3 Quality Engineering 2003-07-01 16:04:42 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 4 Quality Engineering 2003-07-01 16:30:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.