Hi Alex,

I just wanted to report the issue in case it is missed, no urgent need for any fix.

Thanks.

Serkan

1.10.2018 21:51 tarihinde Alex Harui yazdı:

Hi Serkan,

There lots of bugs in Royale.  We (and all Apache projects) are volunteer driven. There is no corporation paying lots of employees with a testing team and documentation team.  So any bug with a reasonable workaround will not get much priority.

You are welcome to propose pull-requests if you need something fixed sooner rather than later.

Thanks,

-Alex

*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Monday, October 1, 2018 at 11:46 AM
*To: *"[email protected]" <[email protected]>
*Subject: *mxmlc compiler gets java.lang.NullPointerException

Hi,

When trying to compile my project with the line below i got  java.lang.NullPointerException. I know it is not correct to put empty variable as library path but it should not get exception i assume :)

export PNRLIBS=

$COMPILER_PATH/mxmlc $MAINCLASS -library-path+=$PNRLIBS -js-library-path+=$PNRLIBS -source-path=$SRCPATH -services=$SRVCFG -locale+=tr_TR  -o .\PinaraUI.swf

pinara18@ubuntu-relman:~/royale$ ./build_pinara.sh
Using Royale Compiler codebase: /home/pinara18/royale/apache-royale-0.9.4-bin-js-swf/royale-asjs/js/bin/../.. Using Royale SDK: /home/pinara18/royale/apache-royale-0.9.4-bin-js-swf/royale-asjs/js/bin/../..
MXMLJSC
+royalelib=/home/pinara18/royale/apache-royale-0.9.4-bin-js-swf/royale-asjs/js/bin/../../frameworks
-sdk-js-lib=/home/pinara18/royale/apache-royale-0.9.4-bin-js-swf/royale-asjs/js/bin/../../frameworks/js/Royale/generated-sources
/home/pinara18/royale/pinaraui-royale/PinaraUI/src/com/likya/pinara/main/PinaraUI.mxml
-library-path+=
-js-library-path+=
-source-path=/home/pinara18/royale/pinaraui-royale/PinaraUI/src,/home/pinara18/royale/pinaraui-royale/PinaraUI/locale/{locale}
-services=/home/pinara18/royale/services-config.xml
-locale+=tr_TR
-o
.PinaraUI.swf
Loading configuration: /home/pinara18/royale/apache-royale-0.9.4-bin-js-swf/royale-asjs/frameworks/royale-config.xml

........

Internal error: java.lang.NullPointerException org.apache.royale.compiler.internal.targets.RoyaleAppSWFTarget$FlexDelegate.addGeneratedFlexInitToFrame(RoyaleAppSWFTarget.java:1704)
org.apache.royale.compiler.internal.targets.RoyaleAppSWFTarget$FlexDelegate.addGeneratedCodeToMainApplicationFrame(RoyaleAppSWFTarget.java:1235)
org.apache.royale.compiler.internal.targets.RoyaleAppSWFTarget$RoyaleApplicationFramesInformation.createFrames(RoyaleAppSWFTarget.java:778)org.apache.royale.compiler.internal.targets.SWFTarget.build(SWFTarget.java:259)
org.apache.royale.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:797)org.apache.royale.compiler.clients.MXMLC.buildArtifact(MXMLC.java:783)org.apache.royale.compiler.clients.MXMLC.compile(MXMLC.java:644)
org.apache.royale.compiler.clients.MXMLC.compile(MXMLC.java:624)org.apache.royale.compiler.clients.MXMLC.mainNoExit(MXMLC.java:237)org.apache.royale.compiler.clients.MXMLC.mainNoExit(MXMLC.java:202)
org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:355)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)


Reply via email to