ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffery Rancier <jeffery.ranc...@comtechmobile.com>
Subject Javadoc Error
Date Mon, 20 Aug 2012 17:40:22 GMT
Hi all,

I this an issue with Javadoc, Ant, or my source?  I'm using Java 6, and Ant 1.8.4.  Here's
the exception it took:

: warning - @inheritDoc used but getKey(String) does not override or implement any method.
  [javadoc] C:\Products\Utilities_Product\Product_Development\Computer_Software\Source_Files\src\main\java\com\cmdc\utilities\gui\view\TriPaneView.java:157:
warning - @inheritDoc used but getKey(String) does not override or implement any method.
  [javadoc] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast
to com.sun.javadoc.AnnotationTypeDoc
  [javadoc]           at com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.util.Util.isDeprecated(Util.java:811)
  [javadoc]           at com.sun.tools.doclets.formats.html.SubWriterHolderWriter.printIndexComment(SubWriterHolderWriter.java:101)
  [javadoc]           at com.sun.tools.doclets.formats.html.SubWriterHolderWriter.printSummaryLinkComment(SubWriterHolderWriter.java:137)
  [javadoc]           at com.sun.tools.doclets.formats.html.AbstractMemberWriter.writeMemberSummary(AbstractMemberWriter.java:407)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.buildSummary(MemberSummaryBuilder.java:309)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.buildMethodsSummary(MemberSummaryBuilder.java:260)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.invokeMethod(MemberSummaryBuilder.java:172)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder.build(AbstractMemberBuilder.java:56)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildMemberSummary(ClassBuilder.java:279)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(ClassBuilder.java:124)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:108)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:155)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:164)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
  [javadoc]           at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
  [javadoc]           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [javadoc]           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
  [javadoc]           at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
  [javadoc]           at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
  [javadoc]           at com.sun.tools.javadoc.Start.begin(Start.java:128)
  [javadoc]           at com.sun.tools.javadoc.Main.execute(Main.java:41)
  [javadoc]           at com.sun.tools.javadoc.Main.main(Main.java:31)
  [javadoc] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast
to com.sun.javadoc.AnnotationTypeDoc
  [javadoc]           at com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDocletWriter.getAnnotations(HtmlDocletWriter.java:1739)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDocletWriter.writeAnnotationInfo(HtmlDocletWriter.java:1713)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDocletWriter.writeAnnotationInfo(HtmlDocletWriter.java:1702)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDocletWriter.writeAnnotationInfo(HtmlDocletWriter.java:1681)
  [javadoc]           at com.sun.tools.doclets.formats.html.MethodWriterImpl.writeSignature(MethodWriterImpl.java:145)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MethodBuilder.buildSignature(MethodBuilder.java:176)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MethodBuilder.invokeMethod(MethodBuilder.java:109)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder.build(AbstractMemberBuilder.java:56)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MethodBuilder.buildMethodDoc(MethodBuilder.java:150)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.MethodBuilder.invokeMethod(MethodBuilder.java:109)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder.build(AbstractMemberBuilder.java:56)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildMethodDetails(ClassBuilder.java:322)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(ClassBuilder.java:124)
  [javadoc]           at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:108)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:155)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:164)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:106)
  [javadoc]           at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
  [javadoc]           at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
  [javadoc]           at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
  [javadoc]           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [javadoc]           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [javadoc]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [javadoc]           at java.lang.reflect.Method.invoke(Method.java:597)
  [javadoc]           at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
  [javadoc]           at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
  [javadoc]           at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
  [javadoc]           at com.sun.tools.javadoc.Start.begin(Start.java:128)
  [javadoc]           at com.sun.tools.javadoc.Main.execute(Main.java:41)
  [javadoc]           at com.sun.tools.javadoc.Main.main(Main.java:31)


Jeffery B. Rancier
Software Engineer (Computer Express)

[cid:image001.jpg@01CD7ED9.58A82530]
Comtech Mobile Datacom Corporation
http://www.comtechmobile.com<http://www.comtechmobile.com/>
20430 Century Blvd.
Germantown, MD  20874
240.686.3328 (w)
240.686.3301 (f)

This email and any attachments are intended exclusively for the individuals or entities to
which it is addressed. This communication may contain information that is proprietary, privileged
or confidential, or otherwise legally exempt from disclosure. If you are not a named addressee,
you are not authorized to read, print, retain, copy or disseminate this message or any part
of it. If you have received this message in error, please notify the sender immediately by
e-mail and delete all copies of the message, any attachments, and any copies thereof from
your system.


Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message