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:[EMAIL PROTECTED]]
> > Gesendet: Mittwoch, 15. November 2000 19:14
> > An: [EMAIL PROTECTED]
> > Betreff: Runtime.exec Nullpointer Exception

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Reply via email to