TestNg Crash in Eclipse-Win7 64 Bit Java 1.6 testng 6.8

460 views
Skip to first unread message

Veena Devi

unread,
Jul 8, 2013, 10:26:09 PM7/8/13
to testng...@googlegroups.com
Hi, I am using eclipse with testng from past 2 yrs. Yesterday suddently my eclipse hans on test ng test case execution with showing 57% process. 

I tried to stop /restart/ reinstall testng ,/Change workspace, created new work space, installed test ng from plugin / from eclipse marketplace ...  new eclipse... 
almost all combination..But still no luck . 

Please provide a solution , its high priority for me and very urgent . 

Quick response is highly appreciated. 

Cheers 
Veena 
veena...@gmail.com 

Cédric Beust ♔

unread,
Jul 8, 2013, 11:52:39 PM7/8/13
to testng...@googlegroups.com
This typically happens because you have another (older) testng.jar in your classpath.

What happens if you create a workspace from scratch and try again?


-- 
Cédric




--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Veena Devi

unread,
Jul 10, 2013, 4:01:36 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com

I tried All possible options

1. New Eclipse +TestNG
2. Complete New WorkSpace
3. Eclipse Juno/helios
4. Tesng from Maven 
5. Update my eclipe .ini with increased size...



But no Luck , Any help is highly appreciated  as this is blocker ...




Error Log from eclipse


ENTRY org.testng.eclipse 4 4 2013-07-10 13:10:00.276
!MESSAGE Error
!STACK 0
java.net.SocketTimeoutException: Accept timed out
	at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
	at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
	at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
	at java.net.PlainSocketImpl.accept(Unknown Source)
	at java.net.ServerSocket.implAccept(Unknown Source)
	at java.net.ServerSocket.accept(Unknown Source)
	at org.testng.remote.strprotocol.BaseMessageSender.initReceiver(BaseMessageSender.java:128)
	at org.testng.eclipse.ui.TestRunnerViewPart.startTestRunListening(TestRunnerViewPart.java:373)
	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:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	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.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Fanindra Bapat

unread,
Jul 10, 2013, 4:37:11 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com
Try following things:

  •    Remove all existing breakpoints
  •    Removing other versions of testing jars..Keeping only latest one i.e. 6.8 testng jar
  •   Put the debug value as

-Xms1024m

-Xmx2048m

          In eclipse configuration settings file.

Veena Devi

unread,
Jul 10, 2013, 4:53:42 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com
How to remove breackpoints? fro where ? 
I Have only one version of testng ...

Fanindra Bapat

unread,
Jul 10, 2013, 4:58:39 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com
Navigate to Debug section and remove breakpoints from there

Veena Devi

unread,
Jul 10, 2013, 5:43:09 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com
No luck :-(....


Whats this Error stack means for?

!STACK 0
java.net.SocketTimeoutException: Accept timed out
	at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
	at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
	at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
	at java.net.PlainSocketImpl.accept(Unknown Source)
	at java.net.ServerSocket.implAccept(Unknown Source)
	at java.net.ServerSocket.accept(Unknown Source)
	at org.testng.remote.strprotocol.BaseMessageSender.initReceiver(BaseMessageSender.java:128)
	at org.testng.eclipse.ui.TestRunnerViewPart.startTestRunListening(TestRunnerViewPart.java:373)

Veena Devi

unread,
Jul 10, 2013, 5:57:23 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com
Can anyone Provide online Help? Through skype?

veenadevi.s -my Skype Id

Veena Devi

unread,
Jul 10, 2013, 7:34:13 AM7/10/13
to testng...@googlegroups.com, ced...@beust.com

Identify some relationship with LookBack Adapter in windows 7, but not able to fix it ....
any clue?

Veena Devi

unread,
Jul 10, 2013, 11:14:25 PM7/10/13
to testng...@googlegroups.com, ced...@beust.com

Removed the localhost setup from host file .. Done ! Fixed....

Krishnan Mahadevan

unread,
Jul 11, 2013, 12:46:29 AM7/11/13
to testng...@googlegroups.com
Veena

For the sake of future reference can you please explain in detail as to what you did to fix the problem ?
--
Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

Yohann CINTRE

unread,
Nov 18, 2013, 10:06:41 AM11/18/13
to testng...@googlegroups.com
I just ran into the same issue.

Removing the redirection from "localhost" to a virtual machine IP in the Windows host file fixed it.

Thanks Veena for the tip!


Config used :
Win 7 64 bit
Juno Service Release 2
Java 1.6
TestNG 6.8.1

Snigdha

unread,
Nov 20, 2013, 5:19:37 PM11/20/13
to testng...@googlegroups.com
Yohann,
    I am still facing the same issue... All the lines in the hosts file is commented. Could you guide me? And if hosts file was the issue, then why was it running fine earlier?

Thanks,
Snigdha.
Reply all
Reply to author
Forward
0 new messages