IBM Support

Unstructured Datastage job fails with "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0"

Troubleshooting


Problem

Unstructured DataStage job fails with "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0" on Red Hat Linux environment

Symptom

A similar exception is displayed when the Unstructured DataStage job is run 

com.ascential.e2.common.CC_Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at sun.font.CompositeFont.getSlotFont(CompositeFont.java:346)
at sun.font.CompositeGlyphMapper.initMapper(CompositeGlyphMapper.java:94)
at sun.font.CompositeGlyphMapper.<init>(CompositeGlyphMapper.java:75)
at sun.font.CompositeFont.getMapper(CompositeFont.java:404)
at sun.font.CompositeFont.canDisplay(CompositeFont.java:430)
at java.awt.Font.canDisplayUpTo(Font.java:2074)
at java.awt.font.TextLayout.singleFont(TextLayout.java:481)
at java.awt.font.TextLayout.<init>(TextLayout.java:539)
at org.apache.poi.ss.util.SheetUtil.getDefaultCharWidth(SheetUtil.java:254)
at org.apache.poi.xssf.streaming.AutoSizeColumnTracker.<init>(AutoSizeColumnTracker.java:117)
at org.apache.poi.xssf.streaming.SXSSFSheet.<init>(SXSSFSheet.java:77)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.createAndRegisterSXSSFSheet(SXSSFWorkbook.java:636)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:657)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:71)
at com.ibm.is.cc.unstructured.poi.SSWorkbook4SXLSX.createSheet(SSWorkbook4SXLSX.java:438)
at com.ibm.is.cc.unstructured.api.ExcelWorkbook.createSheet(ExcelWorkbook.java:673)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelRowHandler.createSheet(ExcelRowHandler.java:78)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelInputLinkRep.initSheet(ExcelInputLinkRep.java:133)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelProcessorRep.initWorkbook(ExcelProcessorRep.java:161)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelProcessorRep.initialize(ExcelProcessorRep.java:96)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.ExcelProcessorRep.initialize(ExcelProcessorRep.java:70)
at com.ibm.is.cc.unstructured.UnstructuredProcessor.initialize(UnstructuredProcessor.java:162)
at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.initializeProcessor(CC_JavaAdapter.java:1030)
at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.preRunNode(CC_JavaAdapter.java:692)
at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.initializeProcessor (CC_JavaAdapter.java: 1045)
at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.preRunNode (CC_JavaAdapter.java: 692)

Document Location

Worldwide


[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Component":"Unstructured DataStage","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF043","label":"Red Hat"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM InfoSphere Information Server

Software version:
All Versions

Operating system(s):
Linux, Red Hat

Document number:
964446

Modified date:
25 April 2025

UID

ibm10964446

Manage My Notification Subscriptions