Help -> Product Details ... -> Configuration Details -> View Error Log
之後會直接開啟 C:\diija\workspace\.metadata\.plugins\org.eclipse.ui.workbench\log 這個檔案,也可以手動去開啟這個檔案來查看錯誤原因,注意,最新的 log 訊息是放在最下方。
後來查到是因為 switch 沒有內容的關係
switch ( note.getName() )
{
}
java.lang.NullPointerException at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.SwitchStatementNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evalAndFold(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.StatementListNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.FunctionCommonNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.FunctionDefinitionNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.StatementListNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.ClassDefinitionNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.StatementListNode.evaluate(Unknown Source) at macromedia.asc.semantics.ConfigurationEvaluator.evaluate(Unknown Source) at macromedia.asc.parser.ProgramNode.evaluate(Unknown Source) at flex2.compiler.as3.Compiler.parse1(Compiler.java:314) at flex2.compiler.API.computeSignatureChecksum(API.java:2073) at flex2.compiler.API.validateCompilationUnits(API.java:1658) at flex2.tools.oem.Application.compile(Application.java:744) at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:354) at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:271) at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.java:122) at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:139) at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:73) at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unknown Source) at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown Source) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
2008/03/21
FlexBuilder3 出現 An internal build error has occurred 的解決辦法
訂閱:
文章 (Atom)