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 94034 - Not able to open the XML file with netbeans editor
Summary: Not able to open the XML file with netbeans editor
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 19:34 UTC by ravitandur
Modified: 2007-02-20 23:20 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 ravitandur 2007-02-02 19:34:39 UTC
I just downloaded the NB5.5. and installed the same. I created one web 
application project and tried to open the web.xml file in NetBeans editor, bot 
I am getting the following Error and not able to opne the XML file.

java.lang.NullPointerException
	at 
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getStorage
(ConfigDataObject.java:347)
	at 
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.findOpenedConfigEdi
tor(ConfigDataObject.java:648)
	at org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject$2.run
(ConfigDataObject.java:221)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1178)
	at org.openide.util.Mutex.readAccess(Mutex.java:215)
	at 
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.isConfigEditorOpene
d(ConfigDataObject.java:219)
	at 
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getEditCookie
(ConfigDataObject.java:271)
	at 
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject._getEditCookie
(ConfigDataObject.java:260)
	at 
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getCookie
(ConfigDataObject.java:289)
	at org.netbeans.modules.xml.text.navigator.NavigatorContent.navigate
(NavigatorContent.java:138)
	at org.netbeans.modules.xml.text.navigator.XMLNavigatorPanel.navigate
(XMLNavigatorPanel.java:82)
	at 
org.netbeans.modules.xml.text.navigator.XMLNavigatorPanel$1.resultChanged
(XMLNavigatorPanel.java:43)
	at 
org.netbeans.modules.xml.text.navigator.XMLNavigatorPanel.panelActivated
(XMLNavigatorPanel.java:70)
	at org.netbeans.modules.navigator.NavigatorController.updateContext
(NavigatorController.java:229)
	at org.netbeans.modules.navigator.NavigatorController.access$600
(NavigatorController.java:62)
[catch] at org.netbeans.modules.navigator.NavigatorController$ActNodeSetter.run
(NavigatorController.java:388)
	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 Marek Fukala 2007-02-05 10:30:58 UTC
Looks like server plugin issue... please evaluate.
Comment 2 Vince Kraemer 2007-02-05 19:59:10 UTC
I have attempted to replicate your result, but haven't been successful.

Which installer did you use for 5.5?

Did you register an instance of the Sun Java System Application Server?

Which server was the web app "targeted" for?

Was the web app for J2EE 1.4 or Java EE 5?

Without more details, I doubt that I will be able to make much progress on this.
Comment 3 _ pcw 2007-02-05 21:20:29 UTC
Could you please attach a copy of the ide's log file (var/log/messages.log in
the netbeans userdirectory).
Comment 4 Vince Kraemer 2007-02-20 23:20:03 UTC
unable to duplicate with available information.

reopen with more info if this is still a probalem