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 76779 - Lock-up when attempting to open web.xml
Summary: Lock-up when attempting to open web.xml
Status: VERIFIED DUPLICATE of bug 74362
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-24 07:40 UTC by stvconsultants
Modified: 2007-09-20 12:51 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 stvconsultants 2006-05-24 07:40:47 UTC
Using netbeans 5.5 beta, with or without the enterprise pack, from clean install.

Any attempt to open web.xml locks up the PC.
Comment 1 stvconsultants 2006-05-24 08:11:31 UTC
Lock-up occurs when selecting web.xml from the project browser.

I think this is related to the web.xml specific editor or it may be a problem
with the 
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> 
as commenting out the attributes allows opening of the web.xml file, e.g.
<web-app ><!--version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"-->

Comment 2 Lukas Jungmann 2006-05-24 10:39:48 UTC
And JDK you are running NetBeans on? Might be a dup of issue 74362...
Comment 3 stvconsultants 2006-05-24 12:08:18 UTC
JDK-6-beta2-bin-b84-windows-i586-11_may_2006

With JDK5 I get a never ending loop of NullPointerExceptions when trying to 
open even empty newly created projects

Did a complete strip of all versions of Java and NetBeans and preferences and 
profiles from my system and completely.

On doing about 30 reinstalls from various stages of complete uninstallation of 
java, jdk and netbeans, I have stumbled on an install that is working again for 
me.

I'm not going to go probing what exactly was going wrong, as I need a working 
environment to finish a project for a client.

I would say that it's a dup, except the issue only affects web.xml and not 
faces-config.xml as stated in issue 74362
Comment 4 Erno Mononen 2006-06-01 15:25:29 UTC
Did you have some older version of JDK 6 (i.e. older than b83) installed at some 
point? Issue 74362 actually affects also web.xml, ejb-jar.xml and persistence.
xml so this could indeed be a duplicate of it.
Comment 5 stvconsultants 2006-06-02 08:57:43 UTC
I think the only builds of JDK6 that I have had installed were b83 and b84.

There was also the never ending NPE loop with one thrown every 1/10s under JDK5

However I agree that this could be a dup of Issue 74362, if the JDK5 behaviour
was also related.

As I said before, I have not got everything working again _for me_ and I am not
about to go poking around to see what needs to be done to break things again ;-)
Comment 6 Erno Mononen 2006-06-02 12:10:59 UTC
OK, so I'll close this as a dup, although issue 74362 should not exist in b83 or 
b84 - so please do reopen if you run into this problem still. Thanks for the 
report.

*** This issue has been marked as a duplicate of 74362 ***
Comment 7 Mikhail Matveev 2007-09-20 12:51:29 UTC
Verified duplicate