5 Replies Latest reply on Dec 11, 2006 8:45 AM by Graeme Harker

    An internal build error has occurred.

    Graeme Harker Level 1
      java.lang.NullPointerException
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:934)
      at macromedia.asc.parser.LiteralNumberNode.evaluate(LiteralNumberNode.java:29)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:993)
      at macromedia.asc.parser.LiteralFieldNode.evaluate(LiteralFieldNode.java:29)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1800)
      at macromedia.asc.parser.ArgumentListNode.evaluate(ArgumentListNode.java:28)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:971)
      at macromedia.asc.parser.LiteralObjectNode.evaluate(LiteralObjectNode.java:26)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1829)
      at macromedia.asc.parser.ListNode.evaluate(ListNode.java:27)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2125)
      at macromedia.asc.parser.ReturnStatementNode.evaluate(ReturnStatementNode.java:27)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1906)
      at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2412)
      at macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:87)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2427)
      at macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:87)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3124)
      at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
      at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2863)
      at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
      at flex2.compiler.as3.Compiler.analyze4(Compiler.java:547)
      at flex2.compiler.mxml.ImplementationCompiler.analyze4(ImplementationCompiler.java:232)
      at flex2.compiler.mxml.Compiler.analyze4(Compiler.java:126)
        • 1. Re: An internal build error has occurred.
          mac_martine Level 1
          This has been logged and fixed internally, so this will be fixed in the next release. Thank you!
          • 2. Re: An internal build error has occurred.
            I just started getting a similar error. Is there any timeline on when the next release will be out?
            • 3. Re: An internal build error has occurred.
              Graeme Harker Level 1
              FYI The workaround I'm using is to create a brand new Flex project and "import" the original project's contents into the new project (with the exception of the ..settings, bin and html-template folders) and rebuild. This always fixes the problem (also proving it's not an issue with the source code of the applicaiton itself). If you find a more convenient workaround, let me know.
              • 4. Re: An internal build error has occurred.
                Level 1
                sparky - thanks for the quick reply. I've tried that (and everything else I can think of), but it doesn't help me. My error isn't exactly the same as yours, so I'll post it below in case anybody else has any ideas. Thanks.

                ------------
                This is the error from the Flex Builder log:

                !ENTRY com.adobe.flexbuilder.project 4 43 2006-09-14 11:57:32.698
                !MESSAGE Uncaught exception in compiler
                !STACK 0
                java.lang.NumberFormatException: multiple points
                at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
                at java.lang.Double.valueOf(Double.java:447)
                at macromedia.asc.embedding.avmplus.ActionBlockEmitter.getValueOfNumberLiteral(ActionBlockEm itter.java:1273)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:934)
                at macromedia.asc.parser.LiteralNumberNode.evaluate(LiteralNumberNode.java:29)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2218)
                at macromedia.asc.parser.VariableBindingNode.evaluate(VariableBindingNode.java:48)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1829)
                at macromedia.asc.parser.ListNode.evaluate(ListNode.java:27)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2174)
                at macromedia.asc.parser.VariableDefinitionNode.evaluate(VariableDefinitionNode.java:32)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1906)
                at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3071)
                at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
                at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2863)
                at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
                at flex2.compiler.as3.Compiler.analyze4(Compiler.java:547)
                at flex2.compiler.API.analyze(API.java:2128)
                at flex2.compiler.API.analyze(API.java:2041)
                at flex2.compiler.API.batch2(API.java:319)
                at flex2.compiler.API.batch(API.java:901)
                at flex2.compiler.API.compile(API.java:1110)
                at flex2.compiler.API.compile(API.java:1022)
                at com.adobe.flexbuilder.project.compiler.Compiler.compile(Unknown Source)
                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(U nknown Source)
                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source)
                at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
                at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
                at org.eclipse.core.runtime.Platform.run(Platform.java:783)
                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
                at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
                at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
                at org.eclipse.core.runtime.Platform.run(Platform.java:783)
                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
                at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
                at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
                at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:211)
                at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:182)
                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
                • 5. Re: An internal build error has occurred.
                  Graeme Harker Level 1
                  I've just discovered a new workaround for this (very common) problem - if you do a Project -> Clean... to rebuild the whole project you bypass Eclipse's "incremental builder" which appears to be causing the problem. This probably deserves to be whatever the equivalent of a KB is on planet Adobe