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

During build and run of Spring Boot java.lang.IllegalStateException: endPosTable already set is thrown

XMLWordPrintable

    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      The stack trace is as below:

      An exception has occurred in the compiler (1.8.0_261). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.IllegalStateException: endPosTable already set
      at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)
      at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350)
      at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:667)
      at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:950)
      at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:892)
      at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:921)
      at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1187)
      at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
      at com.sun.tools.javac.main.Main.compile(Main.java:523)
      at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:67)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Set up a spring boot project on intellij and try starting with maven command "spring-boot:run"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No error messages in the beginning

      FREQUENCY : always


        1. image.png
          image.png
          231 kB
        2. image2.png
          image2.png
          28 kB
        3. image3.png
          image3.png
          10 kB
        4. image4.png
          image4.png
          72 kB
        5. image5.png
          image5.png
          18 kB
        6. pom.xml
          7 kB

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: