Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » [SOLVED] #TEST RUNNER #exception : Error initializing storage (#TEST RUNNER #exception : Error initializing storage )
[SOLVED] #TEST RUNNER #exception : Error initializing storage [message #1709533] Tue, 29 September 2015 03:32 Go to next message
Eclipse UserFriend
Hi Mates,
usually always it works but nowdays when I run the 'runner.cmd' I have created a Java exception is happened.
Have you got good tip to solve it without restart from scratch ?
Thank you guys.

Below the runner.cmd code and the Java exception.

REM !!! Replace the value below with the path to the directory there
REM application under test (AUT) is located.
SET AUT=D:\XDMClient2_AngeloLuciani
SET RUNNER=C:\Users\Administrator\Desktop\rcptt.runner-2.0.0\eclipse
SET PROJECT=C:\QA\workspace2\q


REM Path to directory with test results, default is C:\Users\User\results
SET RESULTS=C:\Users\Administrator\Desktop\results

REM Remove results dir if present
IF NOT EXIST %RESULTS% GOTO NORESULTS
RMDIR /S /Q %RESULTS%

:NORESULTS
md %RESULTS%

java -jar %RUNNER%/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar ^
 -application org.eclipse.rcptt.runner.headless ^
 -data %RESULTS%/runner-workspace/ ^
 -aut %AUT% ^
 -autWsPrefix %RESULTS%/aut-workspace ^
 -autConsolePrefix %RESULTS%/aut-output ^
 -htmlReport %RESULTS%/report.html ^
 -junitReport %RESULTS%/report.xml ^
 -import %PROJECT% 






C:\Users\Administrator\Desktop\rcptt.runner-2.0.0>md C:\Users\Administrator\Desktop\results

C:\Users\Administrator\Desktop\rcptt.runner-2.0.0>java -jar C:\Users\Administrator\Desktop\rcptt.run
ner-2.0.0\eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -application org.
eclipse.rcptt.runner.headless -data C:\Users\Administrator\Desktop\results/runner-workspace/ -aut
D:\XDMClient2_AngeloLuciani -autWsPrefix C:\Users\Administrator\Desktop\results/aut-workspace -aut
ConsolePrefix C:\Users\Administrator\Desktop\results/aut-output -htmlReport C:\Users\Administrator\
Desktop\results/report.html -junitReport C:\Users\Administrator\Desktop\results/report.xml -import
C:\QA\workspace2\q
java.lang.RuntimeException: Error initializing storage.
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:77)
at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:295)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:231)
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)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at org.eclipse.osgi.storage.Storage.loadGenerations(Storage.java:1150)
at org.eclipse.osgi.storage.Storage.<init>(Storage.java:132)
at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:86)
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:75)
... 11 more
An error has occurred. See the log file
null.


[Updated on: Thu, 08 October 2015 07:22] by Moderator

Re: #TEST RUNNER #exception : Error initializing storage [message #1709537 is a reply to message #1709533] Tue, 29 September 2015 04:04 Go to previous message
Eclipse UserFriend
Dear all,
I found the solution look like is an Eclipse bug and when it happened we need to delete the folder 'org.eclipse.osgi'.
C:\Users\Administrator\Desktop\rcptt.runner-2.0.0\eclipse\configuration
That's all.
Thank you guys.

[Updated on: Tue, 29 September 2015 04:05] by Moderator

Previous Topic:Plans to support e4?
Next Topic:Dismissing a File Chooser Dialog
Goto Forum:
  


Current Time: Wed Jun 25 02:12:26 EDT 2025

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

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

Back to the top