{"action":"closed","issue":{"url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui/issues/126","repository_url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui","labels_url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui/issues/126/comments","events_url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui/issues/126/events","html_url":"https://github.com/ZencashOfficial/zencash-swing-wallet-ui/issues/126","id":355402024,"node_id":"MDU6SXNzdWUzNTU0MDIwMjQ=","number":126,"title":"Java Incompatibility on Ubuntu 18.04","user":{"login":"bclermont","id":474302,"node_id":"MDQ6VXNlcjQ3NDMwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/474302?v=4","gravatar_id":"","url":"https://api.github.com/users/bclermont","html_url":"https://github.com/bclermont","followers_url":"https://api.github.com/users/bclermont/followers","following_url":"https://api.github.com/users/bclermont/following{/other_user}","gists_url":"https://api.github.com/users/bclermont/gists{/gist_id}","starred_url":"https://api.github.com/users/bclermont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bclermont/subscriptions","organizations_url":"https://api.github.com/users/bclermont/orgs","repos_url":"https://api.github.com/users/bclermont/repos","events_url":"https://api.github.com/users/bclermont/events{/privacy}","received_events_url":"https://api.github.com/users/bclermont/received_events","type":"User","site_admin":false},"labels":[{"id":650810746,"node_id":"MDU6TGFiZWw2NTA4MTA3NDY=","url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui/labels/bug","name":"bug","color":"ee0701","default":true},{"id":650810749,"node_id":"MDU6TGFiZWw2NTA4MTA3NDk=","url":"https://api.github.com/repos/ZencashOfficial/zencash-swing-wallet-ui/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":{"login":"tarrenj","id":3710484,"node_id":"MDQ6VXNlcjM3MTA0ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3710484?v=4","gravatar_id":"","url":"https://api.github.com/users/tarrenj","html_url":"https://github.com/tarrenj","followers_url":"https://api.github.com/users/tarrenj/followers","following_url":"https://api.github.com/users/tarrenj/following{/other_user}","gists_url":"https://api.github.com/users/tarrenj/gists{/gist_id}","starred_url":"https://api.github.com/users/tarrenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarrenj/subscriptions","organizations_url":"https://api.github.com/users/tarrenj/orgs","repos_url":"https://api.github.com/users/tarrenj/repos","events_url":"https://api.github.com/users/tarrenj/events{/privacy}","received_events_url":"https://api.github.com/users/tarrenj/received_events","type":"User","site_admin":false},"assignees":[{"login":"tarrenj","id":3710484,"node_id":"MDQ6VXNlcjM3MTA0ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3710484?v=4","gravatar_id":"","url":"https://api.github.com/users/tarrenj","html_url":"https://github.com/tarrenj","followers_url":"https://api.github.com/users/tarrenj/followers","following_url":"https://api.github.com/users/tarrenj/following{/other_user}","gists_url":"https://api.github.com/users/tarrenj/gists{/gist_id}","starred_url":"https://api.github.com/users/tarrenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarrenj/subscriptions","organizations_url":"https://api.github.com/users/tarrenj/orgs","repos_url":"https://api.github.com/users/tarrenj/repos","events_url":"https://api.github.com/users/tarrenj/events{/privacy}","received_events_url":"https://api.github.com/users/tarrenj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-30T02:40:02Z","updated_at":"2018-10-01T19:41:48Z","closed_at":"2018-10-01T19:41:48Z","author_association":"NONE","body":"A few days ago, Ubuntu upgraded Java to 11 (somekind of weird 10.x+ patches it seem)\r\n\r\nanyway, since then the wallet fail to show a full UI, only a 1x10 pixel windows and the following errors:\r\n\r\n```\r\njava.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper\r\n\tat java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472)\r\n\tat java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)\r\n\tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)\r\n\tat java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)\r\n\tat java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)\r\n\tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)\r\n\tat java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)\r\n\tat java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)\r\n\tat java.desktop/sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2143)\r\n\tat java.desktop/javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1096)\r\n\tat java.desktop/javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:440)\r\n\tat java.desktop/javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:150)\r\n\tat java.desktop/javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1560)\r\n\tat java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:587)\r\n\tat java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:628)\r\n\tat java.desktop/javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1403)\r\n\tat java.desktop/javax.swing.UIManager.initialize(UIManager.java:1516)\r\n\tat java.desktop/javax.swing.UIManager.maybeInitialize(UIManager.java:1482)\r\n\tat java.desktop/javax.swing.UIManager.getInstalledLookAndFeels(UIManager.java:422)\r\n\tat com.vaklinov.zcashui.ZCashUI.main(ZCashUI.java:603)\r\nCaused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper\r\n\tat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)\r\n\tat java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)\r\n\tat java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)\r\n\tat java.base/java.lang.Class.forName0(Native Method)\r\n\tat java.base/java.lang.Class.forName(Class.java:374)\r\n\tat java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)\r\n\t... 23 more\r\njava.lang.Error: no ComponentUI class for: javax.swing.JOptionPane[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,icon=,initialValue=,message=\"A general unexpected critical/unrecoverable error has occurred: \r\n  Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper \r\n See the console/logfile output for more detailed error information!,messageType=ERROR_MESSAGE,optionType=DEFAULT_OPTION,wantsInput=false]\r\n\tat java.desktop/javax.swing.UIDefaults.getUIError(UIDefaults.java:760)\r\n\tat java.desktop/javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:133)\r\n\tat java.desktop/javax.swing.UIDefaults.getUI(UIDefaults.java:790)\r\n\tat java.desktop/javax.swing.UIManager.getUI(UIManager.java:1065)\r\n\tat java.desktop/javax.swing.JOptionPane.updateUI(JOptionPane.java:1873)\r\n\tat java.desktop/javax.swing.JOptionPane.<init>(JOptionPane.java:1838)\r\n\tat java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:862)\r\n\tat java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:670)\r\n\tat java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:641)\r\n\tat com.vaklinov.zcashui.ZCashUI.main(ZCashUI.java:708)\r\n```\r\n\r\nTo fix this, please update `debian/control` to depends on `openjdk-8-jre` instead of `default-jre` and call this one instead of `/usr/bin/java` in startup script.\r\n\r\nfor users who experience same problem as me, here are 2 solutions:\r\n\r\nrun as root:\r\n\r\n```\r\napt-get install openjdk-8-jre\r\nupdate-java-alternatives -s java-1.8.0-openjdk-amd64\r\n```\r\n\r\nor edit `/etc/java-11-openjdk/accessibility.properties` and comment `assistive_technologies=org.GNOME.Accessibility.AtkWrapper`"}}
{"actor":{"display_login":"tarrenj"}}