gDebugger not working - debugging

I downloaded the last version of gDebugger (currently 5.8.1). But I can't make it works. I try to run the provided examples, but nothing happen.
I try to load the teapot example, but when I run it (F5), I just see a command line prompt which disappear immediately. (I also try to make the same actions as "Timothy Smith" described in http://devgurus.amd.com/thread/158943 in its first post, but the result was the same)
I'm on Win7 64 bits, with a GTX 470.
Edit: This is the error I get in the log:
[20:10:36] [2495245290] [ERROR] [4448] [gaAPIToSpyConnector::initialize] [src\gaAPIToSpyConnector.cpp] [217] [Assertion failure (rcAPISocket)]
## [20:10:36] [2495245327] [ERROR] [4448] [gaLaunchDebuggedProcess] [src\gaGRApiFunctions.cpp] [388] [Assertion failure (rcAPIConnection)]
## [20:10:36] [2495821910] [ERROR] [4448] [osPipeSocket::close] [src\win32\osPipeSocket.cpp] [124] [Cannot close pipe (pipe type: osPipeSocketServer)]
## [20:10:36] [2495822046] [ERROR] [4448] [osPipeSocket::close] [src\win32\osPipeSocket.cpp] [137] [Cannot close pipe (pipe type: osPipeSocketServer)]
## [20:10:36] [2495822236] [ERROR] [4448] [osPipeSocketServer::open] [src\win32\osPipeSocketServer.cpp] [76] [Assertion failure (_incomingPipe != ((HANDLE)(LONG_PTR)-1))]
## [20:10:36] [2495822377] [ERROR] [4448] [osPipeSocketServer::open] [src\win32\osPipeSocketServer.cpp] [97] [Assertion failure (_outgoingPipe != ((HANDLE)(LONG_PTR)-1))]
## [20:10:36] [2495822453] [ERROR] [4448] [gaAPIToSpyConnector::initialize] [src\gaAPIToSpyConnector.cpp] [217] [Assertion failure (rcAPISocket)]
## [20:10:36] [2495822520] [ERROR] [4448] [gaLaunchDebuggedProcess] [src\gaGRApiFunctions.cpp] [388] [Assertion failure (rcAPIConnection)]

gDebugger is now an AMD product and all the new versions are available on their developer site. Current version is 6.2.
Edit:
The tool is now called CodeXL and available here

Related

Project build failed while testing project with maven and jvmdump file is created which shows nullpointerexception which is in Freemarker

java.lang.NullPointerException
at freemarker.template.TemplateException.getFTLInstructionStack(TemplateException.java:233)
at freemarker.template.TemplateException.printStackTrace(TemplateException.java:363)
at freemarker.template.TemplateException.printStackTrace(TemplateException.java:339)
at freemarker.template.TemplateException.printStackTrace(TemplateException.java:327)
at org.testng.internal.Utils.buildStackTrace(Utils.java:535)
at org.testng.internal.Utils.longStackTrace(Utils.java:519)
at org.testng.reporters.TestHTMLReporter.generateTable(TestHTMLReporter.java:155)
at org.testng.reporters.TestHTMLReporter.generateLog(TestHTMLReporter.java:311)
at org.testng.reporters.TestHTMLReporter.onFinish(TestHTMLReporter.java:40)
at org.testng.TestRunner.fireEvent(TestRunner.java:772)
at org.testng.TestRunner.afterRun(TestRunner.java:741)
at org.testng.TestRunner.run(TestRunner.java:509)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
This error comes while i run test by maven, but when i run test individually, its fine. Error is dumped in target/surefire-reports and the dump file is 2019-07-18T15-47-53_893-jvmRun1.dump. This error comes up when i try to catch exception in unit test that is passed. I have Freemerker Dependency in my project and this exception is of freemarker. here is the unit test.
#Test(expectedExceptions = TemplateException.class)
public void getTemplate_Unsuccessfull_TemplateException() throws IOException, TemplateException {
//GIVEN
//WHEN
Mockito.when(configuration.getTemplate("someFile.ftl")).thenReturn(template);
Mockito.doThrow(TemplateException.class).when(template).process(Mockito.any(Map.class),Mockito.any(Writer.class));
//THEN
TemplateService.getTemplate("abcd#gmail.com","123456");
}
And this is console output
Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.743 s
[INFO] Finished at: 2019-07-18T16:42:41+05:30
[INFO] Final Memory: 47M/382M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project ***: There are test failures.
[ERROR]
[ERROR] Please refer to F:\*****\Project\****\branches\Authentication_20190508\Service\***\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] There was an error in the forked process
[ERROR] null
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] null
I expect to successfully run all tests by maven.

