Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2

      Description

      The Javadoc formatter is throwing a NullPointerException when run with the init option.

      Steps:
      1. ant compile compile-test
      2. ant format-javadoc -Dlimit=ResourceLocalServiceImpl -Dinit=true

      Results in:
      ...
      [java] java.lang.NullPointerException
      [java] at com.liferay.portal.tools.JavadocFormatter._wrapText(JavadocFormatter.java:1563)
      [java] at com.liferay.portal.tools.JavadocFormatter._getJavaClassComment(JavadocFormatter.java:883)
      [java] at com.liferay.portal.tools.JavadocFormatter._updateJavaFromDocument(JavadocFormatter.java:1467)
      [java] at com.liferay.portal.tools.JavadocFormatter._format(JavadocFormatter.java:695)
      [java] at com.liferay.portal.tools.JavadocFormatter.<init>(JavadocFormatter.java:162)
      [java] at com.liferay.portal.tools.JavadocFormatter.main(JavadocFormatter.java:70)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 42 weeks, 2 days ago