Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3262

Generation of javadoc for HippoItem throws exception

    XMLWordPrintable

Details

    Description

      In setting the alpha tag I have to deploy the site toolkit modules to Nexus. The deploy also uploads the javadoc, so it needs to generate it first. Generation of javadoc fails on the class HippoItem.java in the content-beans module. It seems like the root cause is the method HippoItem#getProperty, because immediately after parsing that method I see

      javadoc: error - com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: java.lang.ClassCastException: com.sun.tools.javadoc.MethodDocImpl cannot be cast to com.sun.tools.javadoc.AnnotationTypeElementDocImpl

      It seems related to this bug Javadoc crashes when method name ends with "Property"

      Attached is the full stacktrace

      Attachments

        1. javadoc-hst.txt
          7 kB
          Michiel Eggermont

        Issue Links

          Activity

            People

              meggermont Michiel Eggermont (Inactive)
              meggermont Michiel Eggermont (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: