/
Workbench commit failed with java.lang.ArrayIndexOutOfBoundsException
Workbench commit failed with java.lang.ArrayIndexOutOfBoundsException
Problem
MettleCI Workbench
throwing java.lang.ArrayIndexOutOfBoundsException
when committing asset(s)
Cause
IBM istool
has a permission issue with org.eclipse.osgi
Run istool
with the-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
The solution is to change the permissions of the files that need to be locked… Assuming istool is located under /opt/IBM/InformationServer/Clients/istool
cd /opt/IBM/InformationServer/Clients/istools/cli/configuration/org.eclipse.osgi/.manager
chmod go+r .fileTable*
This will resolve the istool
permission issue, and Workbench commit issue.
Note that the solution suggested in the error message (of passing "-Dosgi.locking=none"
as a VM argument) does not always solve the issue without the permissions change, and with the permissions change, that argument is not needed.
, multiple selections available,
Related content
Unexpected DataStage error occurred - Unhandled exception Type=Segmentation error
Unexpected DataStage error occurred - Unhandled exception Type=Segmentation error
More like this
Workbench memory errors on AIX
Workbench memory errors on AIX
More like this
MettleCI CLI / Workbench: Job import/export-related functions fail after Information Server patched
MettleCI CLI / Workbench: Job import/export-related functions fail after Information Server patched
More like this
Workbench produces 'Failed to initialize DATASTAGE_ASB authentication' error on startup
Workbench produces 'Failed to initialize DATASTAGE_ASB authentication' error on startup
More like this
Error while CI pipeline is 'Inspecting DataStage assets for last change'
Error while CI pipeline is 'Inspecting DataStage assets for last change'
More like this
MettleCI CLI produces error of the form 'Cannot run program "XXX"'
MettleCI CLI produces error of the form 'Cannot run program "XXX"'
More like this
© 2015-2024 Data Migrators Pty Ltd.