0 Replies Latest reply on Oct 7, 2011 6:48 PM by 烟悯

    An internal build error has occurred.

    烟悯

      Sometimes, flashbuilder 4 always has this error when I build my as3 project.

       

      After clean and close&open the project once or more time,  that can be resoveled.

       

      How can I stop this error?

       

      os: win xp

      flashbuilder 4

       

      DescriptionResourcePathLocationType
      An internal build error has occurred. Right-click for more information.Restaurant
      UnknownFlex Problem

       

      I find the java exception in error log:

       

      !ENTRY com.adobe.flexbuilder.project 4 43 2011-10-08 09:25:41.776

      !MESSAGE Uncaught exception in compiler

      !STACK 0

      java.lang.NullPointerException

      at flash.swf.tags.DefineMorphShape.getReferences(DefineMorphShape.java:49)

      at flex2.compiler.swc.SwcLibrary.getReferencedSymbolClasses(SwcLibrary.java:213)

      at flex2.compiler.swc.SwcLibrary.getReferencedSymbolClasses(SwcLibrary.java:227)

      at flex2.compiler.swc.SwcLibrary.getSymbolClasses(SwcLibrary.java:205)

      at flex2.compiler.swc.SwcScript.getSymbolClasses(SwcScript.java:119)

      at flex2.compiler.CompilerSwcContext.createSource(CompilerSwcContext.java:409)

      at flex2.compiler.CompilerSwcContext.getSource(CompilerSwcContext.java:333)

      at flex2.compiler.CompilerAPI.findDefinition(CompilerAPI.java:3231)

      at flex2.compiler.CompilerAPI.resolveMultiName(CompilerAPI.java:3899)

      at flex2.compiler.CompilerAPI.resolveType(CompilerAPI.java:3573)

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

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

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

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

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

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

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

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

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

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

      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:480)

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

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

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

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

      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:42)

      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.resources.Workspace.build(Workspace.java:330)

      at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:178)

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