From: Sal <sv...@gm...> - 2011-01-20 22:37:27
|
I seem to have fixed the error by changing the following in XmlvmProcessImpl.java:131 XmlvmProcess<?> process = (XmlvmProcess<?>) //supportedClass.getConstructors()[0] <----- removed this and added below line supportedClass.getConstructor(arguments.getClass()) .newInstance(arguments); I hope it is correct? On Thu, Jan 20, 2011 at 5:11 PM, Sascha Haeberling <sa...@xm...> wrote: > Hi Sal, > > the error message is unfortunate and wrong. I think something is wrong with > your paths. Make sure the input file actually exists. My guess is that it > doesn't. > > Also the output path looks wrong. You use forward slashes. > > // Sascha > > > On Thu, Jan 20, 2011 at 11:08 PM, Sal <sv...@gm...> wrote: > >> After pulling the latest from SVN, I tried xmlvm using command >> parameters: >> >> --in=C:\dev\workspace2\xmlvm\bin\org\xmlvm\test\ReflectionTest.class >> --out=c:/tmp/test --target=iphone >> >> Execution gives the below exception. Am I doing anything wrong? I am >> going to proceed to debug - if I'm able to get it to work I'll be happy to >> submit a patch. Thanks much in advance for any tips!! >> >> [01/20/11 17:02:26.334] WARNING: Using test as application name >> [01/20/11 17:02:26.335] DEBUG: Forcing --enable_ref_counting for target >> IPHONE >> java.lang.IllegalArgumentException: wrong number of arguments >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) >> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown >> Source) >> at java.lang.reflect.Constructor.newInstance(Unknown Source) >> at >> org.xmlvm.proc.XmlvmProcessImpl.createInputInstances(XmlvmProcessImpl.java:127) >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> > |