RE: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-29 Thread Maria Jose Esteve
Hi, it worked for me too. Thanks Alex.
Hiedra

-Mensaje original-
De: Piotr Zarzycki  
Enviado el: miércoles, 29 de diciembre de 2021 10:20
Para: Apache Royale Development 
Asunto: Re: Build of application failing with java exception - Internal error: 
java.lang.NullPointerException

Hi Alex,

Issue has been resolved after your commit. Thank you so much!

Piotr

śr., 29 gru 2021 o 03:55 Alex Harui  napisał(a):

> IIRC, libraries don't get integrated with the Closure Library.  That 
> only happens at the end of an Application compile.
>
> Looks like there was a whitelist of what Maven includes from Closure 
> Library.  I updated that list.  Hopefully that will help.
>
> -Alex
>
> On 12/28/21, 2:08 PM, "Maria Jose Esteve"  wrote:
>
> It's funny, the compilation of my library (made up of more than 15 
> Maven modules) compiles without errors...
>
> Hiedra
>
> -Mensaje original-
> De: Maria Jose Esteve 
> Enviado el: martes, 28 de diciembre de 2021 23:00
> Para: dev@royale.apache.org
> Asunto: RE: Build of application failing with java exception - 
> Internal error: java.lang.NullPointerException
>
> Hi, I just compiled the sdk with the latest commits. Before the 
> compilation I have removed the folder you comment, Alex, royale-asjs/js/lib.
> The SDK has been built correctly and I don't see any new errors 
> that I didn't get before today.
> The problem, just as it happens to Piotr, is the compilation of my 
> application, now it throws the following error:
>
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-app
> (default-compile-app) @ royalelogin --- [INFO] Executing MXMLC in tool 
> group Royale with args:
> [-load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\roy
> alelogin\target\compile-app-config.xml,
> -js-default-initializers=true, -source-map=true, 
> -js-dynamic-access-unknown-members=true,
> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct
> -keep-as3-metadata+,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transien
> -keep-as3-metadata+t,
> -keep-code-with-metadata=Inject, -show-binding-warnings=false, 
> -export-public-symbols=false, -prevent-rename-protected-symbols=false,
> -prevent-rename-internal-symbols=false,
> -prevent-rename-public-static-methods=false,
> -prevent-rename-public-instance-methods=false,
> -js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royale
> login\target\javascript,
> -compiler.targets=JSRoyale,
> D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml]
> got null for string/typedstring.js
> got null for string/const.js
> got null for i18n/bidi.js
> got null for html/trustedresourceurl.js
> got null for fs/url.js
> got null for html/safeurl.js
> got null for html/safestyle.js
> got null for html/safestylesheet.js
> got null for html/safescript.js
> got null for dom/tags.js
> got null for dom/htmlelement.js
> got null for dom/tagname.js
> got null for html/safehtml.js
> got null for html/uncheckedconversions.js got null for 
> html/sanitizer/tagwhitelist.js got null for 
> html/sanitizer/tagblacklist.js got null for math/size.js got null for 
> math/math.js got null for math/coordinate.js got null for 
> dom/asserts.js got null for dom/safe.js got null for 
> dom/browserfeature.js got null for dom/dom.js got null for 
> html/sanitizer/csssanitizer.js got null for 
> html/sanitizer/attributewhitelist.js
> got null for functions/functions.js
> got null for html/sanitizer/htmlsanitizer.js Internal error:
> java.lang.NullPointerException
> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com
> .google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)co
> m.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apac
> he.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCom
> pilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml
> .royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.a
> pache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java
> :447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXML
> JSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.ma
> inNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXM
> LJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.M
> XMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.
> MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.exec
> ute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(C
> ompileAppMojo.j

Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-29 Thread Piotr Zarzycki
Hi Alex,

Issue has been resolved after your commit. Thank you so much!

Piotr

śr., 29 gru 2021 o 03:55 Alex Harui  napisał(a):

> IIRC, libraries don't get integrated with the Closure Library.  That only
> happens at the end of an Application compile.
>
> Looks like there was a whitelist of what Maven includes from Closure
> Library.  I updated that list.  Hopefully that will help.
>
> -Alex
>
> On 12/28/21, 2:08 PM, "Maria Jose Esteve"  wrote:
>
> It's funny, the compilation of my library (made up of more than 15
> Maven modules) compiles without errors...
>
> Hiedra
>
> -Mensaje original-
> De: Maria Jose Esteve 
> Enviado el: martes, 28 de diciembre de 2021 23:00
> Para: dev@royale.apache.org
> Asunto: RE: Build of application failing with java exception -
> Internal error: java.lang.NullPointerException
>
> Hi, I just compiled the sdk with the latest commits. Before the
> compilation I have removed the folder you comment, Alex, royale-asjs/js/lib.
> The SDK has been built correctly and I don't see any new errors that I
> didn't get before today.
> The problem, just as it happens to Piotr, is the compilation of my
> application, now it throws the following error:
>
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-app
> (default-compile-app) @ royalelogin --- [INFO] Executing MXMLC in tool
> group Royale with args:
> [-load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\compile-app-config.xml,
> -js-default-initializers=true, -source-map=true,
> -js-dynamic-access-unknown-members=true,
> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient,
> -keep-code-with-metadata=Inject, -show-binding-warnings=false,
> -export-public-symbols=false, -prevent-rename-protected-symbols=false,
> -prevent-rename-internal-symbols=false,
> -prevent-rename-public-static-methods=false,
> -prevent-rename-public-instance-methods=false,
> -js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\javascript,
> -compiler.targets=JSRoyale,
> D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml]
> got null for string/typedstring.js
> got null for string/const.js
> got null for i18n/bidi.js
> got null for html/trustedresourceurl.js
> got null for fs/url.js
> got null for html/safeurl.js
> got null for html/safestyle.js
> got null for html/safestylesheet.js
> got null for html/safescript.js
> got null for dom/tags.js
> got null for dom/htmlelement.js
> got null for dom/tagname.js
> got null for html/safehtml.js
> got null for html/uncheckedconversions.js got null for
> html/sanitizer/tagwhitelist.js got null for html/sanitizer/tagblacklist.js
> got null for math/size.js got null for math/math.js got null for
> math/coordinate.js got null for dom/asserts.js got null for dom/safe.js got
> null for dom/browserfeature.js got null for dom/dom.js got null for
> html/sanitizer/csssanitizer.js got null for
> html/sanitizer/attributewhitelist.js
> got null for functions/functions.js
> got null for html/sanitizer/htmlsanitizer.js Internal error:
> java.lang.NullPointerException
> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.a

Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Alex Harui
IIRC, libraries don't get integrated with the Closure Library.  That only 
happens at the end of an Application compile.

