You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by la...@masq.ca on 2002/05/23 18:13:20 UTC

NullPointerException on Windows when executin runservertask

HI,

I'm a Linux user and I see this problem on one of my colleagues' machine,
who is on Windows. Has anyone ever seen this? It appears even before the
"Starting Weblogic Server" message.

L


cactustests:

BUILD FAILED

java.lang.NullPointerException
        at
sun.net.www.http.ChunkedInputStream.readChunkSize(ChunkedInputStream.
java:162)
        at
sun.net.www.http.ChunkedInputStream.prefill(ChunkedInputStream.java:1
87)
        at
sun.net.www.http.ChunkedInputStream.<init>(ChunkedInputStream.java:94
)
        at
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:749)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:613)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:506)
        at org.apache.cactus.ant.StartServerHelper.readFully(Unknown
Source)
        at org.apache.cactus.ant.StopServerHelper.execute(Unknown
Source)
        at org.apache.cactus.ant.RunServerTestsTask.callStop(Unknown
Source)
        at org.apache.cactus.ant.RunServerTestsTask.execute(Unknown
Source)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NullPointerException on Windows when executin runservertask

Posted by Vincent Massol <vm...@octo.com>.
Hi Laurent,

It's a bit difficult to diagnosis your problem without more information.
The way to go forward is by enabling Cactus logs and checking the
generated cactus_client.log file. It should provide more information.

Thanks
-Vincent

> -----Original Message-----
> From: laurent.duperval@masq.ca [mailto:laurent.duperval@masq.ca]
> Sent: 23 May 2002 17:13
> To: Cactus Mailing List
> Subject: NullPointerException on Windows when executin runservertask
> 
> HI,
> 
> I'm a Linux user and I see this problem on one of my colleagues'
machine,
> who is on Windows. Has anyone ever seen this? It appears even before
the
> "Starting Weblogic Server" message.
> 
> L
> 
> 
> cactustests:
> 
> BUILD FAILED
> 
> java.lang.NullPointerException
>         at
> sun.net.www.http.ChunkedInputStream.readChunkSize(ChunkedInputStream.
> java:162)
>         at
> sun.net.www.http.ChunkedInputStream.prefill(ChunkedInputStream.java:1
> 87)
>         at
> sun.net.www.http.ChunkedInputStream.<init>(ChunkedInputStream.java:94
> )
>         at
> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:749)
>         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:613)
>         at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
> nection.java:506)
>         at org.apache.cactus.ant.StartServerHelper.readFully(Unknown
> Source)
>         at org.apache.cactus.ant.StopServerHelper.execute(Unknown
> Source)
>         at org.apache.cactus.ant.RunServerTestsTask.callStop(Unknown
> Source)
>         at org.apache.cactus.ant.RunServerTestsTask.execute(Unknown
> Source)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:184)
>         at org.apache.tools.ant.Target.performTasks(Target.java:202)
>         at
org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at
org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>