Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8140477

Deadlock when running Junit tests from Ant & Jacoco with Jigsaw EA b83

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.9.0-ea"
      Java(TM) SE Runtime Environment (build 1.9.0-ea-jigsaw-nightly-h3477-20150929-b83)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-jigsaw-nightly-h3477-20150929-b83, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux josm.openstreetmap.de 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      This is a bug report from JOSM for the tests we make with Jigsaw EA.
      We encounter a regular problem when running unit tests (that do work fine with JDK7, JDK8 and JDK9 EA): the thread hangs, and the thread dump show a deadlock.

      The tests are based on Junit, and launched from an Ant build.xml file through a Jacoco target. We use the latest version of Ant (1.9.6 at this time) and Jacoco 0.7.4, as follows:

                  <jacoco:coverage destfile="${test.dir}/jacoco.exec">
                      <junit printsummary="yes" fork="true" forkmode="once">
                          <jvmarg value="-Dfile.encoding=UTF-8"/>
                          <sysproperty key="josm.home" value="${test.dir}/config/@{testfamily}-josm.home"/>
                          <sysproperty key="josm.test.data" value="${test.dir}/data"/>
                          <sysproperty key="java.awt.headless" value="true"/>
                          <sysproperty key="suppressPermanentFailure" value="${suppressPermanentFailure}"/>
                          <classpath>
                              <path refid="test.classpath"/>
                              <pathelement path="${test.dir}/build/unit"/>
                              <pathelement path="${test.dir}/build/@{testfamily}"/>
                              <pathelement path="${test.dir}/config"/>
                          </classpath>
                          <formatter type="plain"/>
                          <formatter type="xml"/>
                          <batchtest fork="yes" todir="${test.dir}/report">
                              <fileset dir="${test.dir}/build/@{testfamily}" includes="**/*Test.class"/>
                          </batchtest>
                      </junit>
                  </jacoco:coverage>

      The Java process corresponding is:

      jenkins 16886 16500 1 23:46 ? 00:00:07 /opt/jdk1.9.0/bin/java -Dfile.encoding=UTF-8 -javaagent:/tmp/jacocoagent8973144154319375612.jar=destfile=/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/jacoco.exec -Djosm.home=/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/config/unit-josm.home -Djosm.test.data=/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/data -Djava.awt.headless=true -DsuppressPermanentFailure=${suppressPermanentFailure} -classpath /var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/MRJToolkitStubs-1.0.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/debug-1.0.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/fest-assert-1.0.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/fest-reflect-1.1.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/fest-swing-1.1.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/fest-util-1.0.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/fest/jcip-annotations-1.0.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/jfcunit.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/junit/hamcrest-core-1.3.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/junit/junit-4.12.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/unitils-core/commons-collections-3.2.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/unitils-core/commons-lang-2.3.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/unitils-core/commons-logging-1.1.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/unitils-core/ognl-2.6.9.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/lib/unitils-core/unitils-core-3.3.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/dist/josm-custom.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/tools/groovy-all-2.4.5.jar:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/build/unit:/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/config:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/Ant_Latest/lib/ant-launcher.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/Ant_Latest/lib/ant.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/Ant_Latest/lib/ant-junit.jar:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/Ant_Latest/lib/ant-junit4.jar org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner testsfile=/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/junittestcases28367609811960315.properties skipNonTests=false filtertrace=true haltOnError=false haltOnFailure=false formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter showoutput=false outputtoformatters=true logfailedtests=true threadid=0 logtestlistenerevents=false formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter,/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/report/IGNORETHIS.txt formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/test/report/IGNORETHIS.xml crashfile=/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/junitvmwatcher3050173844592593620.properties propsfile=/var/lib/jenkins/jobs/JOSM-Jigsaw/workspace/jdk/Jigsaw/junit3248551264152305576.properties

      When we run a kill -3 on the process we get in the thread dump the following information:

       [junit] Found one Java-level deadlock:
          [junit] =============================
          [junit] "main-init-1":
          [junit] waiting to lock monitor 0x00007faa74008480 (object 0x00000000c22228c8, a jdk.internal.misc.ClassLoaders$AppClassLoader),
          [junit] which is held by "main-init-0"
          [junit] "main-init-0":
          [junit] waiting to lock monitor 0x00007faa7c02e800 (object 0x00000000c22246e0, a jdk.internal.misc.ClassLoaders$ExtClassLoader),
          [junit] which is held by "main-init-1"
          [junit]
          [junit] Java stack information for the threads listed above:
          [junit] ===================================================
          [junit] "main-init-1":
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readConst(ClassReader.java:2493)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readCode(ClassReader.java:1402)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readMethod(ClassReader.java:1017)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.accept(ClassReader.java:693)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.accept(ClassReader.java:506)
          [junit] at org.jacoco.agent.rt.internal_773e439.core.instr.Instrumenter.instrument(Instrumenter.java:83)
          [junit] at org.jacoco.agent.rt.internal_773e439.core.instr.Instrumenter.instrument(Instrumenter.java:101)
          [junit] at org.jacoco.agent.rt.internal_773e439.CoverageTransformer.transform(CoverageTransformer.java:93)
          [junit] at sun.instrument.TransformerManager.transform(java.instrument@9.0/TransformerManager.java:188)
          [junit] at sun.instrument.InstrumentationImpl.transform(java.instrument@9.0/InstrumentationImpl.java:427)
          [junit] at java.lang.ClassLoader.defineClass2(java.base@9.0/Native Method)
          [junit] at java.lang.ClassLoader.defineClass(java.base@9.0/ClassLoader.java:937)
          [junit] at java.security.SecureClassLoader.defineClass(java.base@9.0/SecureClassLoader.java:184)
          [junit] at jdk.internal.misc.BuiltinClassLoader.defineClass(java.base@9.0/BuiltinClassLoader.java:488)
          [junit] at jdk.internal.misc.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9.0/BuiltinClassLoader.java:430)
          [junit] at jdk.internal.misc.BuiltinClassLoader$$Lambda$7/1240232440.run(java.base@9.0/Unknown Source)
          [junit] at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
          [junit] at jdk.internal.misc.BuiltinClassLoader.findClassInModuleOrNull(java.base@9.0/BuiltinClassLoader.java:431)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:371)
          [junit] - locked <0x00000000c22246e0> (a jdk.internal.misc.ClassLoaders$ExtClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:345)
          [junit] at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
          [junit] at jdk.nashorn.api.scripting.NashornScriptEngineFactory.getScriptEngine(jdk.scripting.nashorn@9.0/NashornScriptEngineFactory.java:148)
          [junit] at javax.script.ScriptEngineManager.getEngineByName(java.scripting@9.0/ScriptEngineManager.java:237)
          [junit] at org.openstreetmap.josm.data.validation.tests.OpeningHourTest.<clinit>(OpeningHourTest.java:41)
          [junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9.0/Native Method)
          [junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9.0/NativeConstructorAccessorImpl.java:62)
          [junit] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9.0/DelegatingConstructorAccessorImpl.java:45)
          [junit] at java.lang.reflect.Constructor.newInstance(java.base@9.0/Constructor.java:443)
          [junit] at java.lang.Class.newInstance(java.base@9.0/Class.java:524)
          [junit] at org.openstreetmap.josm.data.validation.OsmValidator.<clinit>(OsmValidator.java:136)
          [junit] at org.openstreetmap.josm.Main$4.initialize(Main.java:598)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:710)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:694)
          [junit] at java.util.concurrent.FutureTask.run(java.base@9.0/FutureTask.java:265)
          [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9.0/ThreadPoolExecutor.java:1142)
          [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9.0/ThreadPoolExecutor.java:617)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit] "main-init-0":
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:357)
          [junit] - waiting to lock <0x00000000c22246e0> (a jdk.internal.misc.ClassLoaders$ExtClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:406)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:382)
          [junit] - locked <0x00000000c22228c8> (a jdk.internal.misc.ClassLoaders$AppClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:345)
          [junit] at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9.0/ClassLoaders.java:169)
          [junit] at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
          [junit] at java.lang.Class.getDeclaredConstructors0(java.base@9.0/Native Method)
          [junit] at java.lang.Class.privateGetDeclaredConstructors(java.base@9.0/Class.java:2855)
          [junit] at java.lang.Class.getConstructor0(java.base@9.0/Class.java:3257)
          [junit] at java.lang.Class.newInstance(java.base@9.0/Class.java:496)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser$Parser.startElement(XmlObjectParser.java:85)
          [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(java.xml@9.0/AbstractSAXParser.java:508)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(java.xml@9.0/XMLNSDocumentScannerImpl.java:378)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(java.xml@9.0/XMLDocumentFragmentScannerImpl.java:2790)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(java.xml@9.0/XMLDocumentScannerImpl.java:605)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(java.xml@9.0/XMLNSDocumentScannerImpl.java:116)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(java.xml@9.0/XMLDocumentFragmentScannerImpl.java:511)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(java.xml@9.0/XML11Configuration.java:876)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(java.xml@9.0/XML11Configuration.java:805)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(java.xml@9.0/XMLParser.java:140)
          [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(java.xml@9.0/AbstractSAXParser.java:1212)
          [junit] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(java.xml@9.0/SAXParserImpl.java:648)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser.start(XmlObjectParser.java:258)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser.start(XmlObjectParser.java:275)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:169)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:333)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:360)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readFromPreferences(TaggingPresetReader.java:396)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.readFromPreferences(TaggingPresets.java:37)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.initialize(TaggingPresets.java:44)
          [junit] at org.openstreetmap.josm.Main$5.initialize(Main.java:607)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:710)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:694)
          [junit] at java.util.concurrent.FutureTask.run(java.base@9.0/FutureTask.java:265)
          [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9.0/ThreadPoolExecutor.java:1142)
          [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9.0/ThreadPoolExecutor.java:617)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] Found 1 deadlock.


      REGRESSION. Last worked in version 8u66

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Checkout JOSM project:
      svn co https://josm.openstreetmap.de/svn/trunk josm

      Run unit tests with Jigsaw EA:
      ant clean test-clean test-html

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the unit tests complete in less than an hour.
      ACTUAL -
      the unit tests never complete: the thread is hung. kill -3 on the process shows a deadlock.



      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      test:
           [echo] Running unit tests with JUnit
      [jacoco:coverage] Enhancing junit with coverage
          [junit] Running org.openstreetmap.josm.MainTest
          [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.992 sec
          [junit] Running org.openstreetmap.josm.actions.AlignInLineActionTest
          [junit] 2015-10-21 23:50:16
          [junit] Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-jigsaw-nightly-h3477-20150929-b83 mixed mode):
          [junit]
          [junit] "main-init-1" #25 prio=5 os_prio=0 tid=0x00007faab4738800 nid=0x422f waiting for monitor entry [0x00007faa5f5d8000]
          [junit] java.lang.Thread.State: BLOCKED (on object monitor)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readConst(ClassReader.java:2493)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readCode(ClassReader.java:1402)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readMethod(ClassReader.java:1017)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.accept(ClassReader.java:693)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.accept(ClassReader.java:506)
          [junit] at org.jacoco.agent.rt.internal_773e439.core.instr.Instrumenter.instrument(Instrumenter.java:83)
          [junit] at org.jacoco.agent.rt.internal_773e439.core.instr.Instrumenter.instrument(Instrumenter.java:101)
          [junit] at org.jacoco.agent.rt.internal_773e439.CoverageTransformer.transform(CoverageTransformer.java:93)
          [junit] at sun.instrument.TransformerManager.transform(java.instrument@9.0/TransformerManager.java:188)
          [junit] at sun.instrument.InstrumentationImpl.transform(java.instrument@9.0/InstrumentationImpl.java:427)
          [junit] at java.lang.ClassLoader.defineClass2(java.base@9.0/Native Method)
          [junit] at java.lang.ClassLoader.defineClass(java.base@9.0/ClassLoader.java:937)
          [junit] at java.security.SecureClassLoader.defineClass(java.base@9.0/SecureClassLoader.java:184)
          [junit] at jdk.internal.misc.BuiltinClassLoader.defineClass(java.base@9.0/BuiltinClassLoader.java:488)
          [junit] at jdk.internal.misc.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9.0/BuiltinClassLoader.java:430)
          [junit] at jdk.internal.misc.BuiltinClassLoader$$Lambda$7/1240232440.run(java.base@9.0/Unknown Source)
          [junit] at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
          [junit] at jdk.internal.misc.BuiltinClassLoader.findClassInModuleOrNull(java.base@9.0/BuiltinClassLoader.java:431)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:371)
          [junit] - locked <0x00000000c22246e0> (a jdk.internal.misc.ClassLoaders$ExtClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:345)
          [junit] at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
          [junit] at jdk.nashorn.api.scripting.NashornScriptEngineFactory.getScriptEngine(jdk.scripting.nashorn@9.0/NashornScriptEngineFactory.java:148)
          [junit] at javax.script.ScriptEngineManager.getEngineByName(java.scripting@9.0/ScriptEngineManager.java:237)
          [junit] at org.openstreetmap.josm.data.validation.tests.OpeningHourTest.<clinit>(OpeningHourTest.java:41)
          [junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9.0/Native Method)
          [junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9.0/NativeConstructorAccessorImpl.java:62)
          [junit] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9.0/DelegatingConstructorAccessorImpl.java:45)
          [junit] at java.lang.reflect.Constructor.newInstance(java.base@9.0/Constructor.java:443)
          [junit] at java.lang.Class.newInstance(java.base@9.0/Class.java:524)
          [junit] at org.openstreetmap.josm.data.validation.OsmValidator.<clinit>(OsmValidator.java:136)
          [junit] at org.openstreetmap.josm.Main$4.initialize(Main.java:598)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:710)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:694)
          [junit] at java.util.concurrent.FutureTask.run(java.base@9.0/FutureTask.java:265)
          [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9.0/ThreadPoolExecutor.java:1142)
          [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9.0/ThreadPoolExecutor.java:617)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] "main-init-0" #24 prio=5 os_prio=0 tid=0x00007faab4737800 nid=0x422e waiting for monitor entry [0x00007faa808c3000]
          [junit] java.lang.Thread.State: BLOCKED (on object monitor)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:357)
          [junit] - waiting to lock <0x00000000c22246e0> (a jdk.internal.misc.ClassLoaders$ExtClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:406)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:382)
          [junit] - locked <0x00000000c22228c8> (a jdk.internal.misc.ClassLoaders$AppClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:345)
          [junit] at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9.0/ClassLoaders.java:169)
          [junit] at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
          [junit] at java.lang.Class.getDeclaredConstructors0(java.base@9.0/Native Method)
          [junit] at java.lang.Class.privateGetDeclaredConstructors(java.base@9.0/Class.java:2855)
          [junit] at java.lang.Class.getConstructor0(java.base@9.0/Class.java:3257)
          [junit] at java.lang.Class.newInstance(java.base@9.0/Class.java:496)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser$Parser.startElement(XmlObjectParser.java:85)
          [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(java.xml@9.0/AbstractSAXParser.java:508)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(java.xml@9.0/XMLNSDocumentScannerImpl.java:378)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(java.xml@9.0/XMLDocumentFragmentScannerImpl.java:2790)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(java.xml@9.0/XMLDocumentScannerImpl.java:605)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(java.xml@9.0/XMLNSDocumentScannerImpl.java:116)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(java.xml@9.0/XMLDocumentFragmentScannerImpl.java:511)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(java.xml@9.0/XML11Configuration.java:876)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(java.xml@9.0/XML11Configuration.java:805)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(java.xml@9.0/XMLParser.java:140)
          [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(java.xml@9.0/AbstractSAXParser.java:1212)
          [junit] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(java.xml@9.0/SAXParserImpl.java:648)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser.start(XmlObjectParser.java:258)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser.start(XmlObjectParser.java:275)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:169)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:333)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:360)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readFromPreferences(TaggingPresetReader.java:396)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.readFromPreferences(TaggingPresets.java:37)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.initialize(TaggingPresets.java:44)
          [junit] at org.openstreetmap.josm.Main$5.initialize(Main.java:607)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:710)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:694)
          [junit] at java.util.concurrent.FutureTask.run(java.base@9.0/FutureTask.java:265)
          [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9.0/ThreadPoolExecutor.java:1142)
          [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9.0/ThreadPoolExecutor.java:617)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] "TimerQueue" #23 daemon prio=5 os_prio=0 tid=0x00007faa70005800 nid=0x422d waiting on condition [0x00007faa5f95f000]
          [junit] java.lang.Thread.State: WAITING (parking)
          [junit] at sun.misc.Unsafe.park(java.base@9.0/Native Method)
          [junit] - parking to wait for <0x00000000c3a15968> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
          [junit] at java.util.concurrent.locks.LockSupport.park(java.base@9.0/LockSupport.java:175)
          [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@9.0/AbstractQueuedSynchronizer.java:2039)
          [junit] at java.util.concurrent.DelayQueue.take(java.base@9.0/DelayQueue.java:211)
          [junit] at javax.swing.TimerQueue.run(java.desktop@9.0/TimerQueue.java:172)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] "Java2D Disposer" #15 daemon prio=10 os_prio=0 tid=0x00007faab4601000 nid=0x421c in Object.wait() [0x00007faa809c8000]
          [junit] java.lang.Thread.State: WAITING (on object monitor)
          [junit] at java.lang.Object.wait(java.base@9.0/Native Method)
          [junit] - waiting on <0x00000000c25d71f8> (a java.lang.ref.ReferenceQueue$Lock)
          [junit] at java.lang.ref.ReferenceQueue.remove(java.base@9.0/ReferenceQueue.java:150)
          [junit] - locked <0x00000000c25d71f8> (a java.lang.ref.ReferenceQueue$Lock)
          [junit] at java.lang.ref.ReferenceQueue.remove(java.base@9.0/ReferenceQueue.java:171)
          [junit] at sun.java2d.Disposer.run(java.desktop@9.0/Disposer.java:145)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] "File Watcher" #12 prio=5 os_prio=0 tid=0x00007faab44b7800 nid=0x4212 waiting on condition [0x00007faa81bfc000]
          [junit] java.lang.Thread.State: WAITING (parking)
          [junit] at sun.misc.Unsafe.park(java.base@9.0/Native Method)
          [junit] - parking to wait for <0x00000000c2222100> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
          [junit] at java.util.concurrent.locks.LockSupport.park(java.base@9.0/LockSupport.java:175)
          [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@9.0/AbstractQueuedSynchronizer.java:2039)
          [junit] at java.util.concurrent.LinkedBlockingDeque.takeFirst(java.base@9.0/LinkedBlockingDeque.java:492)
          [junit] at java.util.concurrent.LinkedBlockingDeque.take(java.base@9.0/LinkedBlockingDeque.java:680)
          [junit] at sun.nio.fs.AbstractWatchService.take(java.base@9.0/AbstractWatchService.java:118)
          [junit] at org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:109)
          [junit] at org.openstreetmap.josm.io.FileWatcher.access$000(FileWatcher.java:30)
          [junit] at org.openstreetmap.josm.io.FileWatcher$1.run(FileWatcher.java:46)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] "Thread-1" #11 daemon prio=5 os_prio=0 tid=0x00007faab44ad800 nid=0x4211 runnable [0x00007faa81cfd000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit] at sun.nio.fs.LinuxWatchService.poll(java.base@9.0/Native Method)
          [junit] at sun.nio.fs.LinuxWatchService.access$600(java.base@9.0/LinuxWatchService.java:47)
          [junit] at sun.nio.fs.LinuxWatchService$Poller.run(java.base@9.0/LinuxWatchService.java:314)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] "Service Thread" #10 daemon prio=9 os_prio=0 tid=0x00007faab434c800 nid=0x420c runnable [0x0000000000000000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit]
          [junit] "Sweeper thread" #8 daemon prio=9 os_prio=0 tid=0x00007faab4127800 nid=0x4208 runnable [0x0000000000000000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit]
          [junit] "C1 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x00007faab4125800 nid=0x4207 waiting on condition [0x0000000000000000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit]
          [junit] "C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007faab4123000 nid=0x4206 waiting on condition [0x0000000000000000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit]
          [junit] "Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x00007faab4121000 nid=0x4205 waiting on condition [0x0000000000000000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit]
          [junit] "Surrogate Locker Thread (Concurrent GC)" #4 daemon prio=9 os_prio=0 tid=0x00007faab411f800 nid=0x4204 waiting on condition [0x0000000000000000]
          [junit] java.lang.Thread.State: RUNNABLE
          [junit]
          [junit] "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007faab410a000 nid=0x4203 in Object.wait() [0x00007faa8d1a4000]
          [junit] java.lang.Thread.State: WAITING (on object monitor)
          [junit] at java.lang.Object.wait(java.base@9.0/Native Method)
          [junit] - waiting on <0x00000000c2222e78> (a java.lang.ref.ReferenceQueue$Lock)
          [junit] at java.lang.ref.ReferenceQueue.remove(java.base@9.0/ReferenceQueue.java:150)
          [junit] - locked <0x00000000c2222e78> (a java.lang.ref.ReferenceQueue$Lock)
          [junit] at java.lang.ref.ReferenceQueue.remove(java.base@9.0/ReferenceQueue.java:171)
          [junit] at java.lang.ref.Finalizer$FinalizerThread.run(java.base@9.0/Finalizer.java:217)
          [junit]
          [junit] "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007faab4108000 nid=0x4202 in Object.wait() [0x00007faa8d2a5000]
          [junit] java.lang.Thread.State: WAITING (on object monitor)
          [junit] at java.lang.Object.wait(java.base@9.0/Native Method)
          [junit] - waiting on <0x00000000c2222eb8> (a java.lang.ref.Reference$Lock)
          [junit] at java.lang.Object.wait(java.base@9.0/Object.java:516)
          [junit] at java.lang.ref.Reference.tryHandlePending(java.base@9.0/Reference.java:193)
          [junit] - locked <0x00000000c2222eb8> (a java.lang.ref.Reference$Lock)
          [junit] at java.lang.ref.Reference$ReferenceHandler.run(java.base@9.0/Reference.java:155)
          [junit]
          [junit] "main" #1 prio=5 os_prio=0 tid=0x00007faab400f000 nid=0x41f9 waiting on condition [0x00007faabbc6f000]
          [junit] java.lang.Thread.State: WAITING (parking)
          [junit] at sun.misc.Unsafe.park(java.base@9.0/Native Method)
          [junit] - parking to wait for <0x00000000c3a14e10> (a java.util.concurrent.FutureTask)
          [junit] at java.util.concurrent.locks.LockSupport.park(java.base@9.0/LockSupport.java:175)
          [junit] at java.util.concurrent.FutureTask.awaitDone(java.base@9.0/FutureTask.java:446)
          [junit] at java.util.concurrent.FutureTask.get(java.base@9.0/FutureTask.java:191)
          [junit] at java.util.concurrent.AbstractExecutorService.invokeAll(java.base@9.0/AbstractExecutorService.java:244)
          [junit] at org.openstreetmap.josm.Main.<init>(Main.java:630)
          [junit] at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:86)
          [junit] at org.openstreetmap.josm.JOSMFixture.init(JOSMFixture.java:110)
          [junit] at org.openstreetmap.josm.actions.AlignInLineActionTest.setUp(AlignInLineActionTest.java:30)
          [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
          [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
          [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
          [junit] at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:530)
          [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
          [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
          [junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
          [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
          [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
          [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
          [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1004)
          [junit]
          [junit] "VM Thread" os_prio=0 tid=0x00007faab40f4800 nid=0x4201 runnable
          [junit]
          [junit] "GC Thread#0" os_prio=0 tid=0x00007faab4026800 nid=0x41fa runnable
          [junit]
          [junit] "GC Thread#1" os_prio=0 tid=0x00007faab4028800 nid=0x41fb runnable
          [junit]
          [junit] "G1 Main Marker" os_prio=0 tid=0x00007faab403f000 nid=0x41ff runnable
          [junit]
          [junit] "G1 Marker#0" os_prio=0 tid=0x00007faab4040800 nid=0x4200 runnable
          [junit]
          [junit] "G1 Refine#0" os_prio=0 tid=0x00007faab402e000 nid=0x41fe runnable
          [junit]
          [junit] "G1 Refine#1" os_prio=0 tid=0x00007faab402c000 nid=0x41fd runnable
          [junit]
          [junit] "G1 Refine#2" os_prio=0 tid=0x00007faab402a800 nid=0x41fc runnable
          [junit]
          [junit] "VM Periodic Task Thread" os_prio=0 tid=0x00007faab435a800 nid=0x420d waiting on condition
          [junit]
          [junit] JNI global references: 737
          [junit]
          [junit]
          [junit] Found one Java-level deadlock:
          [junit] =============================
          [junit] "main-init-1":
          [junit] waiting to lock monitor 0x00007faa74008480 (object 0x00000000c22228c8, a jdk.internal.misc.ClassLoaders$AppClassLoader),
          [junit] which is held by "main-init-0"
          [junit] "main-init-0":
          [junit] waiting to lock monitor 0x00007faa7c02e800 (object 0x00000000c22246e0, a jdk.internal.misc.ClassLoaders$ExtClassLoader),
          [junit] which is held by "main-init-1"
          [junit]
          [junit] Java stack information for the threads listed above:
          [junit] ===================================================
          [junit] "main-init-1":
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readConst(ClassReader.java:2493)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readCode(ClassReader.java:1402)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.readMethod(ClassReader.java:1017)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.accept(ClassReader.java:693)
          [junit] at org.jacoco.agent.rt.internal_773e439.asm.ClassReader.accept(ClassReader.java:506)
          [junit] at org.jacoco.agent.rt.internal_773e439.core.instr.Instrumenter.instrument(Instrumenter.java:83)
          [junit] at org.jacoco.agent.rt.internal_773e439.core.instr.Instrumenter.instrument(Instrumenter.java:101)
          [junit] at org.jacoco.agent.rt.internal_773e439.CoverageTransformer.transform(CoverageTransformer.java:93)
          [junit] at sun.instrument.TransformerManager.transform(java.instrument@9.0/TransformerManager.java:188)
          [junit] at sun.instrument.InstrumentationImpl.transform(java.instrument@9.0/InstrumentationImpl.java:427)
          [junit] at java.lang.ClassLoader.defineClass2(java.base@9.0/Native Method)
          [junit] at java.lang.ClassLoader.defineClass(java.base@9.0/ClassLoader.java:937)
          [junit] at java.security.SecureClassLoader.defineClass(java.base@9.0/SecureClassLoader.java:184)
          [junit] at jdk.internal.misc.BuiltinClassLoader.defineClass(java.base@9.0/BuiltinClassLoader.java:488)
          [junit] at jdk.internal.misc.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9.0/BuiltinClassLoader.java:430)
          [junit] at jdk.internal.misc.BuiltinClassLoader$$Lambda$7/1240232440.run(java.base@9.0/Unknown Source)
          [junit] at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
          [junit] at jdk.internal.misc.BuiltinClassLoader.findClassInModuleOrNull(java.base@9.0/BuiltinClassLoader.java:431)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:371)
          [junit] - locked <0x00000000c22246e0> (a jdk.internal.misc.ClassLoaders$ExtClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:345)
          [junit] at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
          [junit] at jdk.nashorn.api.scripting.NashornScriptEngineFactory.getScriptEngine(jdk.scripting.nashorn@9.0/NashornScriptEngineFactory.java:148)
          [junit] at javax.script.ScriptEngineManager.getEngineByName(java.scripting@9.0/ScriptEngineManager.java:237)
          [junit] at org.openstreetmap.josm.data.validation.tests.OpeningHourTest.<clinit>(OpeningHourTest.java:41)
          [junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9.0/Native Method)
          [junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9.0/NativeConstructorAccessorImpl.java:62)
          [junit] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9.0/DelegatingConstructorAccessorImpl.java:45)
          [junit] at java.lang.reflect.Constructor.newInstance(java.base@9.0/Constructor.java:443)
          [junit] at java.lang.Class.newInstance(java.base@9.0/Class.java:524)
          [junit] at org.openstreetmap.josm.data.validation.OsmValidator.<clinit>(OsmValidator.java:136)
          [junit] at org.openstreetmap.josm.Main$4.initialize(Main.java:598)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:710)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:694)
          [junit] at java.util.concurrent.FutureTask.run(java.base@9.0/FutureTask.java:265)
          [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9.0/ThreadPoolExecutor.java:1142)
          [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9.0/ThreadPoolExecutor.java:617)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit] "main-init-0":
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:357)
          [junit] - waiting to lock <0x00000000c22246e0> (a jdk.internal.misc.ClassLoaders$ExtClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:406)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:382)
          [junit] - locked <0x00000000c22228c8> (a jdk.internal.misc.ClassLoaders$AppClassLoader)
          [junit] at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:345)
          [junit] at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9.0/ClassLoaders.java:169)
          [junit] at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
          [junit] at java.lang.Class.getDeclaredConstructors0(java.base@9.0/Native Method)
          [junit] at java.lang.Class.privateGetDeclaredConstructors(java.base@9.0/Class.java:2855)
          [junit] at java.lang.Class.getConstructor0(java.base@9.0/Class.java:3257)
          [junit] at java.lang.Class.newInstance(java.base@9.0/Class.java:496)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser$Parser.startElement(XmlObjectParser.java:85)
          [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(java.xml@9.0/AbstractSAXParser.java:508)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(java.xml@9.0/XMLNSDocumentScannerImpl.java:378)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(java.xml@9.0/XMLDocumentFragmentScannerImpl.java:2790)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(java.xml@9.0/XMLDocumentScannerImpl.java:605)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(java.xml@9.0/XMLNSDocumentScannerImpl.java:116)
          [junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(java.xml@9.0/XMLDocumentFragmentScannerImpl.java:511)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(java.xml@9.0/XML11Configuration.java:876)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(java.xml@9.0/XML11Configuration.java:805)
          [junit] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(java.xml@9.0/XMLParser.java:140)
          [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(java.xml@9.0/AbstractSAXParser.java:1212)
          [junit] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(java.xml@9.0/SAXParserImpl.java:648)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser.start(XmlObjectParser.java:258)
          [junit] at org.openstreetmap.josm.tools.XmlObjectParser.start(XmlObjectParser.java:275)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:169)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:333)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readAll(TaggingPresetReader.java:360)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader.readFromPreferences(TaggingPresetReader.java:396)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.readFromPreferences(TaggingPresets.java:37)
          [junit] at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.initialize(TaggingPresets.java:44)
          [junit] at org.openstreetmap.josm.Main$5.initialize(Main.java:607)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:710)
          [junit] at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:694)
          [junit] at java.util.concurrent.FutureTask.run(java.base@9.0/FutureTask.java:265)
          [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9.0/ThreadPoolExecutor.java:1142)
          [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9.0/ThreadPoolExecutor.java:617)
          [junit] at java.lang.Thread.run(java.base@9.0/Thread.java:746)
          [junit]
          [junit] Found 1 deadlock.
          [junit]
          [junit] Heap
          [junit] garbage-first heap total 63488K, used 20761K [0x00000000c2200000, 0x00000000c23001f0, 0x0000000100000000)
          [junit] region size 1024K, 14 young (14336K), 3 survivors (3072K)
          [junit] Metaspace used 29979K, capacity 30644K, committed 30976K, reserved 1077248K
          [junit] class space used 3615K, capacity 3787K, committed 3840K, reserved 1048576K
          [junit]

      REPRODUCIBILITY :
      This bug can be reproduced often.

        Attachments

          Activity

            People

            • Assignee:
              alanb Alan Bateman
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: