tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kukulies <k...@gilberto.physik.RWTH-Aachen.DE>
Subject Re: Runtime.exec Nullpointer Exception
Date Thu, 16 Nov 2000 08:05:32 GMT
On Thu, Nov 16, 2000 at 08:26:50AM +0100, Ralph Einfeldt wrote:
> Guess:
>   the cause is cmdarray[5]=null;
> 
>   I think the arguments to exec are not null terminated 
>   arrays is in c(++).
>   So you have to define the arrays with a size that meets 
>   your argument count.

Ah, that was the culprit! Old C habit on my side. But I think
there is a difference in behaviour between the java versions
WRT this.

> 
> If not, what about a stacktrace? 
> At which line is the Exception thrown ?
> 
> e.printStackTrace();
> 
> > -----Urspr√ľngliche Nachricht-----
> > Von: Christoph Kukulies [mailto:kuku@gilberto.physik.rwth-aachen.de]
> > Gesendet: Mittwoch, 15. November 2000 19:14
> > An: tomcat-user@jakarta.apache.org
> > Betreff: Runtime.exec Nullpointer Exception

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de

Mime
View raw message