Thanks.
I discovered that the problem is due to an empty Java file among my source
files. Anyway to handle such exception in a more graceful manner? Tracing
of null pointer exception is always a pain (IMO), especially if you don't
know what's going on behind the codes.
Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division
DID: (65) 62368963
FAX: (65) 64388840
email: [EMAIL PROTECTED]
"Emmanuel
Venisse" To: "Maven Users List" <[EMAIL
PROTECTED]>
<[EMAIL PROTECTED] cc:
sse.net> Subject: Re: Jxr nullpointerexception
16/12/2003
05:54 PM
Please respond
to "Maven
Users List"
Perhaps a class in a package that doesn't match to the directory structure.
Emmanuel
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]