mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 101 forks source link

Issue with Pentaho 6.0.1 #225

Open ravindragullapalli opened 6 years ago

ravindragullapalli commented 6 years ago

pivot4j is not getting loaded in Pentaho CDE 6.0.1

Getting error

19:17:55,476 ERROR [Logger] misc-class org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager: PluginManager.ERROR_0011 - Failed to register plugin pivot4j org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'faces' defined in file [[Pentaho solution path]/pentaho-solutions/system/pivot4j/plugin.spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Property or field 'workbenchHandler' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - maybe not public?

Removing the below property loads pivot4j but the theme gets disturbed.

<entry key="primefaces.THEME">
<value>#{workbenchHandler.theme}</value>
</entry>

Any clue?

I tried with latest myfaces jar files also but no luck.

ravindragullapalli commented 6 years ago

I used a static value and the theme is now restored. But the question is why it is not taking from the bean? Should I recompile the classes for Java 8?

<entry key="primefaces.THEME">
<value>redmond</value>
</entry>