[
https://issues.apache.org/jira/browse/FLEX-33083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676499#comment-13676499
]
Mark Piller commented on FLEX-33083:
------------------------------------
You are correct, there was a non-existing channel referenced in a messaging
destination. I cleaned up the config, but the error is still there. I also
updated mxmlc.jar you provided, but it didn't help.
When I compile the project with Flex SDK 4.9.1 (with the updated mxmlc.jar
file), I get the following:
mark-pillers-macbook-pro:weborb.codegen.test mark$
~/dev/Flex_AIR_SDKs/flex_sdk_4.9.1/bin/mxmlc -compiler.source-path=./src
-compiler.services=./config/services-config.xml src/main.mxml
Loading configuration file
/Users/mark/dev/Flex_AIR_SDKs/flex_sdk_4.9.1/frameworks/flex-config.xml
Error: null
However, when I build exactly the same project with Flex SDK 4.6, it works just
fine (the command line arguments and the project are identical with Flex 4.9.1):
mark-pillers-macbook-pro:weborb.codegen.test mark$
~/dev/Flex_AIR_SDKs/flex_sdk_4.6/bin/mxmlc -compiler.source-path=./src
-compiler.services=./config/services-config.xml src/main.mxml
Loading configuration file
/Users/mark/dev/Flex_AIR_SDKs/flex_sdk_4.6/frameworks/flex-config.xml
Required RSLs:
http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/framework_4.6.0.23201.swz
with 1 failover.
http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz
with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/spark_4.6.0.23201.swz
with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/sparkskins_4.6.0.23201.swz
with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/rpc_4.6.0.23201.swz
with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/mx_4.6.0.23201.swz
with 1 failover.
/Users/mark/Downloads/weborb.codegen.test/src/main.swf (48840 bytes)
> Flash builder report "An internal build error has occurred. See the error log
> for more information."
> -----------------------------------------------------------------------------------------------------
>
> Key: FLEX-33083
> URL: https://issues.apache.org/jira/browse/FLEX-33083
> Project: Apache Flex
> Issue Type: Bug
> Components: Project Management
> Environment: Flash builder 4.6 , sdk 4.8.0
> Reporter: Alex Harui
> Assignee: Alex Harui
> Labels: easyfix
> Attachments: mxmlc.jar, weborb.codegen.test.zip
>
>
> 1. download the source kit from
> https://svn.apache.org/repos/asf/incubator/flex/trunk
> 2. run ant release
> 3. extract apache-flex-sdk-4.8.0-incubating-bin.zip to new folder
> 4. extract AIR Integration Kit.zip to folder
> 5 copy additional files for Flash Ide ( frameworks/libs\player\* and
> frameworks\*-config.xm)
> 6.create a simple project with reference to RemoteObject
> private var remote:RemoteObject;
> remote = new RemoteObject;
> flash builder log file :
> !ENTRY com.adobe.flexbuilder.project 4 43 2012-06-08 18:27:39.112
> !MESSAGE Uncaught exception in compiler
> !STACK 0
> java.lang.NullPointerException
> at flex2.compiler.CompilerAPI.getMessagingClasses(CompilerAPI.java:1730)
> at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1538)
> at flex2.tools.oem.Application.compile(Application.java:1357)
> at flex2.tools.oem.Application.recompile(Application.java:1295)
> at flex2.tools.oem.Application.compile(Application.java:894)
> at
> flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:367)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:319)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.java:129)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:70)
> at
> com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:607)
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira