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 68354 - NPE when open server specific DD and click to bean
Summary: NPE when open server specific DD and click to bean
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 69155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-09 10:53 UTC by Petr Blaha
Modified: 2005-11-25 10:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (1.13 KB, text/plain)
2005-11-09 10:54 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-11-09 10:53:30 UTC
[build 20051108]
Steps:
1) create new EJB module
2) add session bean
3) open visual editor of sun-ejb-jar.xml
4) expand Sun Configuration node
ERROR: get java.lang.NullPointerException
	at
org.netbeans.modules.xml.text.navigator.XMLNavigatorPanel.navigate(XMLNavigatorPanel.java:93)
Comment 1 Petr Blaha 2005-11-09 10:54:30 UTC
Created attachment 26743 [details]
stack trace
Comment 2 Petr Blaha 2005-11-09 12:16:49 UTC
I can't reproduce the issue with new userdir. It seems as random, downgrading to P3.
Comment 3 Petr Blaha 2005-11-09 13:35:40 UTC
According to above comment the issue isn't Q-build stopper.
Comment 4 Marek Fukala 2005-11-09 13:36:32 UTC
fixed the NPE + added a debug message with some information when it happens to
help to find out the source.

Checking in XMLNavigatorPanel.java;
/cvs/xml/text-edit/src/org/netbeans/modules/xml/text/navigator/XMLNavigatorPanel.java,v
 <--  XMLNavigatorPanel.java
new revision: 1.6; previous revision: 1.5
done
Comment 5 Petr Blaha 2005-11-21 13:18:28 UTC
Can't reproduce the issue in build 20051120
Comment 6 Marek Fukala 2005-11-25 10:53:39 UTC
*** Issue 69155 has been marked as a duplicate of this issue. ***