Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Split: No Such Method Error in LibXml

  1. #1
    Join Date
    Mar 2007
    Posts
    106

    Exclamation Split: No Such Method Error in LibXml

    Hi, I upgraded our libraries to use libxml-0.9.8, libfonts-0.3.2, libformula-0.1.12, libloader-0.3.5, librepository-0.1.3. When Pentaho is initialized in our env, it starts up now. However, when I am executing a report, it gives me the error in the message below ( which seems to be a libxml library error). What am I missing here ???

    I am using pentaho-classic ..-0.8.9-ga.jar files. there are no old libraries in my path. Thanks for your help!!

    ERROR - 36fbeba0-c54f-11dc-aa05-6db18b84570d:COMPONENT:context-29836374-12006104
    93031:newvsreturningvisitors.xactionBase.ERROR_0002 - Component execution failed

    java.lang.NoSuchMethodError: org.jfree.xmlns.writer.XmlWriter.normalizeLocal(Lja
    va/lang/String;Z)Ljava/lang/String;
    at org.jfree.report.modules.output.table.html.HtmlTextExtractor.drawText
    (HtmlTextExtractor.java:520)
    at org.jfree.report.modules.output.table.base.DefaultTextExtractor.proce
    ssOtherNode(DefaultTextExtractor.java:155)
    at org.jfree.report.modules.output.table.html.HtmlTextExtractor.processO
    therNode(HtmlTextExtractor.java:335)
    at org.jfree.report.layout.process.IterateStructuralProcessStep.startPro
    cessing(IterateStructuralProcessStep.java:115)
    at org.jfree.report.layout.process.IterateStructuralProcessStep.processB
    oxChilds(IterateStructuralProcessStep.java:139)
    at org.jfree.report.layout.process.IterateStructuralProcessStep.startPro




    Quote Originally Posted by larrybennett View Post
    I want to try out this new 0.8.9-GA release of JfreeReport
    to see if it fixes some problems I'm having with subreports.
    I'm using Pentaho BI Suite 1.6.0 GA.

    I downloaded these two files from SourceForge:

    pentaho-reporting-engine-classic-0.8.9-ga.zip
    pentaho-reporting-engine-classic-ext-0.8.9-ga.zip

    I extracted the two jars and copied them into the lib directory
    for Pentaho under Tomcat, replacing these two jars:

    pentaho-reporting-engine-classic-0.8.9-rc6.jar
    pentaho-reporting-engine-classic-ext-0.8.9-rc6.jar

    Now, when I try to run an HTML report from the Solutions
    under the Pentaho web user interface, I get this error
    message:

    Error: Base.ERROR_0002 - Component execution failed - java.lang.NoSuchMethodError: org.jfree.xmlns.writer.XmlWriter.normalizeLocal(Ljava/lang/String;Z)Ljava/lang/String; (org.pentaho.plugin.jfreereport.outputs.JFreeReportHtmlComponent)

    Is there something else I need to install?

    Regards,
    Larry

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

    Default

    Let me see:

    Code:
    $ unzip -l "pentaho-reporting-classic-0.8.9-ga.zip"
    
    Archive:  pentaho-reporting-engine-classic-0.8.9-ga.zip
      Length     Date   Time    Name
     --------    ----   ----    ----
            0  11-09-07 14:16   pentaho-reporting-engine-classic-0.8.9-ga/
            0  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/ant/
            0  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/
    ..
       175348  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/bsf-2.3.0.jar
       242154  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/bsh-1.3.0.jar
       231445  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/gnujaxp.jar
      1526746  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/itext-1.5.2.jar
       307734  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/jcommon-1.0.12.jar
        22336  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/jcommon-serializer-0.2.0.jar
       214191  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/libfonts-0.3.4.jar
       262024  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/libformula-0.1.15.jar
        75905  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/libloader-0.3.7.jar
        29947  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/librepository-0.1.5.jar
        60864  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/libxml-0.9.11.jar
       174229  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/pixie-0.8.10.jar
       918280  11-09-07 14:15   pentaho-reporting-engine-classic-0.8.9-ga/lib/poi-3.0.1-jdk122-final-20071014.jar
    ..
    Nope, seems that your libraries do not match the libraries shipped with our 0.8.9-GA release. Using old libraries with newer releases is a dead sure way to shot yourself in the foot. The required libraries for a given release can always be found in the lib-directory of that release-package. We cannot make it more easier than that, even if we try.

    Have fun,
    said Thomas
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

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.