CDT still not working

Vlad GALU dudu at dudu.ro
Wed Jun 6 09:30:12 UTC 2007


    Hi list,
    After having replaced make with gmake, I still get the same error
message that everybody previously reported:

-- cut here --
!ENTRY org.eclipse.ui 4 0 2007-06-06 11:51:18.801
!MESSAGE Index: 0, Size: 0
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at org.eclipse.cdt.managedbuilder.ui.wizards.CProjectPlatformPage.createControl(CProjectPlatformPage.java:211)
        at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:180)
        at org.eclipse.cdt.managedbuilder.ui.wizards.NewManagedProjectWizard.createPageControls(NewManagedProjectWizard.java:99)
        at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:614)
        at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:989)
        at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1041)
        at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1038)
        at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1028)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1026)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:757)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
        at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        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:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
-- and here --

    I'm a newbie, at most, regarding Eclipse's inner workings, but I
suspect the problem comes from populateTypes() in
CProjectPlatformPage.java, it seems the array holding the project
types ends up empty, therefore trying to access any element throws the
above exception. Which is somewhat odd, given that the dialog where
the user picks the kind of project to create has the project list
fully populated.

    Any insight on this matter would be greatly appreciated.

-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.


More information about the freebsd-eclipse mailing list