- Code: Select all
Linking ...
java.lang.NullPointerException
at js.tinyvm.CodeUtilities.processMethod(CodeUtilities.java:388)
at js.tinyvm.CodeUtilities.processCode(CodeUtilities.java:743)
at js.tinyvm.MethodRecord.postProcessCode(MethodRecord.java:205)
at js.tinyvm.MethodRecord.postProcessCode(MethodRecord.java:143)
at js.tinyvm.ClassRecord.storeCode(ClassRecord.java:798)
at js.tinyvm.Binary.processCode(Binary.java:737)
at js.tinyvm.Binary.createFromClosureOf(Binary.java:326)
at js.tinyvm.TinyVMTool.link(TinyVMTool.java:97)
at js.tinyvm.TinyVMTool.link(TinyVMTool.java:48)
at lejos.pc.tools.NXJLink.start(NXJLink.java:134)
at lejos.pc.tools.NXJLink.run(NXJLink.java:101)
at lejos.pc.tools.NXJLink.start(NXJLink.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at lejos.pc.tools.ToolStarter.startTool(ToolStarter.java:31)
at lejos.pc.tools.NXJLink.main(NXJLink.java:28)
Linking the file failed with exit status 1
The weird thing is that the same code used to be fine a couple of days ago, until I suddenly started getting this error. I tried looking on the forum but only found this http://lejos.sourceforge.net/forum/viewtopic.php?f=7&t=2819 that was remotely related, although probably a different problem entirely. Any idea on what I can do to try and fix it? I'm not sure what this error is even referring to...
I am running Eclipse on a Mac OSX 10.7.4 with lejos 0.9.0 and Java SE 1.7 (64-bit). Any help would be greatly appreciated, let me know if you would like the code and I'll either try and post it or send it in another way.
Thanks!
