Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: iReport - pentaho2 String out of range: 55

  1. #1

    Default iReport - pentaho2 String out of range: 55

    Hi, i am trying to operate a migration from pentaho 1.7 to pentaho 2.0 but all of mine report (developed with iReport 3.0) stop working, infact I receive this error:

    Code:
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent] Error Start: Pentaho Pentaho Platform Engine Core 2.0.0.stable.35509
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent] Error Start: Pentaho Pentaho Platform Engine Core 2.0.0.stable.35509
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent] 28cfebbe-4390-11de-a0fc-ffe5e095f0a8:COMPONENT:context-28839716-1242639730676:pentaho2-grafico.xactionBase.ERROR_0002 - Esecuzione della componente fallita
    java.lang.StringIndexOutOfBoundsException: String index out of range: 55
    	at java.lang.StringBuffer.charAt(Unknown Source)
    	at org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent.getExporter(JasperReportsComponent.java:266)
    	at org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent.exportReport(JasperReportsComponent.java:496)
    	at org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent.executeAction(JasperReportsComponent.java:373)
    	at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:440)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1299)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1266)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1175)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1128)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:1013)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:909)
    	at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:409)
    	at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313)
    	at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192)
    	at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159)
    	at org.pentaho.platform.web.servlet.ViewAction.handleActionRequest(ViewAction.java:142)
    	at org.pentaho.platform.web.servlet.ViewAction.doGet(ViewAction.java:269)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    	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.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:81)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:164)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:129)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    	at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    	at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:55)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    	at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    	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:174)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    	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:689)
    	at java.lang.Thread.run(Unknown Source)
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent] 28cfebbe-4390-11de-a0fc-ffe5e095f0a8:COMPONENT:context-28839716-1242639730676:pentaho2-grafico.xactionBase.ERROR_0002 - Esecuzione della componente fallita
    java.lang.StringIndexOutOfBoundsException: String index out of range: 55
    	at java.lang.StringBuffer.charAt(Unknown Source)
    	at org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent.getExporter(JasperReportsComponent.java:266)
    	at org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent.exportReport(JasperReportsComponent.java:496)
    	at org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent.executeAction(JasperReportsComponent.java:373)
    	at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:440)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1299)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1266)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1175)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1128)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:1013)
    	at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:909)
    	at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:409)
    	at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313)
    	at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192)
    	at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159)
    	at org.pentaho.platform.web.servlet.ViewAction.handleActionRequest(ViewAction.java:142)
    	at org.pentaho.platform.web.servlet.ViewAction.doGet(ViewAction.java:269)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    	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.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:81)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:164)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:129)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    	at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    	at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    	at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:55)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    	at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    	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:174)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    	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:689)
    	at java.lang.Thread.run(Unknown Source)
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent] Error end:
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.plugin.action.jasperreports.JasperReportsComponent] Error end:
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.engine.services.runtime.RuntimeContext] 28cfebbe-4390-11de-a0fc-ffe5e095f0a8:RUNTIME:context-28839716-1242639730676:pentaho2-grafico.xaction RuntimeContext.ERROR_0012 - LActionDefinition per {0} non è stata eseguita con successo 
    2009-05-18 11:42:10,739 ERROR [org.pentaho.platform.engine.services.runtime.RuntimeContext] 28cfebbe-4390-11de-a0fc-ffe5e095f0a8:RUNTIME:context-28839716-1242639730676:pentaho2-grafico.xaction RuntimeContext.ERROR_0012 - LActionDefinition per {0} non è stata eseguita con successo 
    2009-05-18 11:42:10,754 ERROR [org.pentaho.platform.engine.services.solution.SolutionEngine] 28cfebbe-4390-11de-a0fc-ffe5e095f0a8:SOLUTION-ENGINE:pentaho2-grafico.xaction: SolutionEngine.ERROR_0007 - Esecuzione dell'Action Sequence fallita 
    2009-05-18 11:42:10,754 ERROR [org.pentaho.platform.engine.services.solution.SolutionEngine] 28cfebbe-4390-11de-a0fc-ffe5e095f0a8:SOLUTION-ENGINE:pentaho2-grafico.xaction: SolutionEngine.ERROR_0007 - Esecuzione dell'Action Sequence fallita
    all of my old report get this error and die, can someone help me? thanks!
    Last edited by metalmilitia; 05-18-2009 at 05:51 AM. Reason: added email notification, nothing else.

  2. #2

    Default

    Maybe I have not the right file in the right place... What I mean is that with pentaho1.7 I remember that I moved a .jar file (the jasperreport engine) into a directory but now with pentaho 2 I haven't do this operation, is that mandatory? where i have to move that file now with pentaho 2.0? thanks!

  3. #3

    Default

    Quote Originally Posted by metalmilitia View Post
    Maybe I have not the right file in the right place... What I mean is that with pentaho1.7 I remember that I moved a .jar file (the jasperreport engine) into a directory but now with pentaho 2 I haven't do this operation, is that mandatory? where i have to move that file now with pentaho 2.0? thanks!
    Checked, I have all on the right place, I am going crazy

  4. #4
    pstoellberger Guest

    Default

    Do you use the same jasper-reports jar in the 2.0 server?
    out of the box jasperreports-2.0.5.jar is included (in biserver-ce\tomcat\webapps\pentaho\WEB-INF\lib). which is pretty old (current version is 3.5.2)
    so if you have developed the reports with a newer version, you probably need to upgrade it
    unfortunately there are some other dependencies (batik.jar / itext.jar) that you need to take care of as well

    what i did a couple of months back was to look into the LIB folder of iReport and move the necessary JAR's into the pentaho/web-inf/lib folder / replace the old jar's

  5. #5

    Default

    Quote Originally Posted by pstoellberger View Post
    Do you use the same jasper-reports jar in the 2.0 server?
    out of the box jasperreports-2.0.5.jar is included (in biserver-ce\tomcat\webapps\pentaho\WEB-INF\lib). which is pretty old (current version is 3.5.2)
    so if you have developed the reports with a newer version, you probably need to upgrade it
    I have jasperreport-3.0 (the same that i used to compile and try my report) in

    C:\development\biserver-ce\jre\lib

    C:\development\biserver-ce\tomcat\server\lib

    C:\development\biserver-ce\tomcat\webapps\pentaho\WEB-INF\lib

    is it enought?

    Quote Originally Posted by pstoellberger View Post

    unfortunately there are some other dependencies (batik.jar / itext.jar) that you need to take care of as well
    where i can find that files?

    thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.