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 98414 - NPE throws when click Page Navigation.
Summary: NPE throws when click Page Navigation.
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 01:02 UTC by _ hlu
Modified: 2007-03-29 18:18 UTC (History)
1 user (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 _ hlu 2007-03-21 01:02:45 UTC
This happened when click any visual web page in designer view and choose page
navigation in its context menu. 
Can not do page navigation.

java.lang.NullPointerException
	at
org.netbeans.modules.visualweb.dataconnectivity.datasource.CurrentProject.multiViewChange(CurrentProject.java:92)
	at
org.netbeans.modules.visualweb.dataconnectivity.datasource.CurrentProject.access$200(CurrentProject.java:44)
	at
org.netbeans.modules.visualweb.dataconnectivity.datasource.CurrentProject$TopComponentRegistryListener.propertyChange(CurrentProject.java:120)
	at
org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:161)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at
org.netbeans.core.windows.RegistryImpl.doFirePropertyChange(RegistryImpl.java:264)
	at org.netbeans.core.windows.RegistryImpl.access$100(RegistryImpl.java:40)
[catch] at org.netbeans.core.windows.RegistryImpl$1.run(RegistryImpl.java:138)
	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 _ potingwu 2007-03-21 01:23:19 UTC
Exception from org.netbeans.modules.visualweb.dataconnectivity.
Comment 2 _ jimdavidson 2007-03-21 17:50:35 UTC
Looks like it relates to some new functionality introduced by John B.
Comment 3 John Baker 2007-03-23 01:38:58 UTC
Need to check for null before determining the primary file
Comment 4 John Baker 2007-03-23 01:39:02 UTC
Need to check for null before determining the primary file
Comment 5 _ hlu 2007-03-29 18:18:37 UTC
verified in build200703280911.