Looks like there was a whitelist of what Maven includes from Closure Library.  
I updated that list.  Hopefully that will help.

-Alex

On 12/28/21, 2:08 PM, "Maria Jose Esteve"  wrote:

It's funny, the compilation of my library (made up of more than 15 Maven 
modules) compiles without errors...

Hiedra

-Mensaje original-
De: Maria Jose Esteve  
Enviado el: martes, 28 de diciembre de 2021 23:00
Para: dev@royale.apache.org
    Asunto: RE: Build of application failing with java exception - Internal 
error: java.lang.NullPointerException

Hi, I just compiled the sdk with the latest commits. Before the compilation 
I have removed the folder you comment, Alex, royale-asjs/js/lib.
The SDK has been built correctly and I don't see any new errors that I 
didn't get before today.
The problem, just as it happens to Piotr, is the compilation of my 
application, now it throws the following error:

[INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-app 
(default-compile-app) @ royalelogin --- [INFO] Executing MXMLC in tool group 
Royale with args: 
[-load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\compile-app-config.xml,
 -js-default-initializers=true, -source-map=true, 
-js-dynamic-access-unknown-members=true, 
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient,
 -keep-code-with-metadata=Inject, -show-binding-warnings=false, 
-export-public-symbols=false, -prevent-rename-protected-symbols=false, 
-prevent-rename-internal-symbols=false, 
-prevent-rename-public-static-methods=false, 
-prevent-rename-public-instance-methods=false, 
-js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\javascript,
 -compiler.targets=JSRoyale, 
D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml]
got null for string/typedstring.js
got null for string/const.js
got null for i18n/bidi.js
got null for html/trustedresourceurl.js
got null for fs/url.js
got null for html/safeurl.js
got null for html/safestyle.js
got null for html/safestylesheet.js
got null for html/safescript.js
got null for dom/tags.js
got null for dom/htmlelement.js
got null for dom/tagname.js
got null for html/safehtml.js
got null for html/uncheckedconversions.js got null for 
html/sanitizer/tagwhitelist.js got null for html/sanitizer/tagblacklist.js got 
null for math/size.js got null for math/math.js got null for math/coordinate.js 
got null for dom/asserts.js got null for dom/safe.js got null for 
dom/browserfeature.js got null for dom/dom.js got null for 
html/sanitizer/csssanitizer.js got null for html/sanitizer/attributewhitelist.js
got null for functions/functions.js
got null for html/sanitizer/htmlsanitizer.js Internal error: 
java.lang.NullPointerException 
com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMave

RE: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Maria Jose Esteve
It's funny, the compilation of my library (made up of more than 15 Maven 
modules) compiles without errors...

