openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13180
[Bug 1788250] Re: AWT applications fail with java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
This bug was fixed in the package openjdk-lts -
10.0.2+13-1ubuntu0.18.04.2
---------------
openjdk-lts (10.0.2+13-1ubuntu0.18.04.2) bionic-security; urgency=medium
* debian/rules: by default leave atk disabled, move accessibility bridge to
recommends. LP: #1788250. LP: #1788267.
* debian/control.in, debian/control: move accessibility bridge to
recommends.
-- Tiago Stürmer Daitx <tiago.daitx@xxxxxxxxxx> Fri, 24 Aug 2018
17:36:24 +0000
** Changed in: openjdk-lts (Ubuntu)
Status: Confirmed => Fix Released
--
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 jEdit:
New
Status in JOSM:
Unknown
Status in java-atk-wrapper package in Ubuntu:
Invalid
Status in openjdk-8 package in Ubuntu:
Confirmed
Status in openjdk-lts package in Ubuntu:
Fix Released
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/jedit/+bug/1788250/+subscriptions
References