[
http://jira.jboss.com/jira/browse/JBAS-5060?page=comments#action_12391913 ]
Dimitris Andreadis commented on JBAS-5060:
------------------------------------------
Have you tested that it works?
Start jboss, point to
http://localhost:8080/web-console/, navigate to 'System',
'JMX MBeans', 'jboss.system', 'jboss.system:type=ServerInfo".
Right click on the 'FreeMemory' attribute and choose to create a graph. It hangs,
with this StackTrace:
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at
org.jfree.chart.labels.StandardXYSeriesLabelGenerator.createItemArray(StandardXYSeriesLabelGenerator.java:119)
at
org.jfree.chart.labels.StandardXYSeriesLabelGenerator.generateLabel(StandardXYSeriesLabelGenerator.java:102)
at
org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.getLegendItem(XYLineAndShapeRenderer.java:1100)
at org.jfree.chart.plot.XYPlot.getLegendItems(XYPlot.java:3675)
at org.jfree.chart.title.LegendTitle.fetchLegendItems(LegendTitle.java:393)
at org.jfree.chart.title.LegendTitle.arrange(LegendTitle.java:464)
at org.jfree.chart.JFreeChart.drawTitle(JFreeChart.java:1134)
at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1025)
at org.jfree.chart.ChartPanel.paintComponent(ChartPanel.java:1275)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Upgrade jfreechart to v1.0.2
----------------------------
Key: JBAS-5060
URL:
http://jira.jboss.com/jira/browse/JBAS-5060
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Clive Saldanha
Assigned To: Clive Saldanha
Attachments: jfreechart_upgrade_to_1_0_2.patch
JMX-console uses an older version of jfreechart (v0.9.20) to perform some specific
functions. When upgraded to v1.0.2 the build failed with some compilation errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira