Hi
I am trying to run a report on biserver-ce-6.0.1 with a bar line chart and I am getting the error showed below.
According to several post I found I set already the CATALINA_OPTS="-Djava.awt.headless=true" environment variable but it didn't fix the problem.
Below some information about my environment
Ubuntu 15.10
biserver-ce-6.0.1
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
PENTAHO_JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
Please, would you have any suggestion?
Thank you.
I am trying to run a report on biserver-ce-6.0.1 with a bar line chart and I am getting the error showed below.
Code:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:893)
at org.pentaho.plugin.jfreereport.reportcharts.BarChartExpression.computeCategoryChart(BarChartExpression.java:100)
at org.pentaho.plugin.jfreereport.reportcharts.BarLineChartExpression.computeCategoryChart(BarLineChartExpression.java:362)
at org.pentaho.plugin.jfreereport.reportcharts.CategoricalChartExpression.computeChart(CategoricalChartExpression.java:425)
at org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression.getValue(AbstractChartExpression.java:490)
at org.pentaho.reporting.engine.classic.core.function.sys.AttributeExpressionsEvaluator.evaluate(AttributeExpressionsEvaluator.java:185)
at org.pentaho.reporting.engine.classic.core.function.sys.AttributeExpressionsEvaluator.evaluateElement(AttributeExpressionsEvaluator.java:123)
at org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction.processBand(AbstractElementFormatFunction.java:565)
at org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction.processRootBand(AbstractElementFormatFunction.java:536)
at org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction.reportStarted(AbstractElementFormatFunction.java:174)
at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportStartedEvent(ExpressionEventHelper.java:369)
at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportEvent(ExpressionEventHelper.java:58)
at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:162)
According to several post I found I set already the CATALINA_OPTS="-Djava.awt.headless=true" environment variable but it didn't fix the problem.
Below some information about my environment
Ubuntu 15.10
biserver-ce-6.0.1
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
PENTAHO_JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
Please, would you have any suggestion?
Thank you.