java.lang.ClassCastException: Value for key font-size is not assignable: class java.math.BigDecimal is not assignable from class java.lang.Integer

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Pentaho BI Platform Tracking by Will Gorman, 1 year ago
Value for key font-size is not assignable: class java.math.BigDecimal is not assignable from class java.lang.Integer
via Pentaho BI Platform Tracking by Will Gorman, 1 year ago
Value for key font-size is not assignable: class java.math.BigDecimal is not assignable from class java.lang.Integer
java.lang.ClassCastException: Value for key font-size is not assignable: class java.math.BigDecimal is not assignable from class java.lang.Integer
at org.pentaho.reporting.engine.classic.core.style.ElementStyleSheet.setStyleProperty(ElementStyleSheet.java:868)
at org.pentaho.reporting.engine.classic.core.Element$InternalElementStyleSheet.setStyleProperty(Element.java:367)
at org.pentaho.reporting.engine.classic.core.function.sys.MetaDataStyleEvaluator.evaluateElement(MetaDataStyleEvaluator.java:312)
at org.pentaho.reporting.engine.classic.core.function.sys.MetaDataStyleEvaluator.processBand(MetaDataStyleEvaluator.java:198)
at org.pentaho.reporting.engine.classic.core.function.sys.MetaDataStyleEvaluator.processRootBand(MetaDataStyleEvaluator.java:170)
at org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction.itemsAdvanced(AbstractElementFormatFunction.java:121)
at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireItemsAdvancedEvent(SubLayoutProcess.java:277)
at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:214)
at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:834)
at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:59)
at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:646)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432)
at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90)
at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270)
at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.