[ 
https://issues.apache.org/jira/browse/FLEX-33083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676359#comment-13676359
 ] 

Alex Harui commented on FLEX-33083:
-----------------------------------

Well, technically, Flash Builder 4.5 isn't supported for Apache Flex, but it 
shouldn't be a factor for this scenario.  I updated mxmlc to show more 
information for this exception.  I've attached an updated mxmlc.jar which you 
can use to replace the one in the lib folder of your Apache Flex SDK.  If you 
compile the app from the command line you should see a better error message. I 
couldn't find an easy way to get that better information into the console, log, 
or problems pane.

When I compile your project from the command line, I now get: 
flex.messaging.config.ConfigurationException: channel not found for reference 
'weborb-rtmp-messaging' in destination 'SampleRTMPDestination'.

You didn't mention if you are using Blaze or DataServices and which version.  
I'm not sure why with Adobe Flex 4.6 you aren't seeing this same problem, but 
it could be that I still don't have your test case set up properly.  I only set 
up to use Blaze 4, not DataServices or whatever Adobe calls it these days.

                
> 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

Reply via email to