Suddenly getting "NoSuchMethodError: org.codehaus.plexus.compiler.CompilerConfiguration.isParameters" in CI build

I'm suddenly seeing a CI Maven build failing with something like this:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project CheckoutMs: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile: java.lang.NoSuchMethodError: org.codehaus.plexus.compiler.CompilerConfiguration.isParameters()Z
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-compiler-plugin:3.6.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/jenkins/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.6.1/maven-compiler-plugin-3.6.1.jar
[ERROR] urls[1] = file:/home/jenkins/.m2/repository/org/codehaus/groovy/groovy-eclipse-compiler/3.3.0-01/groovy-eclipse-compiler-3.3.0-01.jar
[ERROR] urls[2] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[ERROR] urls[3] = file:/home/jenkins/.m2/repository/org/apache/xbean/xbean-reflect/3.7/xbean-reflect-3.7.jar
[ERROR] urls[4] = file:/home/jenkins/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar
[ERROR] urls[5] = file:/home/jenkins/.m2/repository/org/codehaus/groovy/groovy-eclipse-batch/2.5.5-01/groovy-eclipse-batch-2.5.5-01.jar
[ERROR] urls[6] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[7] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[8] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
[ERROR] urls[9] = file:/home/jenkins/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[10] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[11] = file:/home/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[12] = file:/home/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[13] = file:/home/jenkins/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar
[ERROR] urls[14] = file:/home/jenkins/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
[ERROR] urls[15] = file:/home/jenkins/.m2/repository/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
[ERROR] urls[16] = file:/home/jenkins/.m2/repository/org/ow2/asm/asm/6.0_ALPHA/asm-6.0_ALPHA.jar
[ERROR] urls[17] = file:/home/jenkins/.m2/repository/com/thoughtworks/qdox/qdox/2.0-M5/qdox-2.0-M5.jar
[ERROR] urls[18] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-compiler-api/2.8.1/plexus-compiler-api-2.8.1.jar
[ERROR] urls[19] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-compiler-manager/2.8.1/plexus-compiler-manager-2.8.1.jar
[ERROR] urls[20] = file:/home/jenkins/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/2.8.1/plexus-compiler-javac-2.8.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
From some analysis, I can see that the "isParameters" method is available in version 2.8.3 of the plexus-compiler-api, but not in 2.8.1, which is being used here. This is not a dependency, direct or indirect, of the project being built.
This error is repeatable in the project where it's happening. It started happening at 2 minutes after midnight starting on 1/26. The previous build of this, which ran 6 minutes before that, on the previous day, did not see this symptom.
I also looked at the git commit ids of every repository pulled from for this build, and they are identical between the last successful build and this first (and continuing) failure.
This means that something must have changed in the infrastructure. I don't maintain that. A different team does. What I'd like to get from this posting is any clues I can pass on about what might have changed that could have caused this.
This is caused by plexus-compiler-eclipse not properly resolving its dependency on plexus-compiler-api. Not sure why - here's its pom.xml.
It's currently resolving the version of that dependency via the Maven Compiler Plugin, which is why updating it to latest e.g.:
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
fixes the dependency, e.g. it will cause:
< [INFO] org.codehaus.plexus:plexus-compiler-api:jar:2.8.1
< [INFO] org.codehaus.plexus:plexus-compiler-manager:jar:2.8.1
< [INFO] org.codehaus.plexus:plexus-compiler-javac:jar:2.8.1
---
> [INFO] org.codehaus.plexus:plexus-compiler-api:jar:2.8.4
> [INFO] org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4
> [INFO] org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4
The API change that causes the issue was introduced in this commit, first released in the plugin 2.8.2, which is why referencing latest e.g 2.8.6 without triggering the API dependency transitively via maven-compiler-plugin latest causes this problem.
FYI openjdk17
NoSucMethodError: 'void org.codehaus.plexus.compiler.eclipse.EclipseJavaCompiler.logCompiling
<plexus.version>2.13.0</plexus.version>
<compiler.version>3.10.1</compiler.version>
Use 2.12.1

java.lang.NullPointerException: at utilities2.ExcelUtility.findCells(ExcelUtility.java:70)

