xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 10 years ago

Last modified 5 months ago

#52 closed defect

Trouble with Xpra and Java applications (Failed to retrieve atom name) — at Initial Version

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

Description

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
occurr under synergy and was fixed in version 1.3.6, etc.

Thank you in advance for looking into it.

Sergio

Change History (0)

Note: See TracTickets for help on using tickets.