1 Reply Latest reply on May 3, 2007 2:19 PM by TucsonJava

    compiler error

    TucsonJava Level 1
      I made some wide-sweeping changes (small changes but to 30-40 files) to a fairly large project. When it compiled it gave an "internal build error has occurred". I ignored it and did a clean. Same result. I restarted eclipse and did another clean. Same result. What follows is the dump from the eclipse error log. Any suggestions?

      !ENTRY com.adobe.flexbuilder.project 4 43 2007-05-03 09:38:43.875
      !MESSAGE Uncaught exception in compiler
      !STACK 0
      java.lang.NullPointerException
      at flex2.compiler.as3.InheritanceEvaluator.toString(InheritanceEvaluator.java:447)
      at flex2.compiler.as3.InheritanceEvaluator.evaluate(InheritanceEvaluator.java:172)
      at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
      at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)
      at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
      at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)
      at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
      at flex2.compiler.as3.Compiler.parse1(Compiler.java:323)
      at flex2.compiler.API.parse1(API.java:2158)
      at flex2.compiler.API.parse1(API.java:2111)
      at flex2.compiler.API.batch2(API.java:319)
      at flex2.compiler.API.batch(API.java:1025)
      at flex2.compiler.API.compile(API.java:1211)
      at flex2.tools.oem.Application.compile(Application.java:783)
      at flex2.tools.oem.Application.recompile(Application.java:751)
      at flex2.tools.oem.Application.compile(Application.java:530)
      at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:224)
      at com.adobe.flexbuilder.project.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(Un known Source)
      at com.adobe.flexbuilder.project.compiler.internal.ASApplicationBuilder.build(Unknown Source)
      at com.adobe.flexbuilder.project.compiler.internal.ASBuilder.build(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.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
      at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
        • 1. Re: compiler error
          TucsonJava Level 1
          Well, I reloaded all the code from the repository and added back the changes very slowly, building after each group of changes. There were some errors in the code that the compiler should have caught the 1st time but did not (or at least did not display). However, this time it did show the errors which I corrected and rebuilt. Now, the 'internal build error' does not appear. Whew - 'cause that is very worrisome.

          Say, Adobe engineers could we get some more detailed diagnostics when things like this happen? It's pretty daunting not to have a clue where to begin looking. Thanks for your consideration.