I'm using RAM 7.1 and the java client API to create and delete assets.
I have a java UNIT test that creates and deletes an asset in a sequence.
The asset creation goes well but when the deletion is supposed to be
executed, I receive the following error:
ERROR Failed to create the asset assets/education/schooltimetabling_1.0/version_test_assethttp://3.0 -- RAMSession
com.ibm.ram.common.data.exception.RAMRuntimeException: c:\demeter\iram_upload_dir\assets\education\assets\schooltimetabling\version_test_asset\version_test_asset_3.0.owl (The system cannot find the path specified)
Caused by: java.io.FileNotFoundException: c:\demeter\iram_upload_dir\assets\education\assets\schooltimetabling\version_test_asset\version_test_asset_3.0.owl (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
... 26 more
The file that is not found is an artifact that is associated with the asset I now want to delete.
Note that if I re-run the code that deletes the asset from a different session, it performs quite well.
It seems that doing in sequence creation and deletion is causing the issue...
PS: the code to delete is very simple
getSession().put(asset, new NullProgressMonitor());
This topic has been locked.