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.
Exception almost thrown in method XMLMapAttr.write.
Fixed in main trunk and release31. All calls are delegated to map = Collections.synchronizedMap(..
I got this exception in Pilsen build 001213_1 when I added breakpoint to JSP and compiled it. jsp1.jsp [-1:-1] java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(HashMap.java:736) at org.openide.filesystems.XMLMapAttr.write(XMLMapAttr.java:168) at org.openide.filesystems.DefaultAttributes$Table.writeToXML (DefaultAttributes.java:719) at org.openide.filesystems.DefaultAttributes.saveTable (DefaultAttributes.java:387) at org.openide.filesystems.DefaultAttributes.writeAttribute (DefaultAttributes.java:251) at org.openide.filesystems.AbstractFileObject.setAttribute (AbstractFileObject.java:251) at org.netbeans.modules.web.debug.LineMangler.removeFrom (LineMangler.java:643) at org.netbeans.modules.web.debug.LineMangler.toggleAsAttribute (LineMangler.java:830) at org.netbeans.modules.web.debug.LineMangler.removeAsAttribute (LineMangler.java:666) at org.netbeans.modules.web.debug.PreTranslationCompiler$Group.start (PreTranslationCompiler.java:208) at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread$GroupCompiler.ru n(CompilationEngineImpl.java:255)
Fixed in main trunk and release31. In XMLMapAttr in method write: entryIter.remove() is called instead of this.remove(attrName). This should ensure consistency of iterator.
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.