Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT hangs on "generating makefile"
CDT hangs on "generating makefile" [message #1839881] Wed, 31 March 2021 03:02
Mitch Murphy is currently offline Mitch MurphyFriend
Messages: 1
Registered: March 2021
Junior Member
Version: 2020-12 (4.18.0)
Build id: 20201210-1552

CDT builds hangs on project build for 20-30 seconds, with error in .metadata/.log:

!ENTRY org.eclipse.cdt.managedbuilder.core 4 0 2021-03-30 22:59:34.045
!MESSAGE Cannot read the array length because the return value of "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensionsAttribute()" is null
!STACK 0
java.lang.NullPointerException: Cannot read the array length because the return value of "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensionsAttribute()" is null
at org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput.getDynamicLibExtension(AdditionalInput.java:617)
at org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput.findLibrary(AdditionalInput.java:500)
at org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput.getDepLibs(AdditionalInput.java:481)
at org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput.dependencyChanged(AdditionalInput.java:429)
at org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput.needsRebuild(AdditionalInput.java:366)
at org.eclipse.cdt.managedbuilder.internal.core.InputType.needsRebuild(InputType.java:1676)
at org.eclipse.cdt.managedbuilder.internal.core.Tool.needsRebuild(Tool.java:3471)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildStep.needsRebuild(BuildStep.java:101)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription$RebuildStateSynchronizer.visit(BuildDescription.java:303)
at org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.doAccept(BuildDescriptionManager.java:151)
at org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.doAccept(BuildDescriptionManager.java:159)
at org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.doAccept(BuildDescriptionManager.java:159)
at org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.doAccept(BuildDescriptionManager.java:133)
at org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.accept(BuildDescriptionManager.java:127)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.synchRebuildState(BuildDescription.java:461)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.initDescription(BuildDescription.java:793)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.BuildDescription.init(BuildDescription.java:842)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.DefaultBuildDescriptionFactory.createBuildDescription(DefaultBuildDescriptionFactory.java:51)
at org.eclipse.cdt.managedbuilder.internal.buildmodel.DefaultBuildDescriptionFactory.createBuildDescription(DefaultBuildDescriptionFactory.java:42)
at org.eclipse.cdt.managedbuilder.buildmodel.BuildDescriptionManager.createBuildDescription(BuildDescriptionManager.java:99)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performCleanning(CommonBuilder.java:960)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:866)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:752)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:515)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:461)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:845)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:228)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:276)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:329)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:332)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:384)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:405)
at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:515)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:405)
at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

sadly i have to go back to writing my Makefiles manually...
Previous Topic:Debugging Error
Next Topic: Autocomplete, intelli-sense or content assist
Goto Forum:
  


Current Time: Tue Nov 30 04:12:11 GMT 2021

Powered by FUDForum. Page generated in 0.01330 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top