Hiedra

-Mensaje original-
De: Maria Jose Esteve  
Enviado el: martes, 28 de diciembre de 2021 23:00
Para: dev@royale.apache.org
Asunto: RE: Build of application failing with java exception - Internal error: 
java.lang.NullPointerException

Hi, I just compiled the sdk with the latest commits. Before the compilation I 
have removed the folder you comment, Alex, royale-asjs/js/lib.
The SDK has been built correctly and I don't see any new errors that I didn't 
get before today.
The problem, just as it happens to Piotr, is the compilation of my application, 
now it throws the following error:

[INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-app (default-compile-app) 
@ royalelogin --- [INFO] Executing MXMLC in tool group Royale with args: 
[-load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\compile-app-config.xml,
 -js-default-initializers=true, -source-map=true, 
-js-dynamic-access-unknown-members=true, 
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient,
 -keep-code-with-metadata=Inject, -show-binding-warnings=false, 
-export-public-symbols=false, -prevent-rename-protected-symbols=false, 
-prevent-rename-internal-symbols=false, 
-prevent-rename-public-static-methods=false, 
-prevent-rename-public-instance-methods=false, 
-js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\javascript,
 -compiler.targets=JSRoyale, 
D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml]
got null for string/typedstring.js
got null for string/const.js
got null for i18n/bidi.js
got null for html/trustedresourceurl.js
got null for fs/url.js
got null for html/safeurl.js
got null for html/safestyle.js
got null for html/safestylesheet.js
got null for html/safescript.js
got null for dom/tags.js
got null for dom/htmlelement.js
got null for dom/tagname.js
got null for html/safehtml.js
got null for html/uncheckedconversions.js got null for 
html/sanitizer/tagwhitelist.js got null for html/sanitizer/tagblacklist.js got 
null for math/size.js got null for math/math.js got null for math/coordinate.js 
got null for dom/asserts.js got null for dom/safe.js got null for 
dom/browserfeature.js got null for dom/dom.js got null for 
html/sanitizer/csssanitizer.js got null for html/sanitizer/attributewhitelist.js
got null for functions/functions.js
got null for html/sanitizer/htmlsanitizer.js Internal error: 
java.lang.NullPointerException 
com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)org.apache.maven.cli.MavenCli.main(MavenCli.java:196)sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 
Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke

