Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
totaam opened this issue Nov 30, 2011 · 3 comments
Closed

Comments

@totaam
Copy link
Collaborator

totaam commented Nov 30, 2011

Issue migrated from trac ticket # 52

component: server | priority: major | resolution: duplicate

2011-11-30 19:01:01: sergio created the issue


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

@totaam
Copy link
Collaborator Author

totaam commented Nov 30, 2011

2011-11-30 19:12:01: totaam commented


see #8

@totaam totaam closed this as completed Nov 30, 2011
@totaam
Copy link
Collaborator Author

totaam commented Feb 8, 2012

2012-02-08 19:32:29: totaam commented


Fixed in r490

@totaam
Copy link
Collaborator Author

totaam commented Feb 20, 2012

2012-02-20 19:37:35: totaam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant