Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: Error running Samples/Steel Wheels/Pentaho Reporting

  1. #1

    Default Error running Samples/Steel Wheels/Pentaho Reporting

    I downloaded Pentaho distribution (pentaho-1.6.0GA-windows-opensource-installer.exe) and installed on my local machine. Server comes up without any errors and also I am able to run a number of samples successfully. However, whenever I try to run
    Error running Samples/Steel Wheels/Pentaho Reporting/DETAILED INVENTORY REPORT

    report, a parser exception is thrown.
    I see the following error in the server log.

    2007-12-11 15:29:29,156 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored.
    2007-12-11 15:29:31,171 WARN [org.jfree.JCommon] Unknown tag <http://jfreereport.sourceforge.net/namespaces/reports/legacy/ext:style-expression>: Start to ignore this element and all of its childs.
    2007-12-11 15:29:31,203 ERROR [org.jfree.xmlns.parser.LoggingErrorHandler] Fatal Parser-Error:Invalid byte 2 of 3-byte UTF-8 sequence.
    2007-12-11 15:29:31,203 ERROR [org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent] Error Start: Pentaho Pentaho BI Platform 1.6.0.GA.863
    2007-12-11 15:29:31,203 ERROR [org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent] c5e963c7-a827-11dc-b0c4-eb9aa9f51c47:COMPONENT:context-24652680-1197404969187:Inventory List.xactionJFreeReport.ERROR_0007 - Could not parse report samples\steel-wheels/reports\Inventory List.xml
    org.jfree.resourceloader.ResourceCreationException: Unable to parse the document
    at org.jfree.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:214)
    at org.jfree.resourceloader.ResourceManager.performCreate(ResourceManager.java:455)
    at org.jfree.resourceloader.ResourceManager.create(ResourceManager.java:383)
    at org.jfree.resourceloader.ResourceManager.create(ResourceManager.java:329)
    at org.jfree.report.modules.parser.base.ReportGenerator.parseReport(ReportGenerator.java:384)
    at org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent.parseReport(JFreeReportLoadComponent.java:307)
    at org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent.executeAction(JFreeReportLoadComponent.java:143)
    at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:454)
    at org.pentaho.plugin.jfreereport.JFreeReportComponent.executeReportAction(JFreeReportComponent.java:158)
    at org.pentaho.plugin.jfreereport.JFreeReportComponent.executeAction(JFreeReportComponent.java:135)
    at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:454)
    at org.pentaho.core.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1122)
    at org.pentaho.core.runtime.RuntimeContext.executeAction(RuntimeContext.java:1094)
    at org.pentaho.core.runtime.RuntimeContext.performActions(RuntimeContext.java:1006)
    at org.pentaho.core.runtime.RuntimeContext.executeLoop(RuntimeContext.java:961)
    at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:864)
    at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:768)
    at org.pentaho.core.solution.SolutionEngine.executeInternal(SolutionEngine.java:333)
    at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:241)
    at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:169)
    at org.pentaho.core.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:150)
    at org.pentaho.ui.servlet.ViewAction.handleActionRequest(ViewAction.java:139)
    at org.pentaho.ui.servlet.ViewAction.doGet(ViewAction.java:261)
    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:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
    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:274)
    at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:335)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.pentaho.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:76)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.pentaho.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:164)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.pentaho.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:130)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.ui.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    ParentException:
    org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.jfree.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:200)
    at org.jfree.resourceloader.ResourceManager.performCreate(ResourceManager.java:455)
    at org.jfree.resourceloader.ResourceManager.create(ResourceManager.java:383)
    at org.jfree.resourceloader.ResourceManager.create(ResourceManager.java:329)
    at org.jfree.report.modules.parser.base.ReportGenerator.parseReport(ReportGenerator.java:384)
    at org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent.parseReport(JFreeReportLoadComponent.java:307)
    at org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent.executeAction(JFreeReportLoadComponent.java:143)
    at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:454)
    at org.pentaho.plugin.jfreereport.JFreeReportComponent.executeReportAction(JFreeReportComponent.java:158)
    at org.pentaho.plugin.jfreereport.JFreeReportComponent.executeAction(JFreeReportComponent.java:135)
    at org.pentaho.plugin.ComponentBase.execute(ComponentBase.java:454)
    at org.pentaho.core.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1122)
    at org.pentaho.core.runtime.RuntimeContext.executeAction(RuntimeContext.java:1094)
    at org.pentaho.core.runtime.RuntimeContext.performActions(RuntimeContext.java:1006)
    at org.pentaho.core.runtime.RuntimeContext.executeLoop(RuntimeContext.java:961)
    at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:864)
    at org.pentaho.core.runtime.RuntimeContext.executeSequence(RuntimeContext.java:768)
    at org.pentaho.core.solution.SolutionEngine.executeInternal(SolutionEngine.java:333)
    at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:241)
    at org.pentaho.core.solution.SolutionEngine.execute(SolutionEngine.java:169)
    at org.pentaho.core.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:150)
    at org.pentaho.ui.servlet.ViewAction.handleActionRequest(ViewAction.java:139)
    at org.pentaho.ui.servlet.ViewAction.doGet(ViewAction.java:261)
    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:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
    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:274)
    at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:335)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.pentaho.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:76)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.pentaho.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:164)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.pentaho.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:130)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.ui.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    2007-12-11 15:29:31,765 ERROR [org.pentaho.plugin.jfreereport.components.JFreeReportLoadComponent] Error end:
    2007-12-11 15:29:31,781 ERROR [org.pentaho.core.runtime.RuntimeContext] c5e963c7-a827-11dc-b0c4-eb9aa9f51c47:RUNTIME:context-24652680-1197404969187:Inventory List.xaction RuntimeContext.ERROR_0012 - ActionDefinition for JFreeReportComponent did not execute successfully
    2007-12-11 15:29:31,781 ERROR [org.pentaho.core.solution.SolutionEngine] c5e963c7-a827-11dc-b0c4-eb9aa9f51c47:SOLUTION-ENGINE:Inventory List.xaction: SolutionEngine.ERROR_0007 - Action sequence execution failed

    Is this a known problem or is there anything wrong with my configuration.

    Thanks,
    Swarn
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2005
    Posts
    115

    Default

    I'm sorry I tried to reproduce this error in both the windows and mac version of the latest codeline and could not. Is there anything that might be unusual about your install?

    Bill

  3. #3

    Default Two workstations having the same problem

    Actually,
    We have two workstations with same installation (created using the installer). Both having the same problem . The pattern I am seeing is that any reports using this format

    ?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE report PUBLIC "-//JFreeReport//DTD report definition//EN//simple/version 0.8.5"
    "http://jfreereport.sourceforge.net/report-085.dtd">
    <report bottommargin="36" leftmargin="36" name="Sales Report" pageformat="LETTER" rightmargin="36" topmargin="36">

    format are working

    and the reports using the following format

    <?xml version="1.0" encoding="UTF-8"?>
    <report-definition xmlns="http://jfreereport.sourceforge.net/namespaces/reports/legacy/ext" name="Inventory List" engine-version="0.8.9-rc6">

    are not working.

    Hope this helps. Please let me know if I could provide additional information.

    Regards,
    Swarn

  4. #4
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Sounds as if the XML files that declare themself as UTF-8 encoded are in fact not UTF-8 encoded. This usually happens if one edits the files using a plain text-editor (like Eclipse) instead of using a real XML-editor (or an IDE that respects the encoding declaration of XML files).

    Change the XML files declare and/or use to the correct encoding and it should work.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  5. #5

    Default Problem Solved

    Bill,
    I think I figured out what the problem with those files was. I seems like that the installer is doing some funky stuff with the file encoding. When I copied the xml into a text editor and saved it as a new file, it seems to work fine.

    I will upload the file that throws the exception.
    Attached Files Attached Files

  6. #6
    Join Date
    Dec 2007
    Posts
    2

    Default

    Hi All,

    I posted an error message on JIRA and the code for the message was #BISERVER-820. Overall the error message I got was ERROR_0007 and ERROR_0012.

    The suggestion that the errors was caused by the wrong encoding specified in the xml files is what caused my error.

    To solve this I opened the corresponding xml files in a software call textpad and saved them with the encoding specified in the coding of the xml files.

    For example,

    If the xml file started with the following line

    <?xml version="1.0" encoding="UTF-8"?>

    Then safe it as "UTF-8" with textpad

    cheers all

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.