#1459 No ast manager configured

pending
nobody
None
5
2012-01-27
2012-01-13
No

I am attempting to get a headless build for a project functioning. All of my projects are a mix of C++ (CDT) and Python. The particular project I am building, SimulationInterface, has dependencies on two other proijects in the workspace, SimExternalInterfaces and SimCommon. Here the command I use to build:

eclipsec.exe --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -importAll ./ -data ./ -build SimulationInterface/win64-lib

The build actually completes successfully, but then I get the following error:
E c l i p s e c :
J a v a w a s s t a r t e d b u t r e t u r n e d e x i t c o d e = 1

Unfortunately, this error causes Eclipse to exit abnormally, which ultimately fails my build. In the log, the following PyDev errors are present:

!ENTRY org.python.pydev.core 2 2 2012-01-13 00:15:46.208
!MESSAGE No ast manager configured for :SimCommon
!STACK 0
java.lang.RuntimeException: No ast manager configured for :SimCommon
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.addModuleManagers(ProjectModulesManager.java:443)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagers(ProjectModulesManager.java:358)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagersInvolved(ProjectModulesManager.java:458)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.resolveModule(ProjectModulesManager.java:263)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.resolveModule(ProjectModulesManager.java:256)
at org.python.pydev.editor.codecompletion.revisited.ModulesManager.resolveModule(ModulesManager.java:887)
at org.python.pydev.editor.codecompletion.revisited.ModulesManager.isInPythonPath(ModulesManager.java:879)
at org.python.pydev.builder.PyDevBuilderVisitor.isInPythonPath(PyDevBuilderVisitor.java:264)
at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:144)
at com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:156)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.execRunnable(AnalysisBuilderVisitor.java:183)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.doVisitChangedResource(AnalysisBuilderVisitor.java:173)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.visitChangedResource(AnalysisBuilderVisitor.java:113)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.visitChangedResource(AnalysisBuilderVisitor.java:44)
at org.python.pydev.builder.PyDevBuilderVisitor.visitAddedResource(PyDevBuilderVisitor.java:342)
at org.python.pydev.builder.PyDevBuilder.buildResources(PyDevBuilder.java:317)
at org.python.pydev.builder.PyDevBuilder.performFullBuild(PyDevBuilder.java:192)
at org.python.pydev.builder.PyDevBuilder.build(PyDevBuilder.java:86)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder$1.run(HeadlessBuilder.java:268)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
at org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder.buildConfigurations(HeadlessBuilder.java:276)
at org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder.start(HeadlessBuilder.java:500)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.python.pydev.core 2 2 2012-01-13 00:15:46.218
!MESSAGE No ast manager configured for :SimExternalInterfaces
!STACK 0
java.lang.RuntimeException: No ast manager configured for :SimExternalInterfaces
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.addModuleManagers(ProjectModulesManager.java:443)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagers(ProjectModulesManager.java:358)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagersInvolved(ProjectModulesManager.java:458)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.resolveModule(ProjectModulesManager.java:263)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.resolveModule(ProjectModulesManager.java:256)
at org.python.pydev.editor.codecompletion.revisited.ModulesManager.resolveModule(ModulesManager.java:887)
at org.python.pydev.editor.codecompletion.revisited.ModulesManager.isInPythonPath(ModulesManager.java:879)
at org.python.pydev.builder.PyDevBuilderVisitor.isInPythonPath(PyDevBuilderVisitor.java:264)
at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:144)
at com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:156)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.execRunnable(AnalysisBuilderVisitor.java:183)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.doVisitChangedResource(AnalysisBuilderVisitor.java:173)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.visitChangedResource(AnalysisBuilderVisitor.java:113)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.visitChangedResource(AnalysisBuilderVisitor.java:44)
at org.python.pydev.builder.PyDevBuilderVisitor.visitAddedResource(PyDevBuilderVisitor.java:342)
at org.python.pydev.builder.PyDevBuilder.buildResources(PyDevBuilder.java:317)
at org.python.pydev.builder.PyDevBuilder.performFullBuild(PyDevBuilder.java:192)
at org.python.pydev.builder.PyDevBuilder.build(PyDevBuilder.java:86)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder$1.run(HeadlessBuilder.java:268)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
at org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder.buildConfigurations(HeadlessBuilder.java:276)
at org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder.start(HeadlessBuilder.java:500)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2012-01-27

    Actually, that's just a PyDev warning log message (it'd appear only as a warning in the error log, not really an error), and shouldn't really have any effect... (i.e.: your build should definitely not fail because of a warning message)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2012-01-27
    • status: open --> pending