Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChartRenderer.startScript does not work with PF 8.0 due to Primefaces CoreRenderer API change #31

Open
teohaik opened this issue Jul 17, 2020 · 1 comment

Comments

@teohaik
Copy link

teohaik commented Jul 17, 2020

Relevent error:

java.lang.NoSuchMethodError: org.chartistjsf.component.chart.ChartRenderer.startScript(Ljavax/faces/context/ResponseWriter;Ljava/lang/String;)V at org.chartistjsf.component.chart.ChartRenderer.encodeScript(ChartRenderer.java:98) at org.chartistjsf.component.chart.ChartRenderer.encodeEnd(ChartRenderer.java:66) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920) at org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:88) at org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:70) Truncated. see log file for complete stacktrace

Reason: Chart Renderer extends Core Renderer and it used inherited method startScript which does not exist any longer on Core Renderer version 8.0

@teohaik teohaik changed the title ChartRenderer.startScript does not work with PF 8.0 cause CoreRenderer API change ChartRenderer.startScript does not work with PF 8.0 due to Primefaces CoreRenderer API change Jul 17, 2020
@sdkkumar
Copy link

Hi I am using latest verion PF 13.0.0, and i am getting the same error . How solve this. Please advise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants