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.
Got an illegal state error, which asked me to report here.
Created attachment 11316 [details] ide log
Seems like problem somehere in web module.
Please can you run the IDE with -J-Dorg.netbeans.modules.web.context.WebContextObject=-1 switch (either add it to ide.cfg or to command that starts the IDE and send us the output?
Adding an attachment containing the flag J-Dorg.netbeans.modules.web.context.WebContextObject=-1 as requested. Thanks for the attention. I appreciate it.
Created attachment 11325 [details] ide.log with J-Dorg.netbeans.modules.web.context.WebContextObject=-1 flag
Is there any reason why to have all this stuff in WEB-INF/lib. For example jdbc2_0-stdext.jar, xml-apis.jar (likely the same as jaxp-api.jar) are part of JDK 1.4 so you don't need them. Others like some of commons-*.jar, jndi, jmx are already on Tomcat's classpath though sometimes with different name. Some other are on Tomcat's classpath used by server internals but can be moved to that your application can share them. I don't understand why you need jboss-system. I suggest you to analyze what is really needed (as a side effect you can get better performance of claas loading and avoid colisions between more version of the same library, jndi within your weba application will probably not give you expected results and so on). Anyway it seems that so many jars here can cause improper behaviour and we have to analyze it.
Likely explanation: if the first attempt to associate classesFS in getClassesBase fails (it is ok that it might not be restored/created yet) there is a timeout 10s to wait until ProjectViewManager will set the association. Unfortunately if the project is not restored in this time the IllegalStateException is thrown. I will try to fix it by adding explicit attempt to find & associate classes fs again into subsequent tries.
Commited to trunk http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/context/WebContextObject.java.diff?r1=1.37&r2=1.38 If you want to test it you can try next dev build. If it helps we can think about releasing some patch for NB3.5.
*** Issue 32461 has been marked as a duplicate of this issue. ***
v.