royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Cruz" <car...@nbtbizcapital.com>
Subject RE: FlexJS SDK
Date Sun, 29 Oct 2017 17:08:41 GMT
Both machines have a several Flex SDKs but the one I’m using to test is SDK FlashJS 0.8.0
installed with the installer;

 

I’m including the full error output in case it’s helpful. FB 4.7 and FB 4.6 produce slightly
different messages. 

 

Flash Builder 4.7 

Message: Uncaught exception in compiler Plug-in: com.adobe.flexbuilder.project

Exception stack trace:

ava.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/ErrorManager : Unsupported
major.minor version 51.0

                at java.lang.ClassLoader.defineClass1(Native Method)

                at java.lang.ClassLoader.defineClassCond(Unknown Source)

                at java.lang.ClassLoader.defineClass(Unknown Source)

                at java.security.SecureClassLoader.defineClass(Unknown Source)

                at java.net.URLClassLoader.defineClass(Unknown Source)

                at java.net.URLClassLoader.access$000(Unknown Source)

                at java.net.URLClassLoader$1.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.net.URLClassLoader.findClass(Unknown Source)

                at com.adobe.flexbuilder.project.sdks.FlexClassLoader.findClass(FlexClassLoader.java:159)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(FlexClassLoader.java:129)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at org.apache.flex.compiler.internal.driver.mxml.flexjs.MXMLFlexJSBackend.createPublisher(MXMLFlexJSBackend.java:128)

                at org.apache.flex.compiler.internal.driver.mxml.flexjs.MXMLFlexJSBackend.createPublisher(MXMLFlexJSBackend.java:62)

                at org.apache.flex.compiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:327)

                at org.apache.flex.compiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:245)

                at org.apache.flex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:202)

                at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:352)

                at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:287)

                at flex2.tools.oem.Application.compile(Application.java:638)

                at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:366)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:309)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.java:128)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:203)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:93)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:708)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:412)

                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:171)

                at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)

                at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

                at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)

                at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)

                at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)

                at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)

                at org.eclipse.jdt.internal.ui.util.CoreUtility$BuildJob.run(CoreUtility.java:165)

                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

 

Session Data:

eclipse.buildId=M20110909-1335

java.version=1.6.0_31

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Command-line arguments:  -os win32 -ws win32 -arch x86_64

 

FYI the installed Java is Java 1.8 JDK

 

 

Flash Builder 4.6

Error 1: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"

 

Exception stack trace

java.lang.NoClassDefFoundError: flex2/tools/oem/OEMException$CircularLibraryDependencyException

                at java.lang.Class.getDeclaredConstructors0(Native Method)

                at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

                at java.lang.Class.getConstructor0(Unknown Source)

                at java.lang.Class.newInstance0(Unknown Source)

                at java.lang.Class.newInstance(Unknown Source)

                at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java:945)

                at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java:930)

                at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.computeCompilerLibraryPath(ActionScriptProjectSettings.java:1620)

                at com.adobe.flexbuilder.project.compiler.internal.BuilderUtils.copyAndOptimizeRSLs(BuilderUtils.java:130)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:451)

                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)

                at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)

                at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

                at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)

                at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)

                at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)

                at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)

                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: java.lang.ClassNotFoundException: flex2.tools.oem.OEMException$CircularLibraryDependencyException

                at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)

                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(FlexClassLoader.java:133)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at java.lang.ClassLoader.loadClassInternal(Unknown Source)

                ... 23 more

 

Session Data

eclipse.buildId=I20100608-0911

java.version=1.6.0_16

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

Command-line arguments:  -os win32 -ws win32 -arch x86

 

 

Error 2:Uncaught exception in compiler

 

Exception stack trace:

java.lang.NoClassDefFoundError: flex2/tools/oem/OEMException$CircularLibraryDependencyException

                at java.lang.Class.getDeclaredConstructors0(Native Method)

                at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

                at java.lang.Class.getConstructor0(Unknown Source)

                at java.lang.Class.newInstance0(Unknown Source)

                at java.lang.Class.newInstance(Unknown Source)

                at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java:945)

                at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java:930)

                at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.computeCompilerLibraryPath(ActionScriptProjectSettings.java:1620)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.applySettings(ASBuilder.java:357)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.setup(ASApplicationBuilder.java:65)

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.setup(ASItemBuilder.java:50)

                at com.adobe.flexbuilder.project.compiler.BuilderFactory.createBuilderWithData(BuilderFactory.java:77)

                at com.adobe.flexbuilder.project.compiler.BuilderFactory.createBuilder(BuilderFactory.java:86)

                at com.adobe.flexbuilder.project.compiler.BuilderManager.getBuilder(BuilderManager.java:190)

                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.preBuild(FlexIncrementalBuilder.java:491)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:604)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:382)

                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)

                at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)

                at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

                at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)

                at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)

                at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)

                at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)

                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: java.lang.ClassNotFoundException: flex2.tools.oem.OEMException$CircularLibraryDependencyException

                at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)

                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(FlexClassLoader.java:133)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at java.lang.ClassLoader.loadClassInternal(Unknown Source)

                ... 30 more

 

Session Data

eclipse.buildId=I20100608-0911

java.version=1.6.0_16

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

Command-line arguments:  -os win32 -ws win32 -arch x86

 

Java installed Java 1.7 JDK

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Sunday, October 29, 2017 1:40 AM
To: users@royale.apache.org
Subject: Re: FlexJS SDK

 

Hi Carlos.

 

What version of FlexJS or Royale did you install, and what error(s) are you getting?

 

Thanks,

-Alex

 

From: Carlos Cruz <carlos@nbtbizcapital.com <mailto:carlos@nbtbizcapital.com> >
Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org> " <users@royale.apache.org
<mailto:users@royale.apache.org> >
Date: Saturday, October 28, 2017 at 8:38 PM
To: "users@royale.apache.org <mailto:users@royale.apache.org> " <users@royale.apache.org
<mailto:users@royale.apache.org> >
Subject: FlexJS SDK

 

In case the developers want to know. I get compiler error in Flash Builder 4.7 64 bit on Windows
10 and Flash Builder 4.6 32 bit on Windows 7 64 bit. This is what I’m doing:

1.       With the Windows installer I install FlexJS SDK

2.       add the SDK to Flash Builder 

3.       Import he launch configurations.

4.       Create a new Flex Project

5.       Convert Flex Project to FlexJS project

6.       The autobuild and clean display the same compiler error messages.

 

I would like to know if this is an issue with Windows systems or if I’m doing something
wrong. If I’m going to start working with FlexJS I need a stable IDE and a fairly stable
compiler. 

 

Thx!

Carlos 


Mime
View raw message