

16:49, EET

March 16, 2017

Hi,
I got a ConcurrentModificationException during following call:
—-
Caused by: java.util.ConcurrentModificationException
at java.util.Hashtable$Enumerator.next(Hashtable.java:1387) ~[?:1.8.0_181]
at com.prosysopc.ua.UaApplication.<clinit>(SourceFile:158) ~[prosys-opc-ua-sdk-client-4.6.2-1636.jar:?]
It happened for the first time, and I was not able to reproduce it. But maybe you can take a look at this what happend and which Hashtable was modified here during the enumeration.
Thanks!
17:28, EET

April 3, 2012

Hi,
Do you have DEBUG level logging on for com.prosysopc.ua.UaApplication (or the package etc.)? If on DEBUG it would output System.getProperties() in a for loop and if they would be modified at the same time from another thread this could have happened. The iterator for EntrySet of the Properties would be a HashTable based Set apparently, so I assume this is what happened. Though.. not a scenario I would expect to happen likely, but I’ll add a note in our issue tracker so this can maybe be addressed in the future.
1 Guest(s)
