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 63740 - IllegalStateException while creating simple web.xml
Summary: IllegalStateException while creating simple web.xml
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 20:59 UTC by ametzger
Modified: 2005-11-10 21:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
web.xml (715 bytes, text/plain)
2005-09-06 20:59 UTC, ametzger
Details
messages.log (29.19 KB, text/plain)
2005-09-06 21:00 UTC, ametzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ametzger 2005-09-06 20:59:16 UTC
I was creating a very simple web.xml to define one servlet and received an
Illegal StateException which prevented me from completing the task.

Approximate steps were to create a new Web application project.
I added the Spring Framework jar files as a library with src and JavaDocs.
Then I selected the web.xml from the tree navigation.
I used the "General" tab to set the display name and a session timeout of "-1".
Then I used the servlet tab to add one servlet name and class.
I then set the start up priority for that servlet to 1.
At this point, I wanted to see the generated xml so I clicked on the XML tab and
received the IllegalStateException.  Some XML was display which is attached to
this report.  Note that the XML does not have the expected load-on-startup tag.
The messages.log is also attached.
Comment 1 ametzger 2005-09-06 20:59:53 UTC
Created attachment 24553 [details]
web.xml
Comment 2 ametzger 2005-09-06 21:00:19 UTC
Created attachment 24554 [details]
messages.log
Comment 3 Milan Kuchtiak 2005-09-07 08:57:48 UTC
Pavle, this is related to the new synchronization mechanism.
Comment 4 zikmund 2005-09-07 12:02:05 UTC
I'm not able to reproduce this issue in 20050905-2357 build. Is it Random or do
you have reproducible steps?
Comment 5 ametzger 2005-09-07 14:31:46 UTC
No, I can not reproduce the IllegalStateException.
I've tried wiping my entire installation and repeating my steps (and mis-steps)
but can't produce the IllegalStateException.  I guess you can close this report
if the log wasn't sufficient.

I will open new issues for the NPEs which I can easily reproduce though.
Comment 6 Pavel Buzek 2005-11-10 21:10:13 UTC
ok, closing as suggested (works for me, probably already fixed)