Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-75248

ClassCastException when running ant format-javadoc

Details

    Description

      Exception in thread "main" java.lang.RuntimeException: Unable to format file src/main/java/com/liferay/gradle/plugins/defaults/internal/LicenseReportDefaultsPlugin.java
       at com.liferay.javadoc.formatter.JavadocFormatter.<init>(JavadocFormatter.java:222)
      Caused by: java.lang.ClassCastException: com.thoughtworks.qdox.model.impl.DefaultJavaClass cannot be cast to com.thoughtworks.qdox.model.JavaMember
       at com.liferay.javadoc.formatter.JavadocFormatter._getJavaModelLineNumber(JavadocFormatter.java:1754)
       at com.liferay.javadoc.formatter.JavadocFormatter._getJavaTermLineNumbers(JavadocFormatter.java:1778)
       at com.liferay.javadoc.formatter.JavadocFormatter._getJavaTermLineNumbers(JavadocFormatter.java:1801)
       at com.liferay.javadoc.formatter.JavadocFormatter._removeJavadocFromJava(JavadocFormatter.java:1929)
       at com.liferay.javadoc.formatter.JavadocFormatter._format(JavadocFormatter.java:1085)
       at com.liferay.javadoc.formatter.JavadocFormatter.<init>(JavadocFormatter.java:219)
       ... 1 more

      Attachments

        Issue Links

          Activity

            People

              alan.huang Alan Huang
              hugo.huijser Hugo Huijser (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 16 weeks, 5 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP33
                  7.0.0 DXP SP7
                  7.0.5 CE GA6