davidahern / eclipserunnerplugin

Automatically exported from code.google.com/p/eclipserunnerplugin
0 stars 0 forks source link

TestNG launch configs not supported #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install EclipseRunner and TestNG Plugin 
2. Make a TestNG-specific launch configuration (will be shown in an own 
category)
3. Try to make any operation on that new launch config (move, start, ...)

The attempt to bring up the context menu (right click on the new launch config) 
raises the exception shown in the attachment.

Installation details:
 - Eclispe SDK Version 4.2.1, Build ID M20120914-1800
 - EclipseRunner 1.3.0
 - TestNG 6.4.0.20120308_1617

Original issue reported on code.google.com by arno.jos...@gmail.com on 22 Apr 2013 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
If I double-click on a TestNG job in Eclipse Luna Service Release 1 (4.4.1), it 
completely locks up Eclipse and I have to kill it. I see exceptions like this 
in the Eclipse log:

ENTRY org.testng.eclipse 4 4 2014-12-08 08:33:32.976
!MESSAGE Error
!STACK 0
java.net.SocketTimeoutException: Accept timed out
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
        at java.net.ServerSocket.accept(ServerSocket.java:498)
        at org.testng.remote.strprotocol.BaseMessageSender.initReceiver(BaseMessageSender.java:128)
        at org.testng.eclipse.ui.TestRunnerViewPart.startTestRunListening(TestRunnerViewPart.java:362)
        at org.testng.eclipse.TestNGPlugin.connectTestRunner(TestNGPlugin.java:213)
        at org.testng.eclipse.TestNGPlugin$2.run(TestNGPlugin.java:201)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

Original comment by david.is...@gmail.com on 8 Dec 2014 at 2:42

GoogleCodeExporter commented 9 years ago
I also see this exception

[Message] Unhandled event loop exception
java.lang.NullPointerException
    at com.eclipserunner.views.impl.RunnerViewSelection.canBeOpened(RunnerViewSelection.java:95)
    at com.eclipserunner.views.impl.RunnerView.setupActionEnablement(RunnerView.java:350)
    at com.eclipserunner.views.impl.RunnerView.menuAboutToShow(RunnerView.java:305)
    at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:352)
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:492)
    at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:487)
    at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:519)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1393)
    at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:198)
    at org.eclipse.swt.widgets.Display.runPopups(Display.java:3841)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3399)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
[Emitter] org.eclipse.ui

Original comment by david.is...@gmail.com on 8 Dec 2014 at 2:45