Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 160565 - Error running monitor junit test
Summary: Error running monitor junit test
Status: CLOSED DUPLICATE of bug 160971
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Julien Canches CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 17:12 EDT by Kevin P O'Leary CLA
Modified: 2016-05-05 10:59 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin P O'Leary CLA 2006-10-11 17:12:01 EDT
I am seeing this error only on windows.

When I try to run C:\Documents and Settings\kpoleary\nw\org.eclipse.hyades.logging.adapter.tests\junit\runtimeTests

I get an error about no deployments in specified configuration. If I try to create a new configuration then I get the following message in my log file.
(This was done on a new eclipse and the tptp from 10-09. All of my launch configuration issue seem 4.3 related... I did not have any issues in 4.2.1.


!ENTRY org.eclipse.jface 4 2 2006-10-11 10:46:49.605
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/hyades/internal/execution/local/control/NodeFactory
	at org.eclipse.hyades.test.tools.core.internal.common.launch.TestLaunchConfigurationValidator.validateLocation(TestLaunchConfigurationValidator.java:316)
	at org.eclipse.hyades.test.tools.core.internal.common.launch.TestLaunchConfigurationValidator.validateDeployment(TestLaunchConfigurationValidator.java:225)
	at org.eclipse.hyades.test.tools.core.internal.common.launch.TestLaunchConfigurationValidator.validate(TestLaunchConfigurationValidator.java:113)
	at org.eclipse.hyades.test.ui.internal.launch.tabs.TestAndDeploymentTab$5.run(TestAndDeploymentTab.java:390)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.hyades.test.ui.internal.launch.tabs.TestAndDeploymentTab.isValid(TestAndDeploymentTab.java:387)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.refresh(LaunchConfigurationTabGroupViewer.java:487)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.updateButtons(LaunchConfigurationsDialog.java:1423)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.refreshStatus(LaunchConfigurationTabGroupViewer.java:885)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:668)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$6.run(LaunchConfigurationTabGroupViewer.java:548)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:565)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:529)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:928)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:547)
	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:839)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:837)
	at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1578)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.handleConfigurationAdded(LaunchConfigurationView.java:343)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.launchConfigurationAdded(LaunchConfigurationView.java:318)
	at org.eclipse.debug.internal.core.LaunchManager$ConfigurationNotifier.run(LaunchManager.java:199)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.debug.internal.core.LaunchManager$ConfigurationNotifier.notify(LaunchManager.java:186)
	at org.eclipse.debug.internal.core.LaunchManager.launchConfigurationAdded(LaunchManager.java:1723)
	at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.writeNewFile(LaunchConfigurationWorkingCopy.java:241)
	at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave0(LaunchConfigurationWorkingCopy.java:196)
	at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:172)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.handleApplyPressed(LaunchConfigurationTabGroupViewer.java:1179)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleClosePressed(LaunchConfigurationsDialog.java:849)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.buttonPressed(LaunchConfigurationsDialog.java:307)
	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:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
	at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:383)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:387)
	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:329)
	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
	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:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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)
Comment 1 Dave Smith CLA 2006-10-12 10:28:19 EDT
Transferring this to the Test team.  This appears to be a problem with deployments when running on a Windows IPF machine.  Kevin, can you please explain your configuration?  Is your test client running on a Windows IPF machine or is it running on another version of Windows and you are trying to run the test on a remote IPF machine?
Comment 2 Kevin P O'Leary CLA 2006-10-12 14:38:11 EDT
In this configuration everything is running on win-IPF. Using the AC.

Everything I am doing is using the 10/09 build. I unzipped everything onto a fresh eclipse.3.2.1.

The launch configuration I am creating is a "Test" configuration.

If you checkout org.eclipse.hyades.logging.adapter.tests from CVS and try
to either create a new launch configuration or use a prexisting configuration you should see this error.

The specific test is under junit/runtimeTests.

I had thought this was the same error I originally reported at the start of 4.3 but it was brought to my attention that the callstack is different. But the error I'm seeing from the GUI is the same. An error saying that there are no valid deployments for the Launch Configuration.

Again, at the start of 4.3 I ran into this problem and it was noted that if yu start with a clean workspace and delete all launch configurations then everything worked. (I have not verified or done this... My Test workspace is the accumulation of all the configurations that are necesaary to run a test pass.)
It is possible that this difference in test environments is why some people are able run. 

Comment 3 Mark D Dunn CLA 2006-10-12 21:18:52 EDT
Reassign to Jerome.
Comment 4 Julien Canches CLA 2006-10-16 11:35:53 EDT
If I correctly understand, the problem is now the Test Launch Configuration displaying "There are no deployments available for the selected test", and there is no more "NoClassDefFoundError" exception in the log.
Assuming that it is so, I'm marking this defect as duplicate as another describing the same issue.

*** This bug has been marked as a duplicate of 160971 ***
Comment 5 Paul Slauenwhite CLA 2006-10-17 14:09:36 EDT
Please update the target for the release/iteration that this defect was duped.
Comment 6 Paul Slauenwhite CLA 2006-11-16 09:02:47 EST
ACTION: Please verify/close this defect.
Comment 7 Paul Slauenwhite CLA 2007-06-02 14:51:02 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 8 Paul Slauenwhite CLA 2007-06-27 13:18:50 EDT
Closing by default since not verified/closed by the originator in the 6+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.