It's all about the answers!

Ask a question

Chart exception


Christina Kettenacker (561) | asked Feb 26 '09, 3:36 a.m.
Hello together!

Sorry, again I did not find any similar topic to my issue.

Can anyone please explain what following error exactly means and if I need to get in action?

Thanks a lot for your help!

Edit: Version 1.0.1

___________________________________

org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl onRowSets
WARNING: Exception
org.eclipse.birt.chart.exception.ChartException: Wrapped org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=7, size=7 at line 110 of chart script:''
at org.eclipse.birt.chart.script.ScriptHandler.convertException(ScriptHandler.java:1122)
at org.eclipse.birt.chart.script.ScriptHandler.callJavaScriptFunction(ScriptHandler.java:604)
at org.eclipse.birt.chart.script.ScriptHandler.callFunction(ScriptHandler.java:903)
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:918)
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl.onRowSets(ChartReportItemPresentationImpl.java:523)
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:772)
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:414)
at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:59)
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:145)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:140)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:68)
at com.ibm.team.reports.service.internal.InternalReportService.internalGetRenderedReport(InternalReportService.java:3188)
at com.ibm.team.reports.service.internal.InternalReportService.getRenderedReport(InternalReportService.java:1526)
at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy152.getRenderedReport(Unknown Source)
at com.ibm.team.reports.service.internal.ReportRestService$3.run(ReportRestService.java:470)
at com.ibm.team.reports.service.internal.ReportRestService.getRenderedReport(ReportRestService.java:477)
at sun.reflect.GeneratedMethodAccessor531.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy154.getRenderedReport(Unknown Source)
at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:542)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1434)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:810)
Caused by: org.mozilla.javascript.WrappedException: Wrapped org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=7, size=7 (<cmd>#110)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1757)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:170)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c9802._c1(<cmd>:110)
at org.mozilla.javascript.gen.c9802.call(<cmd>)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c9802.call(<cmd>)
at org.eclipse.birt.chart.script.ScriptHandler.callJavaScriptFunction(ScriptHandler.java:600)
... 59 more
Caused by: org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=7, size=7
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:535)
at sun.reflect.GeneratedMethodAccessor635.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
... 67 more

14 answers



permanent link
Rafik Jaouani (5.0k16) | answered Feb 26 '09, 7:54 a.m.
JAZZ DEVELOPER
When do you get this? It looks like you have a report template with corrupted contents and whenever you try to render it, it causes exceptions. Do you see the errors in the server log? It could also mean that someone is trying to design a report template and are causing these errors. A report template can contain code that runs on the server and that code can throw exceptions.

permanent link
Christina Kettenacker (561) | answered Mar 02 '09, 3:55 a.m.
I found this error in stdout.log. I'm just responsible for the servers, so I cannot say anything about when this error comes up.

Is it recommended to find out who creates these reports? And if yes, how will this be done? I guess the creator get's an error message as well?

permanent link
Rafik Jaouani (5.0k16) | answered Mar 02 '09, 9:46 p.m.
JAZZ DEVELOPER
Yes the creator gets error messages.

permanent link
Krzysztof Porowski (11) | answered Mar 08 '09, 6:18 p.m.
I encountered similar error while trying to view 'Open Work Items by Type' report (the same report is used on 'Charts' sub-page of each iteration). It seems that the report works when there are 50 work items in the iteration, but doesn't work for 55 work items (and more):
exception.javascript.error ( 1 time(s) )

detail : org.eclipse.birt.chart.exception.ChartException: Wrapped org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=7, size=7 at line 110 of chart script:''
at org.eclipse.birt.chart.script.ScriptHandler.convertException(ScriptHandler.java:1122)
at org.eclipse.birt.chart.script.ScriptHandler.callJavaScriptFunction(ScriptHandler.java:604)
at org.eclipse.birt.chart.script.ScriptHandler.callFunction(ScriptHandler.java:903)
at org.eclipse.birt.chart.factory.Generator.build(Generator.java:918)
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl.onRowSets(ChartReportItemPresentationImpl.java:523)
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:772)
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:414)
at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:59)
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:145)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:24)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:138)
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:107)
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:155)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:24)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:138)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:24)
at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:76)
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:138)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:140)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:68)
at com.ibm.team.reports.service.internal.InternalReportService.internalGetRenderedReport(InternalReportService.java:3188)
at com.ibm.team.reports.service.internal.InternalReportService.getRenderedReport(InternalReportService.java:1526)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy152.getRenderedReport(Unknown Source)
at com.ibm.team.reports.service.internal.ReportRestService$3.run(ReportRestService.java:470)
at com.ibm.team.reports.service.internal.ReportRestService.getRenderedReport(ReportRestService.java:477)
at com.ibm.team.reports.service.internal.ReportRestService.postRenderReport(ReportRestService.java:423)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55)
at $Proxy154.postRenderReport(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:542)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1434)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:810)
Caused by: org.mozilla.javascript.WrappedException: Wrapped org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=7, size=7 (<cmd>#110)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1757)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:170)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c1050._c1(<cmd>:110)
at org.mozilla.javascript.gen.c1050.call(<cmd>)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c1050.call(<cmd>)
at org.eclipse.birt.chart.script.ScriptHandler.callJavaScriptFunction(ScriptHandler.java:600)
... 75 more
Caused by: org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=7, size=7
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:535)
at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
... 83 more

This bug affects larger teams only, as they have more work items in their iteration plans. Is there anything that may be done in order to fix/work-aroung it?

permanent link
Rafik Jaouani (5.0k16) | answered Mar 10 '09, 12:41 a.m.
JAZZ DEVELOPER
Do you know which report causes the exception? This does not look like an error in our backend but rather in some particular report design.

permanent link
Krzysztof Porowski (11) | answered Mar 10 '09, 6:27 p.m.
It is 'Open Work Items by Type' raport and its ID is 'workitems.OpenWorkItemsByType'. I think it is one of a standard reports shipped with RTC (it is used on a Charts tab of an iteration plan by default).

permanent link
Rafik Jaouani (5.0k16) | answered Mar 17 '09, 1:38 p.m.
JAZZ DEVELOPER
You need to deploy the latest report template since the one you are using has a bug.

permanent link
Kevin Ramer (4.5k9186201) | answered Mar 17 '09, 1:55 p.m.
It would be nice to have a 'How-to' on fixing this from a support aspect.. E.g.

How to

o determine info about the current report templates

o locate replacements

o deploy provided templates

I'm finding many of the Blog chapters thin or obtuse .....

permanent link
Rafik Jaouani (5.0k16) | answered Mar 17 '09, 3:37 p.m.
JAZZ DEVELOPER
https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport
https://jazz.net/wiki/bin/view/Main/ReportsOutOfTheBox
https://jazz.net/wiki/bin/view/Main/ReportsFAQ
https://jazz.net/help/rational-team-concert/1.0.1/index.jsp?topic=/com.ibm.team.reports.doc/topics/t_manage_report_templates.html

permanent link
Kevin Ramer (4.5k9186201) | answered Mar 18 '09, 5:01 p.m.
Should I be concerned (following the Create a Report How-to) that:

o I don't see Jazz DW Data source
o If I specify Jazz Data Source (which I can see) adding a Data Set
does nothing (I add the specified table but not much comes across)

Can't go much further from there.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.