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.
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.
Created attachment 24553 [details] web.xml
Created attachment 24554 [details] messages.log
Pavle, this is related to the new synchronization mechanism.
I'm not able to reproduce this issue in 20050905-2357 build. Is it Random or do you have reproducible steps?
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.
ok, closing as suggested (works for me, probably already fixed)