xpra icon
Bug tracker and wiki

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52 closed defect (duplicate)

Trouble with Xpra and Java applications (Failed to retrieve atom name)

Reported by: sergio Owned by: Antoine Martin
Priority: major Milestone: 0.0.7.x
Component: server Version: 0.0.7.36
Keywords: Cc:

Description (last modified by Antoine Martin)

Hi,

I am encountering problems with java applications that error out when run under xpra (Matlab among them).

Specifically, I get a Failed to retrieve atom name error. For instance:

java.lang.NullPointerException: Failed to retrieve atom name.
         at sun.awt.X11.XlibWrapper.XGetAtomName(Native Method)
         at sun.awt.X11.XAtom.getName(Unknown Source)
         at sun.awt.X11.XDataTransferer.getTargetNameForAtom(Unknown Source)
         at sun.awt.X11.XDataTransferer.getNativeForFormat(Unknown Source)
         at sun.awt.datatransfer.DataTransferer.getFlavorsForFormatsAsSet(Unknown Source)
         at sun.awt.datatransfer.SunClipboard.formatArrayAsDataFlavorSet(Unknown Source)
         at sun.awt.datatransfer.SunClipboard.isDataFlavorAvailable(Unknown Source)
         at com.mathworks.widgets.grouptable.transfer.Transfer.isDataFlavorAvailable(Transfer.java:58)
         at com.mathworks.mlwidgets.explorer.FileTransferHandler.accept(FileTransferHandler.java:84)
         at com.mathworks.mlwidgets.explorer.FileTransferHandler.accept(FileTransferHandler.java:35)
         at com.mathworks.widgets.grouptable.transfer.TransferController.canPaste(TransferController.java:91)
         at com.mathworks.widgets.grouptable.GroupingTable.canPaste(GroupingTable.java:603)
         at com.mathworks.mlwidgets.explorer.actions.ActionPredicates$9.accept(ActionPredicates.java:30)
         at com.mathworks.mlwidgets.explorer.actions.ActionPredicates$9.accept(ActionPredicates.java:30)
         at com.mathworks.mlwidgets.explorer.actions.ActionProperties.isEnabled(ActionProperties.java:48)
         at com.mathworks.mlwidgets.explorer.actions.DocumentActions.getInstance(DocumentActions.java:678)
         at com.mathworks.mde.explorer.ExplorerActionManager$4.contribute(ExplorerActionManager.java:127)
         at com.mathworks.mde.explorer.ExplorerActionManager$3.run(ExplorerActionManager.java:93)
         at com.mathworks.mwswing.MJUtilities.runOnEventDispatchThread(MJUtilities.java:823)
         at com.mathworks.mde.explorer.ExplorerActionManager.refreshActions(ExplorerActionManager.java:89)
         at com.mathworks.mde.explorer.ExplorerActionManager.init(ExplorerActionManager.java:61)
         at com.mathworks.mde.explorer.Explorer.<init>(Explorer.java:109)
         at com.mathworks.mde.explorer.Explorer.getInstance(Explorer.java:652)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)

....

This seems to be a bug that has been re-occurring quite a lot when working under tools affecting the display.
For instance, googling around I found that it used to occur under synergy and was fixed in version 1.3.6, etc.

Thank you in advance for looking into it.

Sergio

Change History (4)

comment:1 Changed 8 years ago by Antoine Martin

Description: modified (diff)
Resolution: duplicate
Status: newclosed

see #8

comment:2 Changed 8 years ago by Antoine Martin

Description: modified (diff)

comment:3 Changed 8 years ago by Antoine Martin

Fixed in r490

comment:4 Changed 8 years ago by Antoine Martin

Milestone: 0.0.7.x
Version: 0.0.7.36
Note: See TracTickets for help on using tickets.