Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Error log verification issue
Error log verification issue [message #1761411] Wed, 10 May 2017 16:52 Go to next message
Alfonso Rios is currently offline Alfonso RiosFriend
Messages: 10
Registered: February 2016
Junior Member
When I add an error log verification the test case cannot be run. I am getting the error message below. Once I removed the error log verification from my test case, it runs without any problem.

Connection is not Available

java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:278)
at org.eclipse.rcptt.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:91)
at org.eclipse.rcptt.ecl.client.tcp.EclTcpSession.writeOutput(EclTcpSession.java:199)
at org.eclipse.rcptt.ecl.client.tcp.EclTcpSession.access$6(EclTcpSession.java:196)
at org.eclipse.rcptt.ecl.client.tcp.EclTcpSession$1.run(EclTcpSession.java:96)
at java.lang.Thread.run(Thread.java:785)
Re: Error log verification issue [message #1761412 is a reply to message #1761411] Wed, 10 May 2017 17:12 Go to previous messageGo to next message
Alfonso Rios is currently offline Alfonso RiosFriend
Messages: 10
Registered: February 2016
Junior Member
This is from the console log:

!ENTRY org.eclipse.rcptt.ecl.core 4 0 2017-05-10 12:10:24.833
!MESSAGE Can load package http://eclipse.org/rcptt/verifications/log, http://eclipse.org/rcptt/verifications/log#/
!SUBENTRY 1 org.eclipse.rcptt.ecl.core 4 0 2017-05-10 12:10:24.833
!MESSAGE Can load package http://eclipse.org/rcptt/verifications/log, http://eclipse.org/rcptt/verifications/log#/
!STACK 0
java.lang.NullPointerException: Can load package http://eclipse.org/rcptt/verifications/log, http://eclipse.org/rcptt/verifications/log#/
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.readEPackage(ECLBinaryResourceImpl.java:954)
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.readEClass(ECLBinaryResourceImpl.java:966)
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadEObject(ECLBinaryResourceImpl.java:1226)
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadFeatureValue(ECLBinaryResourceImpl.java:1262)
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadEObject(ECLBinaryResourceImpl.java:1240)
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadResource(ECLBinaryResourceImpl.java:1022)
at org.eclipse.rcptt.ecl.core.util.ECLBinaryResourceImpl.doLoad(ECLBinaryResourceImpl.java:128)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
at org.eclipse.rcptt.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:105)
at org.eclipse.rcptt.ecl.server.tcp.SessionRequestHandler.run(SessionRequestHandler.java:51)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Re: Error log verification issue [message #1771304 is a reply to message #1761412] Wed, 23 August 2017 20:35 Go to previous message
Alfonso Rios is currently offline Alfonso RiosFriend
Messages: 10
Registered: February 2016
Junior Member
The problem was the RCPTT version used to build the test [2.2] and the version used to run it [2.1]. I installed latest RCPTT version 2.2 and now can run the test with the error log verification feature.
Previous Topic:RCPTT runner with suites option
Next Topic:RCPTT Test Runner not finishing its job
Goto Forum:
  


Current Time: Sat Aug 18 20:00:16 GMT 2018

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

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

Back to the top