Unable to compile projects after installing ESR6722041 (Doc ID 1026050.1)

Last updated on APRIL 01, 2013

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
Checked for relevance on ***29-Mar-2013***.


Symptoms

After installing ESR# 6722041, a project build attempt fails with the following compilation error message:

BUILD FAILED
file:C:/JavaCAPS51/repository/work/1236109138574/install.xml:13: com.stc.repository.RepositoryException:
Could not save some of the objects, to access the unsaved objects
call getSaveError method on the exception

SAVE ERROR DETAIL STARTS:
Persistable Name: JCDEVREP2 Persistable class name: com.stc.repository.impl.RepositoryImpl
Error:Could not update JCDEVREP2 of type {01000000-19E2C7B41F0100-C0A866B1-01} with

OID com.stc.repository.impl.RepositoryImpl
Error Detail:null
SAVE ERROR DETAIL ENDS

Running esrxmlfix.bat fails with the error:

C:\JavaCAPS51\repository>java -jar esrxmlfix.jar
File to copy, C:\JavaCAPS51\repository\..\repository\data\objects\versioncontrol\{01000000-19E2C7B41F0100-C0A866B1-01}.xml,v{01000000-19E2C7B41F0100-C0A866B1-01}.xml,v.old, does not exit.

The file:{01000000-19E2C7B41F0100-C0A866B1-01}.xml,v had the zero byte. Even though the user renamed {01000000-19E2C7B41F0100-C0A866B1-01}.xml,v.old to {01000000-19E2C7B41F0100-C0A866B1-01}.xml,v, the {01000000-19E2C7B41F0100-C0A866B1-01}.xml,v was always changed to the zero byte.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms