cancel
Showing results for 
Search instead for 
Did you mean: 

Error while generating web item

Former Member
0 Kudos

Hello,

I am getting below error while i am opening Design Studio Report from BI launchpad with the user other then owner user (i mean other then the user who created it). While opening with the user who created it opens fine, for others even for Administrator also giving error; But we are able to open the same in Design Studio IDE. I checked the log file it seems java.lang.IndexOutOfBoundsException in some library, do you have knowledge of patch or rectification. I have seen this issue in other customers system also who wants to go for Design Studio and in initial stage.

One point i want to say here back end is SAP HANA. Design Studio 1.4 on BI 4.1 SP05.

Here is the log file Contents:

|B6B3BB66D46C4CC78A03D8B8FBEF3B483347e|2015 06 01 17:46:42.622|+0530|Error| |==|E| |aps_CRM.AdaptiveProcessingServer|15124|1264502|Transport:Shared-1524/34| |213|0|1|0|BIlaunchpad.WebApp|CRM:3732:39495.13878:1|BIlaunchpad.WebApp|CRM:3732:39495.13878:1|.executeBIRequest|CRM:15124:1264502.2690686:1|CqZNu4zY30E_kLoWbb8s6MU3814|||||||||class com.sap.ip.bi.webapplications.runtime.impl.page.Page|BI-RA-AD|ERROR [44f29212-ac1f-4e10-97fc-97f47dd22833]: Error while generating Web item.

<parameterList>

<param name="BI_COMMAND_TYPE" value="CREATE_ITEM"/>

<param name="INIT_PARAMETERS">

<param name="CHILD_ITEM_REF_LIST">

<param index="1" name="CHILD_ITEM_REF" value="HEADER"/>

<param index="2" name="CHILD_ITEM_REF" value="BODY"/>

<param index="3" name="CHILD_ITEM_REF" value="FOOTER"/>

<param index="4" name="CHILD_ITEM_REF" value="PANEL_SELECTION"/>

<param index="5" name="CHILD_ITEM_REF" value="PANEL_BOOKMARK"/>

<param index="6" name="CHILD_ITEM_REF" value="PANEL_ACTION"/>

<param index="7" name="CHILD_ITEM_REF" value="PANEL_SETTING"/>

<param index="8" name="CHILD_ITEM_REF" value="PANEL_INFO"/>

<param index="9" name="CHILD_ITEM_REF" value="CONTEXT_MENU"/>

<param index="99998" name="CHILD_ITEM_REF" value="ZEN_PROFILING"/>

<param index="99999" name="CHILD_ITEM_REF" value="MESSAGE"/>

</param>

</param>

<param name="NAME" value="ROOT"/>

<param name="TYPE" value="ABSOLUTE_LAYOUT_COMPONENT"/>

</parameterList>

com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating Web item.

<parameterList>

<param name="BI_COMMAND_TYPE" value="CREATE_ITEM"/>

<param name="INIT_PARAMETERS">

<param name="CHILD_ITEM_REF_LIST">

<param index="1" name="CHILD_ITEM_REF" value="HEADER"/>

<param index="2" name="CHILD_ITEM_REF" value="BODY"/>

<param index="3" name="CHILD_ITEM_REF" value="FOOTER"/>

<param index="4" name="CHILD_ITEM_REF" value="PANEL_SELECTION"/>

<param index="5" name="CHILD_ITEM_REF" value="PANEL_BOOKMARK"/>

<param index="6" name="CHILD_ITEM_REF" value="PANEL_ACTION"/>

<param index="7" name="CHILD_ITEM_REF" value="PANEL_SETTING"/>

<param index="8" name="CHILD_ITEM_REF" value="PANEL_INFO"/>

<param index="9" name="CHILD_ITEM_REF" value="CONTEXT_MENU"/>

<param index="99998" name="CHILD_ITEM_REF" value="ZEN_PROFILING"/>

<param index="99999" name="CHILD_ITEM_REF" value="MESSAGE"/>

</param>

</param>

<param name="NAME" value="ROOT"/>

<param name="TYPE" value="ABSOLUTE_LAYOUT_COMPONENT"/>

</parameterList>

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageCommandProcessor.doCreateItemCommand(PageCommandProcessor.java:947)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.doCreateItemCommand(Page.java:5937)

  at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:597)

  at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:155)

  at com.sap.ip.bi.webapplications.runtime.service.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:425)

  at com.sap.ip.bi.webapplications.runtime.service.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:340)

  at com.sap.ip.bi.webapplications.runtime.processor.CommunicationProcessor.processCommand(CommunicationProcessor.java:212)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processCommandSuper(Page.java:4910)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processCommand(Page.java:4476)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processCommand(Page.java:1)

  at com.sap.ip.bi.web.runtime.template.impl.items.TemplateAssembler.createPageObjects(TemplateAssembler.java:675)

  at com.sap.ip.bi.web.runtime.template.impl.xml.XmlTemplateAssembler.reloadTemplate(XmlTemplateAssembler.java:182)

  at com.sap.ip.bi.web.runtime.template.impl.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:94)

  at com.sap.ip.bi.web.runtime.template.impl.items.TemplateAssembler.init(TemplateAssembler.java:162)

  at com.sap.ip.bi.webapplications.runtime.impl.object.template.Template.doInit(Template.java:144)

  at com.sap.ip.bi.webapplications.runtime.object.page.impl.PageObject.doInit(PageObject.java:344)

  at com.sap.ip.bi.webapplications.runtime.object.page.impl.PageObject.init(PageObject.java:296)

  at com.sap.ip.bi.webapplications.runtime.rendering.renderer.ItemRenderer.init(ItemRenderer.java:41)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageStateProcessor.initPageObject(PageStateProcessor.java:2798)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageStateProcessor.setupPageObject(PageStateProcessor.java:2104)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageStateProcessor.createPageObject(PageStateProcessor.java:2061)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.setTemplate(Page.java:5440)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageCommandProcessor.doSetTemplateCommand(PageCommandProcessor.java:1698)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.doSetTemplateCommand(Page.java:6028)

  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:597)

  at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:155)

  at com.sap.ip.bi.webapplications.runtime.service.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:443)

  at com.sap.ip.bi.webapplications.runtime.service.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:340)

  at com.sap.ip.bi.webapplications.runtime.processor.CommunicationProcessor.processCommand(CommunicationProcessor.java:212)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processCommandSuper(Page.java:4910)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processCommandInternal(Page.java:4569)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processCommandSequence(Page.java:4729)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.doProcessRequest(Page.java:2574)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:780)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:5157)

  at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:5150)

  at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.doProcessRequest(Controller.java:1244)

  at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller._processRequest(Controller.java:1094)

  at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1060)

  at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1)

  at com.sap.ip.bi.server.runtime.sevice.impl.BIRuntimeServerService._handleRequest(BIRuntimeServerService.java:524)

  at com.sap.ip.bi.server.runtime.sevice.impl.BIRuntimeServerService.handleRequest(BIRuntimeServerService.java:907)

  at com.sap.ip.bi.server.execution.engine.runtime.LocalBIExecutionService.executeRequest(LocalBIExecutionService.java:47)

  at com.sap.ip.bi.zen.boe.model.session.Session.executeBIRequest(Session.java:187)

  at com.sap.ip.bi.zen.boe.server.transport.corba.SessionServant.executeBIRequest(SessionServant.java:69)

  at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:597)

  at com.sap.framework.services.zen.ZenInterceptor.forwardRequest(ZenInterceptor.java:47)

  at com.sap.framework.services.zen.ZenInterceptor.invoke(ZenInterceptor.java:39)

  at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:125)

  at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)

  at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)

  at com.sap.ip.bi.zen.boe.transport.corba.CorbaSessionPOA$$EnhancerByCGLIB$$ac8603d8.executeBIRequest(<generated>)

  at com.sap.ip.bi.zen.boe.transport.corba.CorbaSessionPOA._OB_op_executeBIRequest(CorbaSessionPOA.java:117)

  at com.sap.ip.bi.zen.boe.transport.corba.CorbaSessionPOA._invoke(CorbaSessionPOA.java:84)

  at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)

  at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1980)

  at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1916)

  at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:122)

  at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

  at java.util.concurrent.FutureTask.run(FutureTask.java:138)

  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

  at java.lang.Thread.run(Thread.java:763)

Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  at java.util.ArrayList.RangeCheck(ArrayList.java:547)

  at java.util.ArrayList.get(ArrayList.java:322)

  at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.get(InfoObjects.java:754)

  at com.sap.ip.bi.zen.boe.service.mime.CmsMimeProvider.loadMimeContent(CmsMimeProvider.java:62)

  at com.sap.ip.bi.zen.boe.service.mime.BoeMimeService.getMimeRepositoryObject(BoeMimeService.java:31)

  at com.sap.ip.bi.webapplications.runtime.impl.mime.BwMimeVersionCache.getVersion(BwMimeVersionCache.java:35)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageMimeProcessor.generateMimeRepositoryUrlInternal(PageMimeProcessor.java:265)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageMimeProcessor.generateMimeRepositoryUrl(PageMimeProcessor.java:223)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageMimeProcessor.generateMimeUrlFromUri(PageMimeProcessor.java:386)

  at com.sap.ip.bi.bundle.zen.rt.framework.shared.MimeUrlGenerator.generateMimeUrlWithPrefix(MimeUrlGenerator.java:38)

  at com.sap.ip.bi.bundle.zen.rt.framework.shared.MimeUrlGenerator.generateMimeUrl(MimeUrlGenerator.java:29)

  at com.sap.ip.bi.bundle.zen.rt.framework.shared.MimeUrlGenerator.generateMimeUrl(MimeUrlGenerator.java:16)

  at com.sap.ip.bi.zen.rt.framework.impl.services.jscollector.JsCollectorZenService.getHeaders(JsCollectorZenService.java:134)

  at com.sap.ip.bi.webapplications.ui.framework.scripting.impl.JavaScriptOnline.initializeStaticContent(JavaScriptOnline.java:75)

  at com.sap.ip.bi.webapplications.ui.framework.scripting.impl.JavaScriptOnline.<init>(JavaScriptOnline.java:59)

  at com.sap.ip.bi.webapplications.ui.framework.scripting.PageBuildHelper.createJavaScriptObject(PageBuildHelper.java:236)

  at com.sap.ip.bi.webapplications.ui.framework.scripting.PageBuildHelper.getJavaScriptInstance(PageBuildHelper.java:160)

  at com.sap.ip.bi.webapplications.ui.framework.scripting.JavaScriptFactory.getJavaScriptInstance(JavaScriptFactory.java:9)

  at com.sap.ip.bi.webapplications.ui.items.UiItem.getJavaScripts(UiItem.java:908)

  at com.sap.ip.bi.zen.rt.components.abslayout.impl.AbsoluteLayoutComponent.addJSIncludesInInit(AbsoluteLayoutComponent.java:49)

  at com.sap.ip.bi.zen.rt.components.abslayout.impl.AbsoluteLayoutComponent.doUiItemInit(AbsoluteLayoutComponent.java:44)

  at com.sap.ip.bi.webapplications.ui.items.UiItem.doInit(UiItem.java:259)

  at com.sap.ip.bi.webapplications.runtime.object.page.impl.PageObject.doInit(PageObject.java:344)

  at com.sap.ip.bi.webapplications.runtime.object.page.impl.PageObject.init(PageObject.java:296)

  at com.sap.ip.bi.webapplications.runtime.rendering.renderer.ItemRenderer.init(ItemRenderer.java:41)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageStateProcessor.initPageObject(PageStateProcessor.java:2798)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageStateProcessor.setupPageObject(PageStateProcessor.java:2104)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageStateProcessor.createPageObject(PageStateProcessor.java:2061)

  at com.sap.ip.bi.webapplications.runtime.impl.page.processor.PageCommandProcessor.doCreateItemCommand(PageCommandProcessor.java:921)

  ... 71 more

