Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@returnWrapped javadoc tag leads to NPE #51

Open
lancespeelmon opened this issue Sep 6, 2012 · 0 comments
Open

@returnWrapped javadoc tag leads to NPE #51

lancespeelmon opened this issue Sep 6, 2012 · 0 comments

Comments

@lancespeelmon
Copy link

For example:
`
/**

  • Get the User object by primary key.
  • @http 200 User was found.
  • @http 404 User could not be found.
  • @param uid
  • @param request
  • @return a wrapped {@link User} object
  • @returnWrapped com.example.User
    */

`

generates:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.1:site (default-site) on project spring-mvc-jpa: Error during page generation: Error rendering Maven report:
[ERROR] Exit code: 1 - javadoc: error - In doclet class com.lunatech.doclets.jax.jaxrs.JAXRSDoclet, method start has thrown an exception java.lang.reflect.InvocationTargetException
[ERROR] java.lang.NullPointerException
[ERROR] at com.sun.tools.javadoc.ClassDocImpl.importedClasses(ClassDocImpl.java:1032)
[ERROR] at com.lunatech.doclets.jax.Utils.resolveType(Utils.java:648)
[ERROR] at com.lunatech.doclets.jax.Utils.setupType(Utils.java:789)
[ERROR] at com.lunatech.doclets.jax.Utils.parseType(Utils.java:737)
[ERROR] at com.lunatech.doclets.jax.jaxrs.writers.MethodWriter.printOutput(MethodWriter.java:163)
[ERROR] at com.lunatech.doclets.jax.jaxrs.writers.MethodWriter.printMethod(MethodWriter.java:83)
[ERROR] at com.lunatech.doclets.jax.jaxrs.writers.MethodWriter.print(MethodWriter.java:54)
[ERROR] at com.lunatech.doclets.jax.jaxrs.writers.ResourceWriter.printMethodDetails(ResourceWriter.java:115)
[ERROR] at com.lunatech.doclets.jax.jaxrs.writers.ResourceWriter.printMethods(ResourceWriter.java:68)
[ERROR] at com.lunatech.doclets.jax.jaxrs.writers.ResourceWriter.write(ResourceWriter.java:56)
[ERROR] at com.lunatech.doclets.jax.jaxrs.model.Resource.write(Resource.java:166)
[ERROR] at com.lunatech.doclets.jax.jaxrs.model.Resource.write(Resource.java:169)
[ERROR] at com.lunatech.doclets.jax.jaxrs.model.Resource.write(Resource.java:169)
[ERROR] at com.lunatech.doclets.jax.jaxrs.model.Resource.write(Resource.java:169)
[ERROR] at com.lunatech.doclets.jax.jaxrs.JAXRSDoclet.start(JAXRSDoclet.java:106)
[ERROR] at com.lunatech.doclets.jax.jaxrs.JAXRSDoclet.start(JAXRSDoclet.java:78)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
[ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:128)
[ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:41)
[ERROR] at com.sun.tools.javadoc.Main.main(Main.java:31)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant