Internal Build Error Has Occurred Flex
ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Using Flash Builder All CommunitiesUsing Flash Builder 11 Replies Latest reply on Dec 13, 2011 12:23 PM by Plamen L. Prodanov Getting error: "An internal build error has occurred... " when compiling Scott R. Hamilton Jun 20, 2011 2:49 AM I am getting this error after upgrading to Flash Builder 4.5 from Flex 3. This error was not occurring under Flex 3.I do not have an empty Case statement. If I remove a particular module from the Flex Modules list in the project propertues, the error does not occur, but of course no swf is generated so the module cannot be loaded at run time.I have gone through the module in question with a fine toothed comb but cannot find any syntax errorsAn internal build error has occurred. See the error log for more information. Culinaria Unknown Flex ProblemnullErrorMon Jun 20 10:41:22 CEST 2011Uncaught exception in compiler!ENTRY com.adobe.flexbuilder.project 4 43 2011-06-20 10:41:22.623!MESSAGE Uncaught exception in compiler!STACK 0java.lang.NullPointerException at flex2.tools.PreLink.lookupStyleName(PreLink.java:719) at flex2.tools.PreLink.lookupBackgroundColor(PreLink.java:518) at flex2.tools.PreLink.postRun(PreLink.java:181) at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1592) at flex2.tools.oem.Application.compile(Application.java:1349) at flex2.tools.oem.Application.recompile(Application.java:1287) at flex2.tools.oem.Application.compile(Application.java:886) at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:359) at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:319) at com.adobe.flexbuilder.multisdk.compiler.internal.ModuleBuilder.build(ModuleBuilder.java:1 37) at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198) at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 0) at com.adobe.flexbuilde
wacky will happen in a project or the workspace itself that causes the following message to appear: "An internal build error has occurred. See the error log for more information." In some cases, a refresh and/or clean of the project in question is enough to straighten things out. But if that were always the case, this would be a very short blog entry, and that's not really my style.I recently encountered the "internal build error" monster when working with a Flex module I hadn't touched in months. I simply opened it up and tried to build it, and I was instantly on my https://forums.adobe.com/thread/867135 way to bang-my-head-against-my-desk-in-frustration territory. Nothing about the project had changed, so all signs pointed to something in the development environment. But what? Step one was to figure out how to "See the error log for more information." There is no apparent indication of where to find this mythical error log, and my best guess (C:\Program Files\Adobe\Flash Builder...?) was a no-go. Luckily I stumbled across an entry over at the 9MMedia http://www.joshknopp.com/blog/index.cfm/2013/3/6/Fixed-An-internal-build-error-has-occurred Blog which pointed me to the folder {workspace}\.metadata - ah, yes, I recall now that Eclipse loves organizing everything under a workspace. Fair enough.Upon finding the log, I was greeted by a particularly inscrutable error message:!MESSAGE Uncaught exception in compiler !STACK 0 java.lang.IllegalArgumentException: Comparison method violates its general contract! {lengthy stack trace}Gee, I didn't mean to violate anyone's contract.From here, it was back to Google to find this thread on an Adobe forum. It seems there is an issue with backward compatibility in JDK 7. The proposed solution was to add a line to the -vmargs section of the flashbuilder.ini file (this one is, for us Windows folks, found under C:\Program Files\Adobe\Flash Builder)...-Djava.util.Arrays.useLegacyMergeSort=trueRestart Eclipse/Flash Builder, and voila! No more "internal build error" nonsense, which allows us developers to address all kinds of other nonsense.Happy coding! Comments (1) | Print | Send | | del.icio.us | Digg It! | Linking Blogs | 3357 Views Comments (Comment Moderation is enabled. Your comment will not appear until approved.) [Add Comment] Josh, I've been getting this error several times a day ever since upgrading from 4.6 to 4.7 on Windows Vista. I applied your fix to the .ini file this morning, and it seems to have done the trick. Thanks f
tags yet. Travisism Novice BirdJoined: Jan '12Posts: 18 Travisism Novice BirdJoined: Jan '12Posts: 18 Hello, I seem to get this error a lot for no traceable reason: An http://forum.starling-framework.org/topic/an-internal-build-error-has-occured internal build error has occurred. See the error log for more information. Sometimes restarting flash builder fixes it, sometimes commenting out whatever I just added, saving, then uncommenting out and saving again fixes http://apache-flex-development.2333347.n4.nabble.com/jira-Commented-FLEX-33083-Flash-builder-report-quot-An-internal-build-error-has-occurred-See-the-err-td27414.html it.. and sometimes having to delete and restore a file fixes it. Just now, I added an else { } block to my if statement and it gave me that error upon internal build save. I can't seem to get rid of it now.. Though more screwing around will fix it I'm sure. Has anybody else had this? Where is this error log? Thanks! Posted 4 years ago # Travisism Novice BirdJoined: Jan '12Posts: 18 Travisism Novice BirdJoined: Jan '12Posts: 18 Quick solution to fix this in Flash Builder: Project -> Clean Still would like to know where internal build error this error log is, or to find the solution to this (as it happens way more than I'd like). Posted 4 years ago # javierecf Competent BirdJoined: Jan '12Posts: 54 javierecf Competent BirdJoined: Jan '12Posts: 54 Try reinstalling Flash Builder, or give it a chance to FlashDevelop. Try reinstalling Flex SDK, or upgrade it. Posted 4 years ago # ChrisGreenhough Novice BirdJoined: Jan '12Posts: 15 ChrisGreenhough Novice BirdJoined: Jan '12Posts: 15 I used to get the Flash IDE going screwy on me like this sometimes. Usually quitting and relaunching the application was sufficient. But often I'd restart the Mac too. Of course deleting the prefs file seems a frequent fix on Macs, as long as you can safely go that route. I always back-up my prefs before doing this in case I need to retrieve any data from it. Posted 4 years ago # Travisism Novice BirdJoined: Jan '12Posts: 18 Travisism Novice BirdJoined: Jan '12Posts: 18 @javierecf I'm on a mac so FlashDevelop is a no go. I'm using the latest version of Flex SDK. @ChrisGreenhough ya after making the original post I found I could just do a clean rebuild (Pr
♦ Locked 2 messages JIRA jira@apache.org Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ [jira] [Commented] (FLEX-33083) Flash builder report "An internal build error has occurred. See the error log for more information." [ 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 >