openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13185
[Bug 1788250] Re: AWT applications fail with java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
** No longer affects: java-atk-wrapper (Ubuntu)
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1788250
Title:
AWT applications fail with java.awt.AWTError: Assistive Technology
not found: org.GNOME.Accessibility.AtkWrapper
Status in JOSM:
Unknown
Status in openjdk-8 package in Ubuntu:
Confirmed
Status in openjdk-lts package in Ubuntu:
Fix Released
Status in openjdk-10 package in Debian:
Unknown
Bug description:
After recently upgrading to 10.0.2+13-1ubuntu0.18.04.1 in bionic, all
AWT applications have started failing with this exception: (using
jedit as an example, but it happens for lots of apps):
~ jedit
18:12:48 [main] [error] main: Exception in thread "main"
18:12:48 [main] [error] main: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
18:12:48 [main] [error] main: at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472)
18:12:48 [main] [error] main: at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
18:12:48 [main] [error] main: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
18:12:48 [main] [error] main: at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
18:12:48 [main] [error] main: at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
18:12:48 [main] [error] main: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
18:12:48 [main] [error] main: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
18:12:48 [main] [error] main: at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
18:12:48 [main] [error] main: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
18:12:48 [main] [error] main: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
18:12:48 [main] [error] main: at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
18:12:48 [main] [error] main: at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
18:12:48 [main] [error] main: at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
18:12:48 [main] [error] main: at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
18:12:48 [main] [error] main: at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
18:12:48 [main] [error] main: at org.gjt.sp.jedit.GUIUtilities.showSplashScreen(GUIUtilities.java:1957)
18:12:48 [main] [error] main: at org.gjt.sp.jedit.jEdit.main(jEdit.java:389)
18:12:48 [main] [error] main: Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
18:12:48 [main] [error] main: at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
18:12:48 [main] [error] main: at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
18:12:48 [main] [error] main: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
18:12:48 [main] [error] main: at java.base/java.lang.Class.forName0(Native Method)
18:12:48 [main] [error] main: at java.base/java.lang.Class.forName(Class.java:374)
18:12:48 [main] [error] main: at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
18:12:48 [main] [error] main: ... 15 more
Downgrading to 10.0.1+10-3ubuntu1 fixes the bug.
Work Around
-----------
Comment out line with 'assistive_technologies=org.GNOME.Accessibility.AtkWrapper'
in /etc/java-11-openjdk/accessibility.properties
To manage notifications about this bug go to:
https://bugs.launchpad.net/josm/+bug/1788250/+subscriptions
References