Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » If I run the test suite using Jenkins results a lot of FAIL test cases.(JENKINS FAILED TEST CASES Exception java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: org.eclipse.swt.SWTError: Item not added)
icon5.gif  If I run the test suite using Jenkins results a lot of FAIL test cases. [message #1747408] Mon, 14 November 2016 11:14
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

Hi Folks ,
If I run a test suite from RCP Testing Tool IDE the test cases PASS.
If I run using Jenkins results a lot of FAIL test cases.
I use rcptt-maven-version 2.2.0-SNAPSHOT and Runner version 2.0.2 .

I check the report and there is the exception below.
Have you got any good tip ?

java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: org.eclipse.swt.SWTError: Item not added
	at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:423)
	at org.eclipse.rcptt.ecl.core.impl.CoreFactoryImpl.createThrowableFromString(CoreFactoryImpl.java:592)
	at org.eclipse.rcptt.ecl.core.impl.CoreFactoryImpl.createFromString(CoreFactoryImpl.java:125)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1284)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1257)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObjects(SherlockBinaryResourceImpl.java:1034)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1267)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObjects(SherlockBinaryResourceImpl.java:1034)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1267)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1257)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1257)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObjects(SherlockBinaryResourceImpl.java:1034)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1267)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadFeatureValue(SherlockBinaryResourceImpl.java:1257)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadEObject(SherlockBinaryResourceImpl.java:1235)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl$EObjectInputStream.loadResource(SherlockBinaryResourceImpl.java:1017)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockBinaryResourceImpl.doLoad(SherlockBinaryResourceImpl.java:128)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockReportFormat.loadReport(SherlockReportFormat.java:71)
	at org.eclipse.rcptt.sherlock.core.streams.SherlockReportIterator.next(SherlockReportIterator.java:102)
	at org.eclipse.rcptt.reporting.util.Q7ReportIterator$1.next(Q7ReportIterator.java:48)
	at org.eclipse.rcptt.reporting.util.Q7ReportIterator$1.next(Q7ReportIterator.java:1)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at org.eclipse.rcptt.reporting.html.HtmlReportRenderer.renderFailed(HtmlReportRenderer.java:121)
	at org.eclipse.rcptt.reporting.html.HtmlReportRenderer.renderReport(HtmlReportRenderer.java:86)
	at org.eclipse.rcptt.reporting.html.HtmlReportRenderer.generateReport(HtmlReportRenderer.java:62)
	at org.eclipse.rcptt.runner.util.Reporter.createReport(Reporter.java:83)
	at org.eclipse.rcptt.runner.util.Reporter.createReport(Reporter.java:77)
	at org.eclipse.rcptt.runner.util.Reporter.report(Reporter.java:41)
	at org.eclipse.rcptt.runner.HeadlessRunner.performCoolThings(HeadlessRunner.java:55)
	at org.eclipse.rcptt.runner.HeadlessRunnerApp.start(HeadlessRunnerApp.java:54)
	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:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)


"Ce sont les petits d├ęsirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova

[Updated on: Tue, 15 November 2016 08:40]

Report message to a moderator

Previous Topic:[SOLVED] When I run some test from Jenkins, It opens 2 distinct AUT (Application Under Test)
Next Topic:Select a data in a list
Goto Forum:
  


Current Time: Thu Sep 20 22:20:37 GMT 2018

Powered by FUDForum. Page generated in 0.01233 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top