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

java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper #644

Closed
JulianAssmann opened this Issue Aug 22, 2018 · 5 comments

Comments

Projects
None yet
6 participants
@JulianAssmann
Copy link

JulianAssmann commented Aug 22, 2018

Whenever I start VS Code on Ubuntu 18.04 LTS with the Arduino Plug installed, I get the same error multiple times:

[Starting] Update package index files... Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532) at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613) at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1494) at java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1312) at java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421) at arduinopc.main(arduinopc.java:83) Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:374) at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485) ... 15 more No required groups are missing for this user. Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472) at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532) at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613) at processing.core.PApplet.<clinit>(Unknown Source) at processing.app.Preferences.save(Preferences.java:735) at processing.app.Preferences.init(Preferences.java:249) at processing.app.Base.main(Base.java:117) Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:374) at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485) ... 15 more [Done] Updated package index files.

Additionally I have to input the password for my account as many times as the error occurs with the message

Authentification is required to add the user to the required groups

@terryspring

This comment has been minimized.

Copy link

terryspring commented Aug 23, 2018

I've had the same issue with Kubuntu 18.04 when launching Umlet this morning. It appears to be caused by an unattended security upgrade for the openjdk packages.

The answer by rdrever to this askubuntu SE question fixed the error.

Quoting the fix:

This can be done by editing the accessibility.properties file for OpenJDK:
sudo vim /etc/java-8-openjdk/accessibility.properties
Comment out the following line:
assistive_technologies=org.GNOME.Accessibility.AtkWrapper

Hope this helps.

@komlenic

This comment has been minimized.

Copy link

komlenic commented Aug 25, 2018

The solution by @Shmukers posted above solves issues related to other software as well. I found this via Google while searching for help resolving this issue when attempting to run Netbeans on Ubuntu 18.04/Mint 19.

@czgtest

This comment has been minimized.

Copy link
Collaborator

czgtest commented Aug 27, 2018

@JulianAssmann do you have a try the solution ?

@czgtest czgtest added the external label Aug 27, 2018

@sdennler

This comment has been minimized.

Copy link

sdennler commented Aug 29, 2018

Running on OpenJDK 11 the file is
/etc/java-11-openjdk/accessibility.properties

@jaromrax

This comment has been minimized.

Copy link

jaromrax commented Sep 3, 2018

I just installed arduino in ubuntu 18.04 - I see this error.
In the file /etc/java-11-openjdk/accessibility.properties I commented the only line
assistive_technologies=org.GNOME.Accessibility.AtkWrapper
and arduino started the ide.

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