Thanks

Saurav Kumar Suman

Accepted Solutions (1)

Accepted Solutions (1)

Karol-K
Advisor
Advisor
0 Kudos

Hi,

please check existence of all mimes in your application. In the callstack you can see..

Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  at java.util.ArrayList.RangeCheck(ArrayList.java:547)

  at java.util.ArrayList.get(ArrayList.java:322)

  at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.get(InfoObjects.java:754)

  at com.sap.ip.bi.zen.boe.service.mime.CmsMimeProvider.loadMimeContent(CmsMimeProvider.java:62)


This is a typical (even not beautiful) exception when you use a mime and the user who is executing the mime cannot access it on the BIP. Once you find which mime is

a/ not available on the platform

b/ not accessible for the user


and fix this issue, the app will work again.


Karol


Former Member
0 Kudos

Thanks Karol,


I observed this might be case, i can see some mime not accessible.

Regards,

Saurav Kumar Suman

Former Member
0 Kudos

Hi,

I have had the same problem when breaking security inheritence at the resource folder level.

For example, user has view on application, no access on resource folder, and view rights granted individually on items in the resource folder (the reason you might want to do this is to hide the resource folder from users accessing your app from the launchpad).

For me allowing security to flow through from the app's containing folder to all resources (i.e. not breaking security inheritence within the app's folder) resolved the issue.

Note, I have also had this error when the user who is attempting to access the app does not have view on all folders leading to the app. For example, you might "hide" your app and its resources in a folder, provide view rights to the app and its resources, and create a shortcut to the app in another folder that is more friendly to the user. Allowing view (specifically the "view object" right) on all folders leading to the app and its resources resolved the issue.

Cheers, Pat

Answers (2)

Answers (2)

0 Kudos

Hi,

You can refer the below Note

2011867  - "Error while generating Web item" is received when viewing Design Studio dashboard in BI Launchpad

You can try the steps described for DS 1. 4 also

Also,

1) Have you Installed a new Design Studio version recently?

please run a "Repair" installation for the BIP AddOn;


2) Changed the data source (the query or universe) behind the application, please try to edit and save the "initial view" again. It may be some inconsistency there.

3) Add the user as a principal on the folder in the CMC and grant 'View on Demand' access level.

Regards,

Bhaskar

Former Member
0 Kudos

Thanks Bhaskar,

Your SAP note is helpful but my Error Cause id different, any way it is helpful.

Thanks

Former Member
0 Kudos

Hello Saurav,

Dit you eventually solve this error? If so, how? We are facing exactly the same problem.

Thanks very much in advance,

André

TammyPowlas
Active Contributor
0 Kudos

So when others open it locally it is fine?

What patch of BI4.1 SP5 are you on?  The last time I checked BI4.1 SP05 patch 5 is available; you may want to consider applying patch 5