运行构建器“Flex”时出错在项目上
这让我发疯。构建项目时,我收到以下错误
Errors occurred during the build.
Errors running builder 'Flex' on project 'my-services'.
java.lang.NullPointerException
这是 Eclipse 中错误日志中的最后一个错误
!ENTRY org.eclipse.core.resources 4 75 2011-09-07 16:07:04.391
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.adobe.flexbuilder.project 4 75 2011-09-07 16:07:04.391
!MESSAGE Errors running builder 'Flex' on project 'my-services'.
!STACK 0
java.lang.NullPointerException
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.calcBuildTotalWork(FlexProjectBuilder.java:148)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:160)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:157)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
我尝试清理项目、刷新项目、重新启动 Eclipse,甚至从我的工作区中删除它并重新导入它。我还是迷路了。
This is driving me crazy. When building a project, I get the following error
Errors occurred during the build.
Errors running builder 'Flex' on project 'my-services'.
java.lang.NullPointerException
Here's the last error from the Error log in Eclipse
!ENTRY org.eclipse.core.resources 4 75 2011-09-07 16:07:04.391
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.adobe.flexbuilder.project 4 75 2011-09-07 16:07:04.391
!MESSAGE Errors running builder 'Flex' on project 'my-services'.
!STACK 0
java.lang.NullPointerException
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.calcBuildTotalWork(FlexProjectBuilder.java:148)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:160)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:157)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I've tried cleaning the project, refreshing the project, restarting eclipse, even deleting it from my workspace and re-importing it. I am still lost.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
In my case I am working with modules and I created a special output folder for all modules. I received this in the log :
I was able to resolve it by editing the .project file - which looked causing the error like this:
I was able to resolve it by editing the .project file - which looked causing the error like this:
希望这可以帮助其他人解决这个恼人的错误。
In my case I am working with modules and I created a special output folder for all modules. I received this in the log :
I was able to resolve it by editing the .project file - which looked causing the error like this:
I was able to resolve it by editing the .project file - which looked causing the error like this:
Hope this helps somebody else solving this annoying error.
就我而言,原因是项目所在的文件夹中没有 .actionScriptProperties 文件。
如果您在任何地方都找不到此文件,这就是我的文件
如果您有链接到此项目的存储库,这可以解释为什么会发生这种情况
http://www.blackcj。 com/blog/2009/02/22/error-loading-project-missing-project-files/
In my case the cause for this was that folder where the project was located did not have the .actionScriptProperties file in it.
In case you cannot find this file anywhere this is how mine looks
If you had a REPOSITORY linked to this project this can explain why this is happening
http://www.blackcj.com/blog/2009/02/22/error-loading-project-missing-project-files/