Options

Reporting Engine Fails (com/lowagie/text/html/HtmlEncoder)

dragoljubdragoljub Member Posts: 241 Contributor II
edited July 2019 in Help
Hey Everyone,

I am trying to use the reporting extension in RM 5 RC. When I try to run the example process from http://rapid-i.com/enterprise_information/reporting_engine.html I get an error telling me I am missing an HTML encoder.

It looks like I am missing the iText library. Does anyone know how to make this work Under Windows 7 64 bit?

Here is my stack trace:

Exception: java.lang.NoClassDefFoundError
Message: com/lowagie/text/html/HtmlEncoder
Stack trace:

 com.rapidminer.report.HTMLReportStream.addSection(HTMLReportStream.java:442)
 com.rapidminer.report.HTMLReportStream.startSection(HTMLReportStream.java:402)
 com.rapidminer.operator.report.SectionReporter.doWork(SectionReporter.java:82)
 com.rapidminer.operator.Operator.execute(Operator.java:767)
 com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
 com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:709)
 com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:363)
 com.rapidminer.operator.ProcessRootOperator.doWork(ProcessRootOperator.java:345)
 com.rapidminer.operator.Operator.execute(Operator.java:767)
 com.rapidminer.Process.run(Process.java:745)
 com.rapidminer.Process.run(Process.java:689)
 com.rapidminer.Process.run(Process.java:665)
 com.rapidminer.Process.run(Process.java:655)
 com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)

Cause
Exception: java.lang.ClassNotFoundException
Message: com.lowagie.text.html.HtmlEncoder
Stack trace:

 java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 java.security.AccessController.doPrivileged(Native Method)
 java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 java.lang.ClassLoader.loadClass(ClassLoader.java:303)
 java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
 com.rapidminer.report.HTMLReportStream.addSection(HTMLReportStream.java:442)
 com.rapidminer.report.HTMLReportStream.startSection(HTMLReportStream.java:402)
 com.rapidminer.operator.report.SectionReporter.doWork(SectionReporter.java:82)
 com.rapidminer.operator.Operator.execute(Operator.java:767)
 com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
 com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:709)
 com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:363)
 com.rapidminer.operator.ProcessRootOperator.doWork(ProcessRootOperator.java:345)
 com.rapidminer.operator.Operator.execute(Operator.java:767)
 com.rapidminer.Process.run(Process.java:745)
 com.rapidminer.Process.run(Process.java:689)
 com.rapidminer.Process.run(Process.java:665)
 com.rapidminer.Process.run(Process.java:655)
 com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)

Answers

  • Options
    dragoljubdragoljub Member Posts: 241 Contributor II
    I've looked into this more and wanted to know where the extension plug-ins are stored for RM. Perhaps there is something wrong with my CLASSPATH system vriable.

    -Gagi
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    thank you for this hint. Although I did not cope to reproduce the problem, I noticed, that this sample process dates back to 4.2(!). It not even works after importing, since there are several operators used not present int the 4.5.
    I will keep on checking...


    Greetings,
      Sebastian
  • Options
    dragoljubdragoljub Member Posts: 241 Contributor II
    Which version of java do you guys use? Does the lowagie library come with RM or is it somehow included when java is installed?

    -Gagi
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Gagi,
    unfortunately there has been an error during the building process. Don't know how this could happen, but the library wasn't copied into the right place in the jar file.
    We are going make a bugfix release today or tomorrow.

    Greetings,
      Sebastian
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Gagi,
    I have published a new release of the reporting extension just a few minutes ago. You might download it using the update manager.

    Greetings,
      Sebastian
  • Options
    dragoljubdragoljub Member Posts: 241 Contributor II
    Thanks very much! This will be most useful!

    -Gagi  :)
  • Options
    holgerholger Member Posts: 42 Contributor II
    Hi Sebastian,

    where can we find the updated sources. (Because everyone who does its own build can not use the update-manager). Are there in the svn-repository on sf.net?

    Best, Holger
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Holger,
    I'm not sure if they are there. I will ask the admin of the repositories to setup the mirroring process for that projects, too, if not already done.

    Greetings,
      Sebastian
Sign In or Register to comment.