I am trying to run my test cases from command Line using maven command.
Below is the error message I am getting. I was able to run the test case when I right click on my XML file and run it with TestNG suites without a problem.
The problem I have is that I can't execute the test cases that are inside my pom.xml. This problem only occurs whenever I am using excel for data-driven.I am suspecting my poi might not be compatible with the maven version or the chrome gecko might not be compatible with the maven version. I am just guessing and that is why I need your help.
C:\
Blockquote
mvn test -PClientAlert
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cehproject 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # cehproject
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\akinrins\workspace\cehprojec
t\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # cehproject ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # ce
hproject ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\akinrins\workspace\cehprojec
t\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # cehproj
ect ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) # cehproject ---
[INFO] Surefire report directory: C:\Users\akinrins\workspace\cehproject\target\
surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Starting ChromeDriver 2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41) on
port 8611
Only local connections are allowed.
Jan 16, 2018 2:37:04 PM org.openqa.selenium.remote.ProtocolHandshake createSessi
on
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the rem
ote end
log4j:WARN No appenders could be found for logger (org.apache.http.client.protoc
ol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
Jan 16, 2018 2:37:06 PM org.openqa.selenium.remote.ProtocolHandshake createSessi
on
INFO: Detected dialect: OSS
java.lang.NullPointerException
at utilities2.ExcelUtility.findCells(ExcelUtility.java:70)
at utilities2.ExcelUtility.getTestData(ExcelUtility.java:40)
at AlertTesting.ClientAlertTest.dataProvider(ClientAlertTest.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocat
ionHelper.java:108)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocat
ionHelper.java:55)
at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedExcep
tion(MethodInvocationHelper.java:45)
at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodI
nvocationHelper.java:115)
at org.testng.internal.Parameters.handleParameters(Parameters.java:509)
at org.testng.internal.Invoker.handleParameters(Invoker.java:1308)
at org.testng.internal.Invoker.createParameters(Invoker.java:1036)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1126)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWork
er.java:126)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:744)
at org.testng.TestRunner.run(TestRunner.java:602)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.ja
va:295)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXml
TestSuite.java:84)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider
.java:90)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla
ssLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork
edBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:
103)
[Utils] [ERROR] [Error] org.testng.TestNGException:
Data Provider public java.lang.Object[][] AlertTesting.ClientAlertTest.dataProvi
der() must return either Object[][] or Iterator<Object>[], not class [[Lja
va.lang.Object;
at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodI
nvocationHelper.java:137)
at org.testng.internal.Parameters.handleParameters(Parameters.java:509)
at org.testng.internal.Invoker.handleParameters(Invoker.java:1308)
at org.testng.internal.Invoker.createParameters(Invoker.java:1036)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1126)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWork
er.java:126)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:744)
at org.testng.TestRunner.run(TestRunner.java:602)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.ja
va:295)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXml
TestSuite.java:84)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider
.java:90)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla
ssLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork
edBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:
103)
Tests run: 6, Failures: 2, Errors: 0, Skipped: 4, Time elapsed: 9.846 sec <<< FA
ILURE! - in TestSuite
ClientAlertOne(AlertTesting.ClientAlertTest) Time elapsed: 9.712 sec <<< FAILU
RE!
java.lang.NoSuchMethodError: org.apache.poi.util.POILogger.log(ILjava/lang/Objec
t;)V
at org.apache.poi.openxml4j.opc.PackageRelationshipCollection.parseRelat
ionshipsPart(PackageRelationshipCollection.java:304)
at org.apache.poi.openxml4j.opc.PackageRelationshipCollection.<init>(Pac
kageRelationshipCollection.java:156)
at org.apache.poi.openxml4j.opc.PackageRelationshipCollection.<init>(Pac
kageRelationshipCollection.java:124)
at org.apache.poi.openxml4j.opc.PackagePart.loadRelationships(PackagePar
t.java:559)
at org.apache.poi.openxml4j.opc.PackagePart.<init>(PackagePart.java:112)
at org.apache.poi.openxml4j.opc.PackagePart.<init>(PackagePart.java:83)
at org.apache.poi.openxml4j.opc.PackagePart.<init>(PackagePart.java:128)
at org.apache.poi.openxml4j.opc.ZipPackagePart.<init>(ZipPackagePart.jav
a:78)
at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:
218)
at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:662)
at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:269)
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:39)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:2
04)
at utilities2.ExcelUtility.setExcelFile(ExcelUtility.java:27)
at AlertTesting.ClientAlertTest.ClientAlertOne(ClientAlertTest.java:63)
TC_ClientAlertTest(AlertTesting.ClientAlertTest) Time elapsed: 9.743 sec <<< F
AILURE!
org.testng.TestNGException:
Data Provider public java.lang.Object[][] AlertTesting.ClientAlertTest.dataProvi
der() must return either Object[][] or Iterator<Object>[], not class [[Ljava.lan
g.Object;
at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodI
nvocationHelper.java:137)
at org.testng.internal.Parameters.handleParameters(Parameters.java:509)
at org.testng.internal.Invoker.handleParameters(Invoker.java:1308)
at org.testng.internal.Invoker.createParameters(Invoker.java:1036)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1126)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWork
er.java:126)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:744)
at org.testng.TestRunner.run(TestRunner.java:602)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.ja
va:295)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXml
TestSuite.java:84)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider
.java:90)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla
ssLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork
edBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:
103)
Results :
Failed tests:
ClientAlertTest.ClientAlertOne:63 » NoSuchMethod org.apache.poi.util.POILogger
...
ClientAlertTest.TC_ClientAlertTest » TestNG
Data Provider public java.lang.Ob...
Tests run: 6, Failures: 2, Errors: 0, Skipped: 4
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.268 s
[INFO] Finished at: 2018-01-16T14:37:13-05:00
[INFO] Final Memory: 13M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
18.1:test (default-test) on project cehproject: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\akinrins\workspace\cehproject\target\surefire-r
eports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
`enter code here`ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption

