3 Replies Latest reply on Oct 13, 2012 2:15 AM by alrubinger

    error while generating javadocs - mvn site 1.1.1-SNAPSHOT

    smikloso

      Hi all,

       

      I have hard times to get api documentation for 1.1.1-SNAPSHOT generated.

       

      All I do is cd-ing to shrinkwrap/api and

       

      $ mvn site

       

      I have installed graphviz (and dot (2)) by fedora's yum. Please look at the output (1).

       

      Api doc gets generated but there are e.g no images with class hierarchy embedded in docs ...

       

      (1) http://pastebin.com/raw.php?i=qGkspwMn

      (2) http://pastebin.com/raw.php?i=bAq4C3su

      (3) my system settings http://pastebin.com/raw.php?i=JsuH29Fe

       

      Thank you for help

        • 1. Re: error while generating javadocs - mvn site 1.1.1-SNAPSHOT
          alrubinger

          Thanks for reporting this.  Somewhere along the line the documentation-making step of our CI environment got removed.  I'm also seeing this error (as you are) locally:

           

          [ERROR] java.lang.IllegalStateException: Failed to find an insertion point.

          [ERROR] at org.jboss.apiviz.APIviz.instrumentDiagram(APIviz.java:334)

          [ERROR] at org.jboss.apiviz.APIviz.generateOverviewSummary(APIviz.java:202)

          [ERROR] at org.jboss.apiviz.APIviz.start(APIviz.java:80)

          [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)

          [ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280)

          [ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160)

          [ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397)

          [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:167)

          [ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:59)

          [ERROR] at com.sun.tools.javadoc.Main.main(Main.java:49)

           

          I've opened: https://issues.jboss.org/browse/SHRINKWRAP-423 to investigate.

          • 2. Re: error while generating javadocs - mvn site 1.1.1-SNAPSHOT
            alrubinger

            Disabled APIViz for the time-being due to APIVIZ-10; @see issue for explanation and SHRINKWRAP-424 for the task to re-enable APIViz.

            • 3. Re: error while generating javadocs - mvn site 1.1.1-SNAPSHOT
              alrubinger

              Note that now with SHRINKWRAP-425 and -426, the build should now be totally functional w.r.t. "site".  Again, thanks for pointing this out; somewhere along the line our CI wasn't going full-stop and the upgrade to JDK7 for building broke some things. ( ShrinkWrap still works with a JRE5+ runtime, except the NIO.2 modules which require JRE7+).