TIBCO Business Events studio-tools fails to build ear file. Error: "Error Initializing Storage".

TIBCO Business Events studio-tools fails to build ear file. Error: "Error Initializing Storage".

book

Article ID: KB0094128

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
The full error stack is follows:

C:\tibco\be\5.2\studio\bin>studio-tools -x -core buildEar -o C:\tibco\workspace_AZ\dist\R2016Q300t032\HETS_AZ.ear -p C:\
tibco\workspace_AZ\BusinessEventsHETSAZ
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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readInt(Unknown Source)
        at org.eclipse.osgi.storage.Storage.loadGenerations(Storage.java:1147)
        at org.eclipse.osgi.storage.Storage.<init>(Storage.java:129)
        at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:84)
        at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:75)
        ... 11 more
An error has occurred. See the log file


Symptoms:
Error is thrown, see description.

Cause:
This is an error which shows up from time to time with Eclipse based products. This is an error from Eclipse and not a BE issue.

Issue/Introduction

TIBCO Business Events studio-tools fails to build ear file. Error: "Error Initializing Storage".

Resolution

"studio -clean" fixed the problem.