From: Tim H. <tim...@gm...> - 2009-11-16 10:53:53
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> hi *,<br> first of all thanks for the work these guys put into that awesome project!<br> the issue: <br> after compiling with ant the conversion from a .net win console application (just writes hello world to the console) to xmlvmclr fails with a nullpointer exception. <br> debugging leads to some problem (?) with mbel.jar thus leading to the call of the unimplemented method XmlvmResource.getXmlvm() @ line 70 in ExeInputProcess.java. <br> that call happens at outputFiles.add(createOutputFromDocument(process.getXmlvm())) in XmlvmOutputProcess.java where getXmlvm simply returns null, the rest crashes.<br> enough of that selfmade stacktrace, down below the java exception message:<br> Exception in thread "main" java.lang.NullPointerException<br> at org.xmlvm.proc.out.XmlvmOutputProcess.createOutputFromDocument(XmlvmOutputProcess.java:66)<br> at org.xmlvm.proc.out.XmlvmOutputProcess.process(XmlvmOutputProcess.java:57)<br> at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:105)<br> at org.xmlvm.proc.NewMain.main(NewMain.java:55)<br> <code><br> any help highly appreciated!<br> <br> using .net 3.5, jdk 6 (re 1.6 update 7), xp sp3<br> from inside the dist directory the call looks like: java -jar xmlvm.jar --in=D:\test.exe -out=D:\ --target=xmlvm<br> <br> thanks,<br> TiM<br> </code> </body> </html> |