Closed david-streamlio closed 4 years ago
what's the testng eclipse plugin version do you use?
Version is 6.9.10.201512240000
could you try with version 7.0.0: https://dl.bintray.com/testng-team/testng-eclipse-release/7.0.0/
That solved the initial issue, but now I am getting the following error when trying to debug a test:
Caused by: java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.
Caused by: java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory.
looks like a dependency issue, could you check you have the right/desired version of gson on the classpath?
I have gson version 2.8.2 which I believe is the correct version
I was able to resolve this issue.
This is a known issue in jclouds. See JCLOUDS-1160 and JCLOUDS-1166 and requires a version of Gson <= 2.5.
Good to know, thanks
Problem Statement
please read https://github.com/cbeust/testng-eclipse/blob/master/docs/Troubleshooting.md first
Any relate message in "Error Log" view
java.lang.IllegalArgumentException: Unrecognized protocol: json at org.testng.eclipse.launch.TestNGLaunchConfigurationConstants$Protocols.get(TestNGLaunchConfigurationConstants.java:151) at org.testng.eclipse.ui.util.ConfigurationHelper.getProtocol(ConfigurationHelper.java:105) at org.testng.eclipse.ui.util.ConfigurationHelper.getJvmArgs(ConfigurationHelper.java:174) at org.testng.eclipse.launch.TestNGLaunchConfigurationDelegate.launchTypes(TestNGLaunchConfigurationDelegate.java:158) at org.testng.eclipse.launch.TestNGLaunchConfigurationDelegate.launch(TestNGLaunchConfigurationDelegate.java:90) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Session Data
eclipse.buildId=4.7.3.M20180330-0640 java.version=1.8.0_161 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -keyring /Users/david/.eclipse_keyring Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -data file:/Users/david/dev-zone/pulsar-workspace/ -product org.eclipse.epp.package.java.product -keyring /Users/david/.eclipse_keyring
The Dependency Management tool for your project
Operating System