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.

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

Reply via email to