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 105325 - NPE on project creation after Reset Windows
Summary: NPE on project creation after Reset Windows
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ alexpetrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 21:53 UTC by _ krystyna
Modified: 2009-11-09 03:01 UTC (History)
2 users (show)

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 _ krystyna 2007-05-31 21:53:30 UTC
NB trunk build 05310000
XP
JDK1.6.0_01

1. with VisualWeb projects open in multi-view, do from the main 
   toolbar Windows -> Reset Windows

2. Next, create a new VW project via toolbar File-New Project and get Null 
Pointer exception:



java.lang.NullPointerException
	at 
org.netbeans.modules.xml.text.navigator.base.AbstractXMLNavigatorPanel$1.resultC
hanged(AbstractXMLNavigatorPanel.java:46)
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup
(SimpleProxyLookup.java:89)
	at org.openide.util.lookup.SimpleProxyLookup.lookup
(SimpleProxyLookup.java:130)
	at org.netbeans.modules.navigator.NavigatorController.updateContext
(NavigatorController.java:246)
	at org.netbeans.modules.navigator.NavigatorController.access$800
(NavigatorController.java:65)
[catch] at org.netbeans.modules.navigator.NavigatorController$ActNodeSetter.run
(NavigatorController.java:480)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Sergey Lunegov 2009-10-26 10:18:07 UTC
Alex, please take a look.
Comment 2 Sergey Lunegov 2009-11-09 03:01:15 UTC
Product Version: NetBeans IDE Dev (Build 200911030222)
Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16
System: Linux version 2.6.31-14-generic running on i386; UTF-8; en_US (nb)

Is not reproducible on the recent NB builds for VisualWeb sample project "JsfJpaCrud" and new empty VisualWeb project.