TiApplication: (KrollRuntimeThread) [44,147] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed

Environment:
Titnium SDK: 5.2.2.GA or 5.1.2.GA
Android API: 23
Appcelerator Studio 4.5.0.201602170821
Device: OnePlus (Andriod OS: 6.0.1, Screen: 5.5) and Samsung Galaxy s6edge (Andriod OS: 6.0.1, Screen: 5.1)
Description
When I am running my app(a default project) to emulator (Genymotion or device), it's crashing on device and emulator.
Error
WARN] : TiTempFileHelper: (main) [15,15] The external temp directory doesn't exist, skipping cleanup
[WARN] : V8Object: (KrollRuntimeThread) [88,103] Runtime disposed, cannot set property 'userAgent'
[ERROR] : linker: /data/app/com.ityug.gstanduppoker-2/lib/arm/libti.sq.so: has text relocations
[ERROR] : TiApplication: (KrollRuntimeThread) [44,147] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.ityug.gstanduppoker-2/lib/arm/libti.sq.so: has text relocations; Titanium 5.2.2,2016/03/28 14:12,b685ddb
[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.ityug.gstanduppoker-2/lib/arm/libti.sq.so: has text relocations
[ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:372)
[ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1076)
[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)
[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205)
[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114)

Spring roo 1.2.2 and GWT 2.5 compatibility

I am trying to deploy an application using Spring Roo and GWT. I am a starter at both GWT and Roo and started by following this tutorial, but there seems to be a ploblem because the sample application cannot be started usin mvn:gwt run.
The result of the above maven command:
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gwt_crash.ly 0.1.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> gwt-maven-plugin:2.2.0:run (default-cli) # gwt_crash.ly >>>
[INFO]
[INFO] --- aspectj-maven-plugin:1.2:compile (default) # gwt_crash.ly ---
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[WARNING] advice defined in org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMatch]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50.725s
[INFO] Finished at: Wed Nov 28 18:10:54 EET 2012
[INFO] Final Memory: 10M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project gwt_crash.ly: Compiler errors :
[ERROR] error at return entityManager().createQuery("SELECT COUNT(o) FROM Report o", Long.class).getSingleResult();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Report_Roo_Jpa_ActiveRecord.aj:24:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Report o", Report.class).getResultList();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Report_Roo_Jpa_ActiveRecord.aj:28:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Report o", Report.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Report_Roo_Jpa_ActiveRecord.aj:37:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT COUNT(o) FROM Employee o", Long.class).getSingleResult();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Employee_Roo_Jpa_ActiveRecord.aj:24:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Employee o", Employee.class).getResultList();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Employee_Roo_Jpa_ActiveRecord.aj:28:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Employee o", Employee.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Employee_Roo_Jpa_ActiveRecord.aj:37:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT COUNT(o) FROM Expense o", Long.class).getSingleResult();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Expense_Roo_Jpa_ActiveRecord.aj:24:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Expense o", Expense.class).getResultList();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Expense_Roo_Jpa_ActiveRecord.aj:28:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Expense o", Expense.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
[ERROR] ^^
[ERROR] /Users/alexsapran/Documents/workspace_j2ee/gwt_crash.ly/src/main/java/ly/crash/gwt/server/domain/Expense_Roo_Jpa_ActiveRecord.aj:37:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I have tried using both standard eclipse and STS but with no luck and every tutorial I can find is about roo 1.1.1.
So my question is if GWT is compatible with Roo and if yes is there a working sample code-tutorial to use?
Can someone please help me?
You might be coming across some version mismatch.
The documentation is not changed but always refer to latest - https://developers.google.com/web-toolkit/doc/latest/tutorial/roo-sts#install
Latest STS for GWT 2.5 -
http://blog.springsource.org/2012/12/18/spring-roo-1-2-3-release-available/
Also ensure you are using latest gwt-maven-plugin version 2.5

Resources