Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » can't use cppunit
can't use cppunit [message #154238] Thu, 15 September 2005 09:47 Go to next message
Eclipse UserFriend
Originally posted by: seb_gauthier.videotron.ca

Hi,

I installed CDT 3.0.0 and had no problem running it unitl I tried to run
an executable using Run->CppUnit. When I click On "New" nothing happens
and I got this entry in the .log file:


!ENTRY org.eclipse.ui 4 4 2005-09-15 08:43:26.830
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2005-09-15 08:43:26.833
!MESSAGE org.eclipse.cdt.launch.ui.CDebuggerTab: method <init>()V not found
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.cdt.launch.ui.CDebuggerTab:
method <init>()V not found
at
org.eclipse.cdt.internal.cppunit.runner.CppUnitLaunchConfigu rationTabGroup.createTabs(CppUnitLaunchConfigurationTabGroup .java:30)
at
org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:67)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.java:103)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction.run(AbstractLaunchConfigurationActi on.java:106)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$ButtonActionNew.run(LaunchConfigurationsDi alog.java:1461)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$1.widgetSelected(LaunchConfigurationsDialo g.java:1430)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:439)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:35 6)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:360)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:302)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


Any idea why ? I'm running eclipse 3.1 on Fedora Core 3
Re: can't use cppunit [message #154331 is a reply to message #154238] Thu, 15 September 2005 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Seb wrote:
> Hi,
>
> I installed CDT 3.0.0 and had no problem running it unitl I tried to run
> an executable using Run->CppUnit. When I click On "New" nothing happens
> and I got this entry in the .log file:
>
>
> !ENTRY org.eclipse.ui 4 4 2005-09-15 08:43:26.830
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 2005-09-15 08:43:26.833
> !MESSAGE org.eclipse.cdt.launch.ui.CDebuggerTab: method <init>()V not found
> !STACK 0
> java.lang.NoSuchMethodError: org.eclipse.cdt.launch.ui.CDebuggerTab:
> method <init>()V not found
> at
> org.eclipse.cdt.internal.cppunit.runner.CppUnitLaunchConfigu rationTabGroup.createTabs(CppUnitLaunchConfigurationTabGroup .java:30)
>
> at
> org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:67)
>
> at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.java:103)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction.run(AbstractLaunchConfigurationActi on.java:106)
>
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$ButtonActionNew.run(LaunchConfigurationsDi alog.java:1461)
>
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$1.widgetSelected(LaunchConfigurationsDialo g.java:1430)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:439)
>
> at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:35 6)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:360)
>
> at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:302)
>
> at
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:80)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
>
> Any idea why ? I'm running eclipse 3.1 on Fedora Core 3
>

Oof. The CPPUnit code has been dead for quite a while. My understanding
is that it wasn't really finished. At any rate, it certainly won't run
on anything new. Sorry about that.

Doug
Re: can't use cppunit [message #154440 is a reply to message #154331] Thu, 15 September 2005 15:01 Go to previous message
Eclipse UserFriend
Originally posted by: seb_gauthier.videotron.ca

I see. Thanks for the status
Previous Topic:Where are a good set of docs for CDT
Next Topic:Excluding source directories from managed builds
Goto Forum:
  


Current Time: Mon Jun 09 01:43:29 EDT 2025

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

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

Back to the top