6 Replies Latest reply on Jul 17, 2009 5:46 AM by Gus187

    An internal build error has occurred

    Zolotoj Level 3

      Ok, now it's my turn to get it.

      I have no empty switch statements, or other 'built-in' triggers.

      What to do?

        • 1. Re: An internal build error has occurred
          Zolotoj Level 3

          Just wanna say nothing drives developers out better than this one.

          • 2. Re: An internal build error has occurred
            injpix Level 3

            -Do a project clean.

            -Delete the project's generated directory, if it's there.

            -Make sure all dependent directories are online.

            -Restart Flex or your computer.

             

            A little more information may help.  Is this error from an Ant build?  Have you done anything listed above?  Is this error presistent?

            • 3. Re: An internal build error has occurred
              Zolotoj Level 3

              <Do a project clean.

              1000 times

              <Delete the project's generated directory, if it's there

              which one? bin-debug?

              <Make sure all dependent directories are online.

              have none

              <Restart Flex or your computer.

              1000 times

              < Is this error presistent?

              110%

               

              It is simply unbelievable.

              • 4. Re: An internal build error has occurred
                Zolotoj Level 3

                Here is the reason:

                 

                !ENTRY com.adobe.flexbuilder.project 4 43 2009-07-16 10:29:04.652

                !MESSAGE Uncaught exception in compiler

                !STACK 0

                java.lang.NumberFormatException: For input string: "10 0"

                at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)

                at java.lang.Double.valueOf(Unknown Source)

                at flex2.compiler.mxml.builder.AbstractBuilder$TextValueParser.percentage(AbstractBuilder.ja va:234)

                at flex2.compiler.mxml.lang.TextParser.parseValue(TextParser.java:382)

                at flex2.compiler.mxml.lang.TextParser.parse(TextParser.java:215)

                at flex2.compiler.mxml.builder.AbstractBuilder$TextValueParser.parseValue(AbstractBuilder.ja va:101)

                at flex2.compiler.mxml.builder.AbstractBuilder.processPropertyText(AbstractBuilder.java:366)

                at flex2.compiler.mxml.builder.ComponentBuilder$ComponentAttributeHandler.property(Component Builder.java:230)

                at flex2.compiler.mxml.lang.DeclarationHandler.invoke(DeclarationHandler.java:94)

                at flex2.compiler.mxml.lang.DeclarationHandler.invoke(DeclarationHandler.java:132)

                at flex2.compiler.mxml.builder.ComponentBuilder$ComponentAttributeHandler.invoke(ComponentBu ilder.java:288)

                at flex2.compiler.mxml.lang.AttributeHandler.invoke(AttributeHandler.java:54)

                at flex2.compiler.mxml.builder.ComponentBuilder.processAttributes(ComponentBuilder.java:157)

                at flex2.compiler.mxml.builder.DocumentBuilder.analyze(DocumentBuilder.java:174)

                at flex2.compiler.mxml.dom.Node.analyze(Node.java:47)

                at flex2.compiler.mxml.ImplementationCompiler.parse1(ImplementationCompiler.java:180)

                at flex2.compiler.mxml.MxmlCompiler.parse1(MxmlCompiler.java:169)

                at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2775)

                at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2728)

                at flex2.compiler.CompilerAPI.batch2(CompilerAPI.java:443)

                at flex2.compiler.CompilerAPI.batch(CompilerAPI.java:1271)

                at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1475)

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

                at flex2.tools.oem.Application.recompile(Application.java:1080)

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

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

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

                at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:123)

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

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

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:424)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:264)

                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:131)

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

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

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

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

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

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

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

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

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

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

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

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

                • 5. Re: An internal build error has occurred
                  injpix Level 3

                  Hmmm...I did a quick search online and found this link:

                  “Internal Build Error” or “Classes Must Not Be Nested” error

                   

                  I am not sure what else to suggest.  Perhaps reinstall FB.

                  • 6. Re: An internal build error has occurred
                    Gus187

                    I could suggest commenting your code.... start by doing it to the most of it and see if the error dissapears, if so, continue with a smaller portion of the code until you isolate the part that causes the error, its probably something silly that makes the compiler go crazy..

                     

                    Hope this helps

                    Gus