Problem
MettleCI Workbench
throwing java.lang.ArrayIndexOutOfBoundsException
when committing asset(s)
Cause
IBM istool
has permission issue with org.eclipse.osgi
Run istool
with -preview
option, and you should see problem rows in line 4 and 5
Beginning Export Preview [1/1] ENGINE/DEV/Jobs/sj_mrt_subject.pjb Previewed 1 assets <title>Invalid Configuration Location</title>Locking is not possible in the directory "/opt/IBM/InformationServer/Clients/istools/cli/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument. ReliableFile is corrupt
Solution
Assuming istool is locating under /opt/IBM/InformationServer/Clients/istool
cd /opt/IBM/InformationServer/Clients/istools/cli/configuration/org.eclipse.osgi/.manager chmod go+r .fileTable*
This will resolved the istool
permission issue, and Workbench commit issue.