RE: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Maria Jose Esteve
: Alex Harui  
Enviado el: martes, 28 de diciembre de 2021 21:17
Para: dev@royale.apache.org
Asunto: Re: Build of application failing with java exception - Internal error: 
java.lang.NullPointerException

If you are building the SDK yourself, delete the royale-asjs/js/lib folder and 
rebuild. You need for force a new download and unzip of Google Closure Library.

On 12/28/21, 7:48 AM, "Piotr Zarzycki"  wrote:

Hi Guys,

Some of latest changes causing build failure for our application. We are
building with debug=false by Maven. Debug build is working perfectly.
Anything familiar in this exception ?

: got null for string/typedstring.js
: got null for string/const.js
: got null for i18n/bidi.js
: got null for html/trustedresourceurl.js
: got null for fs/url.js
: got null for html/safeurl.js
: got null for html/safestyle.js
: got null for html/safestylesheet.js
: got null for html/safescript.js
: got null for dom/tags.js
: got null for dom/htmlelement.js
: got null for dom/tagname.js
: got null for html/safehtml.js
: got null for html/uncheckedconversions.js
: got null for html/sanitizer/tagwhitelist.js
: got null for html/sanitizer/tagblacklist.js
: got null for math/size.js
: got null for math/math.js
: got null for math/coordinate.js
: got null for dom/asserts.js
: got null for dom/safe.js
: got null for dom/browserfeature.js
: got null for dom/dom.js
: got null for html/sanitizer/csssanitizer.js
: got null for html/sanitizer/attributewhitelist.js
: got null for functions/functions.js
: got null for html/sanitizer/htmlsanitizer.js
: Internal error: java.lang.NullPointerException

com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native

Method)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.base/java.lang.reflect.Method.invoke(Method.java:566)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Thanks,
-- 

Piotr Zarzycki



Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Piotr Zarzycki
I’m sorry I meant that I don’t build SDK on my own.

On Tue, 28 Dec 2021 at 22:40, Piotr Zarzycki 
wrote:

> No I don’t build my SDK on my own. I’m building my app based on what is in
> Apache Maven Central.
>
> On Tue, 28 Dec 2021 at 21:17, Alex Harui  wrote:
>
>> If you are building the SDK yourself, delete the royale-asjs/js/lib
>> folder and rebuild. You need for force a new download and unzip of Google
>> Closure Library.
>>
>> On 12/28/21, 7:48 AM, "Piotr Zarzycki" 
>> wrote:
>>
>> Hi Guys,
>> Some of latest changes causing build failure for our application. We
>> are
>> building with debug=false by Maven. Debug build is working perfectly.
>> Anything familiar in this exception ?
>>
>> : got null for string/typedstring.js
>> : got null for string/const.js
>> : got null for i18n/bidi.js
>> : got null for html/trustedresourceurl.js
>> : got null for fs/url.js
>> : got null for html/safeurl.js
>> : got null for html/safestyle.js
>> : got null for html/safestylesheet.js
>> : got null for html/safescript.js
>> : got null for dom/tags.js
>> : got null for dom/htmlelement.js
>> : got null for dom/tagname.js
>> : got null for html/safehtml.js
>> : got null for html/uncheckedconversions.js
>> : got null for html/sanitizer/tagwhitelist.js
>> : got null for html/sanitizer/tagblacklist.js
>> : got null for math/size.js
>> : got null for math/math.js
>> : got null for math/coordinate.js
>> : got null for dom/asserts.js
>> : got null for dom/safe.js
>> : got null for dom/browserfeature.js
>> : got null for dom/dom.js
>> : got null for html/sanitizer/csssanitizer.js
>> : got null for html/sanitizer/attributewhitelist.js
>> : got null for functions/functions.js
>> : got null for html/sanitizer/htmlsanitizer.js
>> : Internal error: java.lang.NullPointerException
>>
>> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>>
>> Method)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.base/java.lang.reflect.Method.invoke(Method.java:566)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>>
>> Thanks,
>> --
>>
>> Piotr Zarzycki
>>
>> --
>
> Piotr Zarzycki
>
-- 

