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

dragoljub
dragoljub New Altair Community Member
edited November 5 in Community Q&A
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

  • dragoljub
    dragoljub New Altair Community Member
    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
  • land
    land New Altair Community Member
    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
  • dragoljub
    dragoljub New Altair Community Member
    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
  • land
    land New Altair Community Member
    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
  • land
    land New Altair Community Member
    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
  • dragoljub
    dragoljub New Altair Community Member
    Thanks very much! This will be most useful!

    -Gagi  :)
  • holger
    holger New Altair Community Member
    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
  • land
    land New Altair Community Member
    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