Issue:
[toc on_off::hide=1]
Using RHEL or CentOS Linux and Java JRE/JDK. Trying to create a Charts Pro - Area graph, able to drag it on to the screen but when right clicking on "Chart Properties" popup for chart not coming up. Other pop-ups work, no chart pro pop-ups work.
You may see an exception:
sun.awt.X11.XException: Cannot write XdndAware property
at sun.awt.X11.XDnDDropTargetProtocol.registerDropTarget(Unknown Source)
at sun.awt.X11.XDropTargetRegistry.registerDropSite(Unknown Source)
at sun.awt.X11.XWindowPeer.addDropTarget(Unknown Source)
at sun.awt.X11.XComponentPeer.addDropTarget(Unknown Source)
at java.awt.dnd.DropTarget.addNotify(Unknown Source)
at java.awt.Component.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at com.jaspersoft.ireport.components.fusion.charts.ChartPanel.showDialog(ChartPanel.java:2769)
at com.jaspersoft.ireport.components.fusion.charts.EditChartAction.performAction(EditChartAction.java:41)
Resolution:
This is an upstream bug with Java JRE/JDK releases 1.6.0_23 + 1.6.0_24 in Linux. The issue has been reported to NetBeans and Oracle.
As a workaround use an older release of the JRE/JDK available from Oracle: http://www.oracle.com/technetwork/java/archive-139210.html
Another option is to use OpenJDK.
Link to Oracle Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7027598
Ref. Case #00019617 -- 20:02, 13 April 2011 (UTC)
Recommended Comments
There are no comments to display.