Bug#519219: jabref: "Exception during peer initialization"
Package: jabref Version: 2.3.1-6 Severity: grave Justification: renders package unusable I just updated Debian to the latest "Unstable" (in other words, perhaps I deserve what I get...). The window manager (sawfish) draws a window, and nothing appears in it. It even resizes to the correct (saved) size at some point, and then Java throws more exceptions, and nothing is drawn in the window. Upon starting jabref: (0)% jabref Mar 10, 2009 7:44:15 PM sun.awt.X11.XBaseWindow init WARNING: Exception during peer initialization java.lang.UnsatisfiedLinkError: sun.java2d.x11.XSurfaceData.initOps(Lsun/awt/X11ComponentPeer;Lsun/awt/X11GraphicsConfig;I)V at sun.java2d.x11.XSurfaceData.initOps(Native Method) at sun.java2d.x11.X11SurfaceData.(X11SurfaceData.java:415) at sun.java2d.x11.X11SurfaceData$X11WindowSurfaceData.(X11SurfaceData.java:668) at sun.java2d.x11.X11SurfaceData.createData(X11SurfaceData.java:389) at sun.awt.X11GraphicsConfig.createSurfaceData(X11GraphicsConfig.java:364) at sun.awt.X11.XWindow.postInit(XWindow.java:218) at sun.awt.X11.XComponentPeer.postInit(XComponentPeer.java:142) at sun.awt.X11.XPanelPeer.postInit(XPanelPeer.java:54) at sun.awt.X11.XWindowPeer.postInit(XWindowPeer.java:220) at sun.awt.X11.XDecoratedPeer.postInit(XDecoratedPeer.java:96) at sun.awt.X11.XFramePeer.postInit(XFramePeer.java:83) at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:185) at sun.awt.X11.XBaseWindow.(XBaseWindow.java:261) at sun.awt.X11.XWindow.(XWindow.java:117) at sun.awt.X11.XComponentPeer.(XComponentPeer.java:122) at sun.awt.X11.XCanvasPeer.(XCanvasPeer.java:43) at sun.awt.X11.XPanelPeer.(XPanelPeer.java:46) at sun.awt.X11.XWindowPeer.(XWindowPeer.java:110) at sun.awt.X11.XDecoratedPeer.(XDecoratedPeer.java:59) at sun.awt.X11.XFramePeer.(XFramePeer.java:51) at sun.awt.X11.XToolkit.createFrame(XToolkit.java:346) at java.awt.Frame.addNotify(Frame.java:476) at java.awt.Window.addNotify(Window.java:660) at java.awt.Window.show(Window.java:859) at java.awt.Component.show(Component.java:1464) at java.awt.Component.setVisible(Component.java:1416) at java.awt.Window.setVisible(Window.java:842) at net.sf.jabref.SplashScreen.splash(Unknown Source) at net.sf.jabref.JabRef.processArguments(Unknown Source) at net.sf.jabref.JabRef.(Unknown Source) at net.sf.jabref.JabRef.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at net.sf.jabref.JabRefMain.main(Unknown Source) Mar 10, 2009 7:44:15 PM sun.awt.X11.XBaseWindow init WARNING: Exception during peer initialization java.lang.UnsatisfiedLinkError: sun.java2d.x11.XSurfaceData.initOps(Lsun/awt/X11ComponentPeer;Lsun/awt/X11GraphicsConfig;I)V at sun.java2d.x11.XSurfaceData.initOps(Native Method) at sun.java2d.x11.X11SurfaceData.(X11SurfaceData.java:415) at sun.java2d.x11.X11SurfaceData$X11WindowSurfaceData.(X11SurfaceData.java:668) at sun.java2d.x11.X11SurfaceData.createData(X11SurfaceData.java:389) at sun.awt.X11GraphicsConfig.createSurfaceData(X11GraphicsConfig.java:364) at sun.awt.X11.XWindow.postInit(XWindow.java:218) at sun.awt.X11.XComponentPeer.postInit(XComponentPeer.java:142) at sun.awt.X11.XPanelPeer.postInit(XPanelPeer.java:54) at sun.awt.X11.XWindowPeer.postInit(XWindowPeer.java:220) at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:185) at sun.awt.X11.XBaseWindow.(XBaseWindow.java:261) at sun.awt.X11.XWindow.(XWindow.java:117) at sun.awt.X11.XComponentPeer.(XComponentPeer.java:122) at sun.awt.X11.XCanvasPeer.(XCanvasPeer.java:43) at sun.awt.X11.XPanelPeer.(XPanelPeer.java:46) at sun.awt.X11.XWindowPeer.(XWindowPeer.java:110) at sun.awt.X11.XToolkit.createWindow(XToolkit.java:960) at java.awt.Window.addNotify(Window.java:663) at java.awt.Window.show(Window.java:859) at java.awt.Component.show(Component.java:1464) at java.awt.Component.setVisible(Component.java:1416) at java.awt.Window.setVisible(Window.java:842) at net.sf.jabref.SplashScreen.splash(Unknown Source) at net.sf.jabref.JabRef.processArguments(Unknown Source) at net.sf.jabref.JabRef.(Unknown Source) at net.sf.jabref.JabRef.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.inv
Bug#519219: jabref: "Exception during peer initialization"
On Tue, 10 Mar 2009 19:51:33 -0600, ben wrote: Hi Ben, thanks for your bug report! > I just updated Debian to the latest "Unstable" (in other words, > perhaps I deserve what I get...). :) No worries, both unstable and jabref-on-unstable work fine for me, I hope we find a solution for the problem you describe. > The window manager (sawfish) draws > a window, and nothing appears in it. It even resizes to the correct > (saved) size at some point, and then Java throws more exceptions, and > nothing is drawn in the window. Ugh, sounds nasty. > Upon starting jabref: Hm, this backtrace looks more like java problems (or java + sawfish problems) than jabref problems IMO, but I might be wrong. > Opening: /home/ben/r/bibs/rl.bib Does this file exist? If not you might try to start jabref with -b ("Do not open any files at startup") > Exception during disposal: > java.lang.reflect.InvocationTargetException > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1000) > at java.awt.Window.doDispose(Window.java:1032) > at java.awt.Window.dispose(Window.java:975) > at net.sf.jabref.JabRef.openWindow(Unknown Source) > at net.sf.jabref.JabRef.(Unknown Source) > at net.sf.jabref.JabRef.main(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at net.sf.jabref.JabRefMain.main(Unknown Source) > Caused by: java.lang.NullPointerException > at sun.awt.X11.XDecoratedPeer.dispose(XDecoratedPeer.java:1007) > at sun.awt.X11.XFramePeer.dispose(XFramePeer.java:357) > at java.awt.Component.removeNotify(Component.java:6633) > at java.awt.Container.removeNotify(Container.java:2672) > at java.awt.Window.removeNotify(Window.java:680) > at java.awt.Frame.removeNotify(Frame.java:896) > at java.awt.Window$1DisposeAction.run(Window.java:1016) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) This seems to be the relevant part, whatever that tells us :/ > Versions of packages jabref depends on: [..] > ii openjdk-6-jre 6b11-9.1 OpenJDK Java runtime, using > Hotspo > ii sun-java6-jre 6-12-1 Sun Java(TM) Runtime Environment > ( That's interesting, since openjdk-6-jre 6b11-9.1 is the version from stable/testing, unstable has 6b14-1.5~pre1-3. Not sure if this changes anything ... Since you have both openjdk-6-jre and sun-java6-jre installed you could try them both: $ DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-6-sun jabref $ DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ jabref Thanks in advance for your help! Cheers, gregor -- .''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/ `-NP: Larimar: Sleeper signature.asc Description: Digital signature