Hi Serkan,

I just pushed a change to the compiler to try to report which class it could 
not find JS files for.  It will take at least 2 hours for it to show up in the 
nightly, maybe even more if we get an intermittent build failure.

AFAICT, you have resolved or worked around all other issues on the other 
threads?

-Alex

From: Alex Harui <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Saturday, October 20, 2018 at 11:08 PM
To: "[email protected]" <[email protected]>
Subject: Re: compiler error

I won’t have time to look into it for another 24 hours or so, but in general, 
if GoogDepsWriter is blowing up, it is a problem with which SWCs are on the 
library-path vs external-library-path or something wrong with a SWC on the 
library-path not having JS files in it, or some thing like that.  By default 
the SWF gets built first, then the JS and the MXMLRoyalePublisher tries to 
gather JS files from the SWCs via GoogDepsWriter.

HTH,
-Alex

From: Serkan Taş <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Saturday, October 20, 2018 at 12:46 AM
To: "[email protected]" <[email protected]>
Subject: compiler error

Hi,

I created a sample and simple project for test purposes.  When i compile the 
project i get en error :

Internal error: java.lang.NullPointerException 
org.apache.royale.compiler.internal.graph.GoogDepsWriter.sortFunction(GoogDepsWriter.java:317)org.apache.royale.compiler.internal.graph.GoogDepsWriter.sortFunction(GoogDepsWriter.java:396)
org.apache.royale.compiler.internal.graph.GoogDepsWriter.sort(GoogDepsWriter.java:285)org.apache.royale.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:101)
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:421)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:403)
org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:250)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:207)
org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:365)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:300)
org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:259)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:241)

Although i have an error, Main.swf file is generated.

Here is the repo on github. You may find the build.bat file for compiling.

Thanks
Serkan





Reply via email to