java.lang.NullPointerException at org.primefaces.component.chart.renderer.MeterGaugeRenderer.encodeData
问题 I am trying to manage to work the following example MeterGauge Since the xhtml code is not complete that you can use it to make an entire xhtml page, I have taken the missing tags from PrimeFaces official doc at page 12. Then created the JavaBean file ChartView.java (taking the code from MeterGauge sample page) and tried running it on a GlassFish server, but it failed, as you can see from logs metergauge2.xhtml <!DOCTYPE html> <html xmlns="http://www.w3c.org/1999/xhtml" xmlns:h="http://java