when compiling to swf8, there are no compilation warnings. an error in a lzx class shouldn't lead to a NullPointerException in Java. i'll try the laszlo-dev group on this.
On Mar 7, 2012, at 11:40 AM, [email protected] wrote: > That could be actually a LZX client side error. > I have been facing this error when using a LZX class that was not defined. > You should be looking at the index.lzx. The problem is in there. > > Sebastian > > 2012/3/7 augusto callejas <[email protected]> > hi- > > i'm attempting to compile a laszlo file via the browser at this address: > > /index.lzx?lzr=swf10 > > generates this error: > > ==== > java.lang.NullPointerException > at > org.openlaszlo.sc.SWF9External.callJavaCompileCommand(SWF9External.java:925) > at > org.openlaszlo.sc.SWF9External.compileTranslationUnits(SWF9External.java:1249) > at > org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1048) > at org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:61) > at org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:548) > at org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:494) > at org.openlaszlo.compiler.Compiler.compile(Compiler.java:481) > at org.openlaszlo.compiler.Compiler.compile(Compiler.java:199) > at > org.openlaszlo.cm.CompilationManager.compileItem(CompilationManager.java:735) > at > org.openlaszlo.cm.CompilationManager.getItem(CompilationManager.java:459) > at > org.openlaszlo.cm.CompilationManager.getLastModified(CompilationManager.java:427) > at > org.openlaszlo.servlets.responders.ResponderCompile.getLastModified(ResponderCompile.java:401) > at > org.openlaszlo.servlets.responders.ResponderCompile.respondImpl(ResponderCompile.java:185) > at > org.openlaszlo.servlets.responders.Responder.respond(Responder.java:266) > at org.openlaszlo.servlets.LZServlet._doGet(LZServlet.java:437) > at org.openlaszlo.servlets.LZServlet.doGet(LZServlet.java:351) > ==== > > looking at the code: > > ==== > if (exitval[0].intValue() != 0) { > System.err.println("FAIL: compiler returned " + > exitval[0].intValue()); > } > ==== > > looks like exitval is null or exitval[0] is null? > > any help appreciated. > > thanks, > augusto. > > > > -- > Sebastian Wagner > http://www.openmeetings.de > http://incubator.apache.org/openmeetings/ > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected]
