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 254628

Summary: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode
Product: javaee Reporter: everflux <everflux>
Component: HTTP MonitorAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal CC: atlioddsson, gilbertoca
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219192
Attachments: stacktrace
stacktrace
stacktrace

Description everflux 2015-08-23 18:17:46 UTC
Build: NetBeans IDE Dev (Build 201508200002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
everflux: Code Completion

atlioddsson: .

atlioddsson: Typing in some html within a <a>

atlioddsson: Typing in the middle of this html fragment:

<li role="presentation"><a th:href="@{/index.htm(isIgnored=false&sor)}" href="index.html">Latest</a></li>

atlioddsson: .




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
   at java.util.HashMap$EntryIterator.next(HashMap.java:1463)
   at java.util.HashMap$EntryIterator.next(HashMap.java:1461)
   at java.util.HashMap.putMapEntries(HashMap.java:511)
   at java.util.HashMap.<init>(HashMap.java:489)
   at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.getDeclaredNamespaces(SyntaxAnalyzerResult.java:587)
Comment 1 everflux 2015-08-23 18:17:48 UTC
Created attachment 155560 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-08-24 10:38:14 UTC
In latest report 789691 from everflux, there are lot of IOE from web.monitor. I don't know if this is related, but sending to javaee for evaluation, since it is before CME. 

[Fatal Error] :83:77: The character reference must end with the ';' delimiter.
INFO [global]
java.io.IOException
	at org.netbeans.modules.web.monitor.data.MonitorData.createGraph(MonitorData.java:553)
	at org.netbeans.modules.web.monitor.data.MonitorData.createGraph(MonitorData.java:536)
[catch] at org.netbeans.modules.web.monitor.client.Controller.retrieveMonitorData(Controller.java:1381)
	at org.netbeans.modules.web.monitor.client.Controller.retrieveMonitorData(Controller.java:1346)
	at org.netbeans.modules.web.monitor.client.Controller.addTransaction(Controller.java:184)
	at org.netbeans.modules.web.monitor.client.MonitorAction.addTransaction(MonitorAction.java:116)
	at org.netbeans.modules.web.monitor.client.PutTransaction$1.run(PutTransaction.java:175)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
[Fatal Error] :83:77: The character reference must end with the ';' delimiter.
INFO [global]
Comment 3 gilbertoca 2015-12-15 20:53:00 UTC
Created attachment 157803 [details]
stacktrace

renamed an opened xhtml file and after that tryied to change the content of other one
Comment 4 Exceptions Reporter 2017-06-27 20:10:32 UTC
Created attachment 164643 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>