Piotr Zarzycki


Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Piotr Zarzycki
No I don’t build my SDK on my own. I’m building my app based on what is in
Apache Maven Central.

On Tue, 28 Dec 2021 at 21:17, Alex Harui  wrote:

> If you are building the SDK yourself, delete the royale-asjs/js/lib folder
> and rebuild. You need for force a new download and unzip of Google Closure
> Library.
>
> On 12/28/21, 7:48 AM, "Piotr Zarzycki"  wrote:
>
> Hi Guys,
> Some of latest changes causing build failure for our application. We
> are
> building with debug=false by Maven. Debug build is working perfectly.
> Anything familiar in this exception ?
>
> : got null for string/typedstring.js
> : got null for string/const.js
> : got null for i18n/bidi.js
> : got null for html/trustedresourceurl.js
> : got null for fs/url.js
> : got null for html/safeurl.js
> : got null for html/safestyle.js
> : got null for html/safestylesheet.js
> : got null for html/safescript.js
> : got null for dom/tags.js
> : got null for dom/htmlelement.js
> : got null for dom/tagname.js
> : got null for html/safehtml.js
> : got null for html/uncheckedconversions.js
> : got null for html/sanitizer/tagwhitelist.js
> : got null for html/sanitizer/tagblacklist.js
> : got null for math/size.js
> : got null for math/math.js
> : got null for math/coordinate.js
> : got null for dom/asserts.js
> : got null for dom/safe.js
> : got null for dom/browserfeature.js
> : got null for dom/dom.js
> : got null for html/sanitizer/csssanitizer.js
> : got null for html/sanitizer/attributewhitelist.js
> : got null for functions/functions.js
> : got null for html/sanitizer/htmlsanitizer.js
> : Internal error: java.lang.NullPointerException
>
> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>
> Method)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.base/java.lang.reflect.Method.invoke(Method.java:566)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> --

Piotr Zarzycki


Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Alex Harui
If you are building the SDK yourself, delete the royale-asjs/js/lib folder and 
rebuild. You need for force a new download and unzip of Google Closure Library.

On 12/28/21, 7:48 AM, "Piotr Zarzycki"  wrote:

Hi Guys,

Some of latest changes causing build failure for our application. We are
building with debug=false by Maven. Debug build is working perfectly.
Anything familiar in this exception ?

: got null for string/typedstring.js
: got null for string/const.js
: got null for i18n/bidi.js
: got null for html/trustedresourceurl.js
: got null for fs/url.js
: got null for html/safeurl.js
: got null for html/safestyle.js
: got null for html/safestylesheet.js
: got null for html/safescript.js
: got null for dom/tags.js
: got null for dom/htmlelement.js
: got null for dom/tagname.js
: got null for html/safehtml.js
: got null for html/uncheckedconversions.js
: got null for html/sanitizer/tagwhitelist.js
: got null for html/sanitizer/tagblacklist.js
: got null for math/size.js
: got null for math/math.js
: got null for math/coordinate.js
: got null for dom/asserts.js
: got null for dom/safe.js
: got null for dom/browserfeature.js
: got null for dom/dom.js
: got null for html/sanitizer/csssanitizer.js
: got null for html/sanitizer/attributewhitelist.js
: got null for functions/functions.js
: got null for html/sanitizer/htmlsanitizer.js
: Internal error: java.lang.NullPointerException

com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:228)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:383)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:112)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native

Method)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.base/java.lang.reflect.Method.invoke(Method.java:566)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Thanks,
-- 

Piotr Zarzycki