JDK-8075508 : sun.awt.X11.XException appears during PS7 fmw domain configuration on OEL 7
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u81
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: linux
  • Submitted: 2015-03-19
  • Updated: 2015-04-27
  • Resolved: 2015-04-27
Related Reports
Duplicate :  
Description
The exception "sun.awt.X11.XException" is seen during domain configuration of PS7 fmw products on OEL 7 OS with JDK 6u81 b08. The user requests for porting of the fix for the bug JDK-8031471 to JDK 6, since the user is certain that this bug previously reproducible with JDK 7u76 b13 was resolved by the fix JDK-8031471 in JDK 7u76 b33.

---------- The occurred "sun.awt.X11.XException" ----------
Exception in thread "AWT-EventQueue-0" sun.awt.X11.XException: Cannot write XdndAware property
        at sun.awt.X11.XDnDDropTargetProtocol.registerDropTarget(XDnDDropTargetProtocol.java:77)
        at sun.awt.X11.XDropTargetRegistry.registerDropSite(XDropTargetRegistry.java:552)
        at sun.awt.X11.XWindowPeer.addDropTarget(XWindowPeer.java:1634)
        at sun.awt.X11.XComponentPeer.addDropTarget(XComponentPeer.java:1491)
        at java.awt.dnd.DropTarget.addNotify(DropTarget.java:493)
        at java.awt.Component.addNotify(Component.java:6728)
        at java.awt.Container.addNotify(Container.java:2566)
        at javax.swing.JComponent.addNotify(JComponent.java:4692)
        at java.awt.Container.addImpl(Container.java:1067)
        at java.awt.Container.add(Container.java:363)
        at com.oracle.cie.common.ui.gui.FixedJTable.editCellAt(FixedJTable.java:698)
        at javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(BasicTableUI.java:1078)
        at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1008)
        at java.awt.Component.processMouseEvent(Component.java:6326)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
        at java.awt.Component.processEvent(Component.java:6094)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4692)
        at java.awt.Container.dispatchEventImpl(Container.java:2098)
        at java.awt.Component.dispatchEvent(Component.java:4520)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4232)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4165)
        at java.awt.Container.dispatchEventImpl(Container.java:2084)
        at java.awt.Window.dispatchEventImpl(Window.java:2492)
        at java.awt.Component.dispatchEvent(Component.java:4520)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:681)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:640)
        at java.awt.EventQueue$2.run(EventQueue.java:638)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:654)
        at java.awt.EventQueue$3.run(EventQueue.java:652)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:651)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" sun.awt.X11.XException: Cannot write XdndAware property
        at sun.awt.X11.XDnDDropTargetProtocol.registerDropTarget(XDnDDropTargetProtocol.java:77)
        at sun.awt.X11.XDropTargetRegistry.registerDropSite(XDropTargetRegistry.java:552)
        at sun.awt.X11.XWindowPeer.addDropTarget(XWindowPeer.java:1634)
        at sun.awt.X11.XComponentPeer.addDropTarget(XComponentPeer.java:1491)
        at java.awt.dnd.DropTarget.addNotify(DropTarget.java:493)
        at java.awt.Component.addNotify(Component.java:6728)
        at java.awt.Container.addNotify(Container.java:2566)
        at javax.swing.JComponent.addNotify(JComponent.java:4692)
        at java.awt.Container.addImpl(Container.java:1067)
        at javax.swing.CellRendererPane.addImpl(CellRendererPane.java:89)
        at java.awt.Container.add(Container.java:363)
Comments
It can be concluded that this bug should be resolved in JDK 6 by a backport of the fix for JDK-8031471, because: 1. Call stacks of the exceptions "sun.awt.X11.XException" in this bug and in JDK-8031471 are almost the same. 2. This bug could not be reproduced by the user with JDK 7u76 b33, where the fix for JDK-8031471 was integrated, while this bug was reproducible with JDK 7u76 b13. It was defined that the fix for JDK-8031471 depends on the fix for JDK-8025775, because though it applies cleanly to JDK 6 source code, it was designed with assumption that JDK-8025775 is already resolved, otherwise JDK-8031471 removes the method "sun.awt.X11.XErrorHandlerUtil.RESTORE_XERROR_HANDLER(boolean)" which is still called from native code. Therefore JDK-8025775, JDK-8031471 should be ported to JDK 6 in order to resolve this bug.
23-04-2015