Hi,
I think this is a problem with lejos rather than LMS (the mindstorms simulator) because my LMS runs the examples fine.
I'm running Windows Vista Basic and I had Java 1.6 so I rolled back to 1.4.2, installed lejos, etc. And everything works fine - I write a program and compile it with lejosjc and put it in a jar, etc.
BUT when press "start" in LMS it says the following bad things in the LMS log window:
01:26:24.368 DEBUG ConnectionObject$StreamGobbler at de.upb.lms.lejos.controller.ProgramThread.<init>(ProgramThread.java:70)
01:26:24.374 DEBUG ConnectionObject$StreamGobbler at de.upb.lms.lejos.rmi.LejosServerImpl.startProgram(LejosServerImpl.java:191)
01:26:24.375 DEBUG ConnectionObject$StreamGobbler at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:26:24.376 DEBUG ConnectionObject$StreamGobbler at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:26:24.377 DEBUG ConnectionObject$StreamGobbler at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:26:24.378 DEBUG ConnectionObject$StreamGobbler at java.lang.reflect.Method.invoke(Unknown Source)
01:26:24.379 DEBUG ConnectionObject$StreamGobbler at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
01:26:24.380 DEBUG ConnectionObject$StreamGobbler at sun.rmi.transport.Transport$1.run(Unknown Source)
01:26:24.381 DEBUG ConnectionObject$StreamGobbler at java.security.AccessController.doPrivileged(Native Method)
01:26:24.382 DEBUG ConnectionObject$StreamGobbler at sun.rmi.transport.Transport.serviceCall(Unknown Source)
01:26:24.384 DEBUG ConnectionObject$StreamGobbler at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
01:26:24.384 DEBUG ConnectionObject$StreamGobbler at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
01:26:24.385 DEBUG ConnectionObject$StreamGobbler at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
01:26:24.386 DEBUG ConnectionObject$StreamGobbler at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
01:26:24.387 DEBUG ConnectionObject$StreamGobbler at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
01:26:24.388 DEBUG ConnectionObject$StreamGobbler at java.lang.Thread.run(Unknown Source)
01:26:24.389 DEBUG ConnectionObject$StreamGobbler ProgramThread - Static method main could not be invoked
01:26:24.390 DEBUG ConnectionObject$StreamGobbler ProgramThread -
01:26:24.392 DEBUG ConnectionObject$StreamGobbler java.lang.NullPointerException
01:26:24.393 DEBUG ConnectionObject$StreamGobbler at de.upb.lms.lejos.controller.ProgramThread.run(ProgramThread.java:95)
Please help - I can't see any problem with my manifest file, my program; the compiler sees no problem with the program... it does it with even the simplest of programs. Thanks millions, in advance...
