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.
NB 5.0 200511091047 JDK 1.5.0_05 Sometimes the lock for web.xml is not released. Any further changes cannot be done. Steps to reproduce: 1) create new webapp 2) create new servlet, filter or listener -> it is added to web.xml but in the console there is: java.lang.Exception: Not released lock for file: C:\Documents and Settings\jp159440\WebApplication11\web\WEB-INF\web.xml (traped in finalizer) -> from this moment any changes can not be done (manual or in the editor), creating new servlet/listener/filter causes poping up of the warning message. java.lang.Exception: Not released lock for file: C:\Documents and Settings\jp159440\WebApplication11\web\WEB-INF\web.xml (traped in finalizer) at org.openide.filesystems.FileLock.assertMessageForInvalidLocks(FileLock.java:103) at org.openide.filesystems.FileLock.finalize(FileLock.java:95) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83) at java.lang.ref.Finalizer.access$100(Finalizer.java:14) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160) Caused by: java.lang.Throwable at org.openide.filesystems.FileLock.<init>(FileLock.java:54) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.WriteLock.<init>(WriteLock.java:138) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.WriteLock.getInstance(WriteLock.java:108)
Created attachment 26765 [details] messages.log
*** This issue has been marked as a duplicate of 68370 ***
verified duplicate