Debian Bug report logs - #639306
openjdk-6-jre: NullPointerException in sun.awt.X11.XWindowPeer.restoreTransientFor

version graph

Package: openjdk-6-jre; Maintainer for openjdk-6-jre is OpenJDK Team <openjdk@lists.launchpad.net>; Source for openjdk-6-jre is src:openjdk-6.

Reported by: Tim Riemenschneider <debian@tim-riemenschneider.de>

Date: Thu, 25 Aug 2011 19:21:01 UTC

Severity: normal

Tags: patch

Found in version 6b23~pre8-1.1

Done: Sylvestre Ledru <sylvestre@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#639306; Package openjdk-6-jre. (Thu, 25 Aug 2011 19:21:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tim Riemenschneider <debian@tim-riemenschneider.de>:
New Bug report received and forwarded. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Thu, 25 Aug 2011 19:21:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Tim Riemenschneider <debian@tim-riemenschneider.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openjdk-6-jre: NullPointerException in sun.awt.X11.XWindowPeer.restoreTransientFor
Date: Thu, 25 Aug 2011 21:11:28 +0200
[Message part 1 (text/plain, inline)]
Package: openjdk-6-jre
Version: 6b23~pre8-1.1
Severity: normal
Tags: patch

After upgrading openjdk-6 on my testing-based system from  6b18-1.8.9-0.1 to
6b23~pre7-1, the program kolmafia throws a nullpointer exception in
sun.awt.X11.XWindowPeer.restoreTransientFor.
(see attached backtrace)

Googling for this error returns f.e.
http://netbeans.org/bugzilla/show_bug.cgi?id=163548
This seems to be bug http://bugs.sun.com/view_bug.do?bug_id=6826104

I patched the class like suggested in the sun-bugreport, which resolved the
issue.
(However I am not sure, if the awtLock is needed.....)
(patch attached)
(the installed version 6b23~pre8-1.1 is a locally compiled 6b23~pre8-1 with
that patch)



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-0.toi.2+ (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-6-jre depends on:
ii  libaccess-bridge-java-j 1.26.2-5         Java Access Bridge for GNOME (jni 
ii  libasound2              1.0.24.1-2       shared library for ALSA applicatio
ii  libc6                   2.13-16          Embedded GNU C Library: Shared lib
ii  libgif4                 4.1.6-9          library for GIF images (library)
ii  libjpeg62               6b1-2            Independent JPEG Group's JPEG runt
ii  libpng12-0              1.2.46-3         PNG library - runtime
ii  libpulse0               0.9.23-1         PulseAudio client libraries
ii  libx11-6                2:1.4.4-1        X11 client-side library
ii  libxext6                2:1.3.0-3        X11 miscellaneous extension librar
ii  libxi6                  2:1.4.3-3        X11 Input extension library
ii  libxrender1             1:0.9.6-2        X Rendering Extension client libra
ii  libxtst6                2:1.2.0-3        X11 Testing -- Record extension li
ii  openjdk-6-jre-headless  6b23~pre8-1.1    OpenJDK Java runtime, using Hotspo
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages openjdk-6-jre recommends:
pn  icedtea-netx                  <none>     (no description available)
ii  ttf-dejavu-extra              2.33-1     Vera font family derivate with add

Versions of packages openjdk-6-jre suggests:
pn  icedtea-plugin                <none>     (no description available)

-- no debconf information
[backtrace-transientX.txt (text/plain, attachment)]
[6826104-partlyrevert6693253.patch (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#639306; Package openjdk-6-jre. (Fri, 07 Oct 2011 16:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sylvestre Ledru <sylvestre@debian.org>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Fri, 07 Oct 2011 16:09:03 GMT) Full text and rfc822 format available.

Message #10 received at 639306@bugs.debian.org (full text, mbox):

From: Sylvestre Ledru <sylvestre@debian.org>
To: 639306@bugs.debian.org, 639306-done@bugs.debian.org
Cc: Calixte Denizet <calixte@contrib.scilab.org>
Subject: NullPointerException in sun.awt.X11.XWindowPeer.restoreTransientFor
Date: Fri, 07 Oct 2011 18:08:02 +0200
Hello,

This bug is fixed in the release 6b23~pre10-1 (and maybe before).

For the record, here is what has been done:
        SunToolkit.awtLock();
        try {
            windows.add(this);
            if (wm_protocols == null) {
                wm_protocols = XAtom.get("WM_PROTOCOLS");
                wm_delete_window = XAtom.get("WM_DELETE_WINDOW");
                wm_take_focus = XAtom.get("WM_TAKE_FOCUS");
            }
        }
        finally {
            SunToolkit.awtUnlock();
        }

Thanks
Sylvestre






Reply sent to Sylvestre Ledru <sylvestre@debian.org>:
You have taken responsibility. (Fri, 07 Oct 2011 16:09:08 GMT) Full text and rfc822 format available.

Notification sent to Tim Riemenschneider <debian@tim-riemenschneider.de>:
Bug acknowledged by developer. (Fri, 07 Oct 2011 16:09:08 GMT) Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 05 Nov 2011 07:32:39 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 13:58:30 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.