An application internal error occured: Array index out of ra

Hi,

I am getting a following error message when opening the Data Flow from Web Admin Console Auto Coumentation.

An application internal error occured: Array index out of range: 1

Please let me know why this issue and how to resolve it.

Thanks,
K. Hariprasada


khbhat (BOB member since 2008-03-06)

what is the DI Version ?

when you get this error, right click on that page, and click on view source, this open the source in notepad, check for java stack trace, and attach that stack trace here

most of the time it could be a bug with auto documentation not able to handle some property of a transform or mapping expression, what transforms are you using in the DF ? do you have lookup_ext or other functions in the mapping

if possible can you attach the ATL of Dataflow ?


manoj_d (BOB member since 2009-01-02)

Hi manjo_d,

I am also getting this error with Auto-Documentation on one job only.
The job is very simple (a few DFs, 3 * lookup_ext in one query, and a merge transform)

Its not a big issue for me, but I would be interested to know why, if you have any time to look?

Cheers,

Buck

An application internal error occured: Array index out of range: 2
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
	at java.util.Vector.get(Vector.java:710)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DatabaseObjects.DISchema.get(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.ObjectCalls.DITransformMerge.parse(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIFlowWorkspace.(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.FirstClassObjects.DIDataFlow.setObjectSpecificElements(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIObject.parse(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.FirstClassObjects.DIDataFlow.parse(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.ObjectXMLCache.readFullDirectory(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.ObjectXMLCache.readFullDirectoryAndCache(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.ObjectXML.getDIObject(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.ObjectXML.getDIDataFlow(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.ObjectCalls.DIDataFlowCall.getCalled(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.getGraphics(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.getGraphics(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.getImage(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.buildImage(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.buildImageExpanded(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.getExpandedImageMapHTML(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.DIWorkspace.getExpandedImageMapHTML(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.DIObjects.FirstClassObjects.DIFirstClassObject.initReport(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.JCSelfDocObjectCall.initReport(Unknown Source)
	at com.acta.webapp.mdreport.selfdoc.JCSelfDocObjectCall.(Unknown Source)
	at com.acta.webapp.mdreport.selfdocservlet.JSSelfDocScreenShot.getBaseReport(Unknown Source)
	at com.acta.webapp.mdreport.selfdocservlet.JSSelfDocScreenShot.doPostSafe(Unknown Source)
	at com.acta.webapp.mdreport.reportframework.JSActaHttpServlet.doPost(Unknown Source)
	at com.acta.webapp.mdreport.reportframework.JSActaHttpServlet.doGet(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at com.acta.webapp.mdreport.servlet.JSFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)

buckshot (BOB member since 2007-08-10)

what is the version of DI or Data Services, this is actually a bug

I can try to reproduce this using MergeTransform in that version and check in which fix pack its fixed, there were some issue in 12.1


manoj_d (BOB member since 2009-01-02)

Yes it’s version 12.1.


buckshot (BOB member since 2007-08-10)

not able to reproduce the issue with DF having Merge transform on 12.1 or any higher version

is your DF valid ? all inputs and outputs for transform are connected with source tables and target ?

if DF is valid, then can you post the screen shot of the DF, or the ATL ?


manoj_d (BOB member since 2009-01-02)

Thanks

The Job runs perfectly there are no problems … only issue is the auto documentation.

Its not really a problem as I don’t really need it any more anyway … thanks though.


buckshot (BOB member since 2007-08-10)

we are also facing this issue with auto documentations. One data flow works just fine, other one fails.
We are using 12.1
auto_documentation_1.JPG


BOloom (BOB member since 2007-02-27)