Comment 13 for bug 1788250

Revision history for this message
Norbert (nrbrtx) wrote : Re: [Bug 1788250] Re: AWT applications fail with java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper

@Steve Langasek (vorlon)

Could you please fix the bug?

I have spent long time adding all affected software to the bug list.

Your actions are not friendly. I do not appreciate them.

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?

All these applications (389-console aladin alter-sequence-alignment arduino
drmips emboss freeplane geotranz gpsprune jakarta-jmeter jaligner jaxe
jedit jftp jhdf jmol jxplorer logisim neobio plantuml opticalraytracer
proalign runescape spread-phy starjava-topcat sunflow thepeg treeview ) are
affected by the bug and nobody cares about the problem...

On Wed, Sep 12, 2018 at 10:53 PM, Launchpad Bug Tracker <
<email address hidden>> wrote:

> Status changed to 'Confirmed' because the bug affects multiple users.
>
> ** Changed in: openjdk-8 (Ubuntu)
> Status: New => Confirmed
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1788267).
> 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
>