Opening Workbook In Discoverer 10.1.2 Plus/Viewer Fails With Error - "The Application Encountered An Invalid State. Index: 0, Size: 0" (Doc ID 733411.1)

Last updated on SEPTEMBER 30, 2016

Applies to:

Oracle Discoverer - Version 10.1.2.1 to 10.1.2.3 [Release 10.1.2]
Information in this document applies to any platform.

Symptoms

When opening a particular Discoverer 10.1.2 workbook in either Discoverer Plus or Viewer, an error occurs:

Error
The application encountered an invalid state.
- Index: 0, Size: 0
OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again.


The application.log shows:

discoverer: [ERROR] [Discoverer Viewer BG Worker 3] oracle.discoverer.applications.framework.ApplicationController._logException error.invalid.state
oracle.discoverer.applications.framework.ApplicationException: error.invalid.state
at oracle.discoverer.applications.framework.RequestProcessor.execute(Unknown Source)
at oracle.discoverer.applications.framework.WorkerThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:512)
at java.util.ArrayList.get(ArrayList.java:329)
at oracle.discoverer.applications.viewer.model.catalog.CatalogItemNode.getChildAt(Unknown Source)
at oracle.discoverer.applications.viewer.model.DiscoExplorer._extractData(Unknown Source)
at oracle.discoverer.applications.viewer.model.DiscoExplorer._processEvent(Unknown Source)
at oracle.discoverer.applications.viewer.model.DiscoExplorer.handleEvent(Unknown Source)
at oracle.discoverer.applications.viewer.controllers.APIController.handleApiConnectAndFocusAppsSecure(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
... 3 more
discoverer: [ERROR] [AJPRequestHandler-ApplicationServerThread-14] oracle.discoverer.applications.framework.ApplicationController._logException error.viewer.data.missing
oracle.discoverer.applications.viewer.view.dataprovider.DataProviderException: error.viewer.data.missing
at oracle.discoverer.applications.viewer.view.dataprovider.BaseProxy.<init>(Unknown Source)
at oracle.discoverer.applications.viewer.view.dataprovider.BaseProxy.retrieveModelData(Unknown Source)
at oracle.discoverer.applications.viewer.view.dataprovider.BaseProxy.retrieveModelData(Unknown Source)
at oracle.discoverer.applications.viewer.view.dataprovider.ErrorProxy.retrieveErrorData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:229)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:229)
at oracle.discoverer.applications.viewer.url.URLServlet._process(Unknown Source)
at oracle.discoverer.applications.viewer.url.URLServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.discoverer.applications.framework.ApplicationEncodingFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:673)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms