Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » NullPointerException when using Runner vs IDE
NullPointerException when using Runner vs IDE [message #1799113] Thu, 29 November 2018 22:28
Violaine Batthish is currently offline Violaine BatthishFriend
Messages: 4
Registered: July 2009
Junior Member
My testcase runs fine from the IDE on Linux, but when using the runner, I get the following error:

java.lang.Throwable: java.lang.Throwable: java.lang.Throwable: java.lang.NullPointerException
at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
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.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:1563)
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$6.computeNext(Iterators.java:616)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
at org.eclipse.rcptt.reporting.html.HtmlReporter.renderFailed(HtmlReporter.java:44)
at org.eclipse.rcptt.reporting.html.HtmlReportRenderer.renderReport(HtmlReportRenderer.java:96)
at org.eclipse.rcptt.reporting.html.HtmlReporter.renderReport(HtmlReporter.java:107)
at org.eclipse.rcptt.reporting.html.HtmlReportRenderer.generateReport(HtmlReportRenderer.java:72)
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:38)
at org.eclipse.rcptt.runner.HeadlessRunner.performCoolThings(HeadlessRunner.java:60)
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:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
Previous Topic:NoClassDefFoundError: org/eclipse/core/resources/IResourceChangeListener
Next Topic:RCPTT has long timeout and fails replaying recorded scrtip
Goto Forum:
  


Current Time: Sat Jul 20 08:12:47 GMT 2024

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

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

Back to the top