← Back to team overview

openjdk team mailing list archive

Re: [Bug 1788250] Re: AWT applications fail with java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper

 

On Wed, Sep 12, 2018 at 08:21:52PM -0000, Norbert wrote:
> I have spent long time adding all affected software to the bug list.

That is not a correct use of 'affects' in Launchpad.  This bogs down the UI
and makes it difficult to interact with this bug.

> Why is it too difficult to roll-out simple one-liner patch as package to
> the 18.04 LTS? Is it Ubuntu LTS or damn buggy ArchLinux?

The Java package undergoes extensive testing as part of an SRU process, and
this is not the only change pending for openjdk-lts.  The straightforward
workaround in the meantime is to make the same change as described in https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1788250/comments/8
locally in your own config file.

-- 
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:
  Confirmed

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