Hello, Encountered this bug on our server and after some investigations I was able to find the bug reported here https://bugs.openjdk.java.net/browse/JDK-8140747. It seems that you were not able to reproduce on the Java versions mentioned in the bug's description. I am able to reproduce it on JDK 7u75 constantly. Installed this Java version on several linux machines and I am able to reproduce it on every one of them using the code provided in bug's description.I hope this info can help you find the problem mentioned in the bug's description.
[vlg@sec vladtmp]$ for i in $(seq 1 10); do java TestXmlReader; done; bugs bugs bugs bugs bugs bugs bugs bugs bugs bugs [vlg@sec vladtmp]$ java -version java version "1.7.0_75" Java(TM) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode) Regards,Vlad-Lucian Gînju