You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by en...@sgx.com on 2003/12/16 10:40:34 UTC

Jxr nullpointerexception

I got the following nullpointerexception when running the
maven-jxr-plugin:report goal on my web project.  Can someone tell me what
could possibly cause the error?

BUILD FAILED
java.lang.NullPointerException
        at
org.apache.maven.jxr.CodeTransform.getHeader(CodeTransform.java:617)
        at
org.apache.maven.jxr.CodeTransform.transform(CodeTransform.java:687)
        at org.apache.maven.jxr.JXR.transform(JXR.java:262)
        at org.apache.maven.jxr.JXR.process(JXR.java:175)
        at org.apache.maven.jxr.JXR.<init>(JXR.java:130)
        at org.apache.maven.jxr.JxrBean.xref(JxrBean.java:134)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.ja
a:230)
        at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.ja
a:145)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
448)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:546)
        at org.apache.maven.cli.App.main(App.java:1113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... file:/C:/Documents and
Settings/itaeh/.maven/plugins/maven-jxr-plugi
-1.3-SNAPSHOT/
Element... jxr:jxr
Line...... 32
Column.... 221
java.lang.NullPointerException


Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division

DID: (65) 62368963
FAX: (65) 64388840
email: enghoe@sgx.com

Confidentiality Caution
=======================
Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that is not of an official nature shall be
deemed as neither given nor endorsed by SGX unless indicated by an
authorised representative independent of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Jxr nullpointerexception

Posted by Emmanuel Venisse <em...@venisse.net>.
Perhaps a class in a package that doesn't match to the directory structure.

Emmanuel

----- Original Message ----- 
From: <en...@sgx.com>
To: <us...@maven.apache.org>
Sent: Tuesday, December 16, 2003 10:40 AM
Subject: Jxr nullpointerexception


> I got the following nullpointerexception when running the
> maven-jxr-plugin:report goal on my web project.  Can someone tell me what
> could possibly cause the error?
>
> BUILD FAILED
> java.lang.NullPointerException
>         at
> org.apache.maven.jxr.CodeTransform.getHeader(CodeTransform.java:617)
>         at
> org.apache.maven.jxr.CodeTransform.transform(CodeTransform.java:687)
>         at org.apache.maven.jxr.JXR.transform(JXR.java:262)
>         at org.apache.maven.jxr.JXR.process(JXR.java:175)
>         at org.apache.maven.jxr.JXR.<init>(JXR.java:130)
>         at org.apache.maven.jxr.JxrBean.xref(JxrBean.java:134)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.ja
> a:230)
>         at
> org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.ja
> a:145)
>         at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>         at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
>         at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
>         at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>         at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
>         at
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
>         at com.werken.werkz.Goal.fire(Goal.java:639)
>         at com.werken.werkz.Goal.attain(Goal.java:575)
>         at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> 448)
>         at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
>         at org.apache.maven.cli.App.doMain(App.java:546)
>         at org.apache.maven.cli.App.main(App.java:1113)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> File...... file:/C:/Documents and
> Settings/itaeh/.maven/plugins/maven-jxr-plugi
> -1.3-SNAPSHOT/
> Element... jxr:jxr
> Line...... 32
> Column.... 221
> java.lang.NullPointerException
>
>
> Regards,
> Eng Hoe
> App Dev-DCS
> SGX-IT Division
>
> DID: (65) 62368963
> FAX: (65) 64388840
> email: enghoe@sgx.com
>
> Confidentiality Caution
> =======================
> Privileged/Confidential Information may be contained in this message. If
> you are not the addressee indicated in this message (or responsible for
> delivery of the message to such person), you may not copy or deliver this
> message to anyone. In such case, you should destroy this message and
kindly
> notify the sender by reply email. Opinions, conclusions and other
> information in this message that is not of an official nature shall be
> deemed as neither given nor endorsed by SGX unless indicated by an
> authorised representative independent of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org