maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAVADOC-254) aggregation fails to get classpath, blows up
Date Wed, 19 Aug 2009 13:30:59 GMT

    [ http://jira.codehaus.org/browse/MJAVADOC-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187606#action_187606
] 

Vincent Siveton commented on MJAVADOC-254:
------------------------------------------

Not really, but you send us the javadoc files using -Ddebug [1] 

[1] http://maven.apache.org/plugins/maven-javadoc-plugin/faq.html#How_to_know_exactly_the_Javadoc_command_line

> aggregation fails to get classpath, blows up
> --------------------------------------------
>
>                 Key: MJAVADOC-254
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-254
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6
>         Environment: maven 2.1.0, macos, java 1.5.
>            Reporter: Benson Margulies
>         Attachments: foo
>
>
> javadoc:aggregate blows up with an error inside of the javadoc tool. The immediate problem
is that junit isn't in the classpath, so junit annotations explode. If I add junit to the
dependencies of the aggregating project, I just run into trouble with other missing annotations,
like some for Spring.
> [DEBUG] /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc @options
@packages
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error
- In doclet class com.sun.tools.doclets.standard.Standard,  method start has thrown an exception
java.lang.reflect.InvocationTargetException
> java.lang.AssertionError: cannot find method org.junit.runner.RunWith.value()
> 	at com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.findAccessMethod(ClassReader.java:1074)
> 	at com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.deproxyCompound(ClassReader.java:1057)
> 	at com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.deproxyCompoundList(ClassReader.java:1046)
> 	at com.sun.tools.javac.jvm.ClassReader$AnnotationCompleter.enterAnnotation(ClassReader.java:1195)
> 	at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:94)
> 	at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1541)
> 	at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
> 	at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:612)
> 	at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:550)
> 	at com.sun.tools.javadoc.ClassDocImpl.getFlags(ClassDocImpl.java:105)
> 	at com.sun.tools.javadoc.ClassDocImpl.isAnnotationType(ClassDocImpl.java:116)
> 	at com.sun.tools.javadoc.DocEnv.isAnnotationType(DocEnv.java:574)
> 	at com.sun.tools.javadoc.DocEnv.getClassDoc(DocEnv.java:546)
> 	at com.sun.tools.javadoc.PackageDocImpl.getClasses(PackageDocImpl.java:152)
> 	at com.sun.tools.javadoc.PackageDocImpl.addAllClassesTo(PackageDocImpl.java:168)
> 	at com.sun.tools.javadoc.RootDocImpl.classes(RootDocImpl.java:178)
> 	at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:96)
> 	at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
> 	at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
> 	at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
> 	at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
> 	at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
> 	at com.sun.tools.javadoc.Start.begin(Start.java:128)
> 	at com.sun.tools.javadoc.Main.execute(Main.java:41)
> 	at com.sun.tools.javadoc.Main.main(Main.java:31)
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc
@options @packages

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message