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

JavaDoc reports internal exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 19
    • tools

      ADDITIONAL SYSTEM INFORMATION :
      MacOS 13.0.1,
      Java -version
      openjdk version "19" 2022-09-20
      OpenJDK Runtime Environment (build 19+36-2238)
      OpenJDK 64-Bit Server VM (build 19+36-2238, mixed mode, sharing

      Code:
      https://github.com/verhas/jamal/tree/1.12.7-SNASHOT-JAVADOC-FAIL

      A DESCRIPTION OF THE PROBLEM :
      When building my project I get the error you can also see on

      https://github.com/verhas/jamal/actions/runs/4186905137/jobs/7256039725

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar (attach-javadocs) on project jamal-api: MavenReportException: Error while generating Javadoc:
      [ERROR] Exit code: 1
      [ERROR] error: An internal exception has occurred.
      [ERROR] (java.lang.NoClassDefFoundError: javax0/jamal/api/Processor)
      [ERROR] Please file a bug against the javadoc tool via the Java bug reporting page
      [ERROR] (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com)
      [ERROR] for duplicates. Include error messages and the following diagnostic in your report. Thank you.
      [ERROR] java.lang.NoClassDefFoundError: javax0/jamal/api/Processor
      [ERROR] at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
      [ERROR] at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3429)
      [ERROR] at java.base/java.lang.Class.getConstructor0(Class.java:3634)
      [ERROR] at java.base/java.lang.Class.getConstructor(Class.java:2324)



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      git clone https://github.com/verhas/jamal.git
      git checkout -b 1.12.7-SNASHOT-JAVADOC-FAIL
      mvn clean install

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Well, should not throw up and work like as it works with JavaDoc 3.4.1
      ACTUAL -
      Stops with internal error

      ---------- BEGIN SOURCE ----------
      https://github.com/verhas/jamal/tree/1.12.7-SNASHOT-JAVADOC-FAIL
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Use the Javadoc plugin 3.4.1
      It may be an issue with the Maven plugin, but the error displayed came from the JavaDoc tool and asked me to report this error.

      FREQUENCY : always


        1. maven.log
          328 kB
          Anupam Dev

            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: