Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: gregor herrmann Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..." Date: Tue, 16 Feb 2016 17:10:04 +0100 Message-ID: References: X-Original-To: Josef Atmin , 814901@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Feb 16 16:09:23 2016 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4.206 Reply-To: gregor herrmann , 814901@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org X-Debian-Pr-Message: followup 814901 X-Debian-Pr-Package: jabref X-Debian-Pr-Source: jabref X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 150; neutral, 482; spammy, 0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha512, 0.000-+--H*F:U*gregoa, 0.000-+--H*r:gregoa, 0.000-+--H*r:sk:gregoa@, 0.000-+--Hx-spam-relays-external:sk:gregoa@ Mail-Followup-To: Josef Atmin , 814901@bugs.debian.org, debian-java@lists.debian.org MIME-Version: 1.0 X-Face: -kg'V!M2hYTiiEt:oj$rToa+c^7N.t}]V^j}|%+]%3J&tOm^9mc^1-#9o=\8VJpV7b~nxIM!qu>r_:w\EtWQA01;$jp>,cgp9EWV:i9B]LCgiNn\jA=un9d-ZcRzyq~9vYUf*tx9B}de^fH5Q(d(_N"0WXs%Jh!~.*g.iC=bSTqL:/EE0Y~\g_QCvwS6=cv]$tB7z archive/latest/1251052 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 220 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-java@lists.debian.org X-Original-Date: Tue, 16 Feb 2016 17:05:54 +0100 X-Original-Message-ID: <20160216160554.GL11057@jadzia.comodo.priv.at> X-Original-References: <145562247237.6125.114887890364997367.reportbug@garlic.spices> Xref: csiph.com linux.debian.bugs.dist:717430 linux.debian.maint.java:8870 ------------=_1455638761-8011-70 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Control: tag -1 + unreproducible Control: severity -1 important On Tue, 16 Feb 2016 12:34:32 +0100, Josef Atmin wrote: > Package: jabref > Version: 2.10+ds-5 > Severity: grave > Justification: renders package unusable > > Dear Maintainer, Hallo Josef! Sorry to hear that you have problems with JabRef, and thanks for this excellent bug report! First of all, I'm unfortunately unable to reproduce it, JabRef still works fine for me, with OpenJDK 8. Therefore I'm lowering the severity of the bug. > 1. When starting jabref I get the following error message and it hangs at the welcome screen or aborts. > > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > > 2. I have read http://logging.apache.org/log4j/1.2/faq.html#noconfig and some > blog entries on the internet to figure out how to configure log4j, but without > success since I have no clue how java works. The log4j warnings are harmless; there are there since forever, and I also get them before JabRef starts successfully. > 4. When trying to file a bug report I got the info Yay! Thanks for this debugging session. > 6. I did the debug test mentioned above for all four available versions. > > prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/ jabref > prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/ jabref The failure here is no surprise, cf.: > WARNING: You are running Java version 1.6 or lower (1.5.0 to be exact). > JabRef needs at least a Java Runtime Environment 1.6 or higher. > JabRef should not start properly and output an error message > (probably java.lang.UnsupportedClassVersionError ... (Unsupported major.minor version 49.0) > See http://jabref.sf.net/faq.php for more information. > > WARNING: You are not running a Java version from Oracle (or Sun Microsystems). > Your java vendor is: Free Software Foundation, Inc. > If JabRef crashes please consider switching to an Oracle Java Runtime. > See http://jabref.sf.net/faq.php for more information. and also the package dependencies. > ============================================================================================================ > > prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/ jabref > > [debug] /usr/bin/jabref: Using provided JAVA_HOME = '/usr/lib/jvm/java-7-openjdk-amd64/' > [debug] /usr/bin/jabref: Found JAVA_HOME = '/usr/lib/jvm/java-7-openjdk-amd64/' > [debug] /usr/bin/jabref: Found JAVA_CMD = '/usr/lib/jvm/java-7-openjdk-amd64//bin/java' > [debug] /usr/bin/jabref: Environment variable CLASSPATH is '' > [debug] /usr/bin/jabref: Runnning /usr/lib/jvm/java-7-openjdk-amd64//bin/java -classpath /usr/share/java/jabref.jar:/usr/share/java/JPFCodeGenerator-rt.jar:/usr/share/java/antlr.jar:/usr/share/java/antlr3.jar:/usr/share/java/commons-logging.jar:/usr/share/java/glazedlists.jar:/usr/share/java/jempbox.jar:/usr/share/java/jgoodies-common.jar:/usr/share/java/jgoodies-forms.jar:/usr/share/java/jgoodies-looks.jar:/usr/share/java/jpf.jar:/usr/share/java/jpf-boot.jar:/usr/share/java/microba.jar:/usr/share/java/mysql-connector-java.jar:/usr/share/java/pdfbox.jar:/usr/share/java/postgresql.jar:/usr/share/java/spin.jar net.sf.jabref.JabRefMain > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) This _should_ work (I don't have OpenJDK 7 installed any more) ... > prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ jabref > > [debug] /usr/bin/jabref: Using provided JAVA_HOME = '/usr/lib/jvm/java-8-openjdk-amd64/' > [debug] /usr/bin/jabref: Found JAVA_HOME = '/usr/lib/jvm/java-8-openjdk-amd64/' > [debug] /usr/bin/jabref: Found JAVA_CMD = '/usr/lib/jvm/java-8-openjdk-amd64//bin/java' > [debug] /usr/bin/jabref: Environment variable CLASSPATH is '' > [debug] /usr/bin/jabref: Runnning /usr/lib/jvm/java-8-openjdk-amd64//bin/java -classpath /usr/share/java/jabref.jar:/usr/share/java/JPFCodeGenerator-rt.jar:/usr/share/java/antlr.jar:/usr/share/java/antlr3.jar:/usr/share/java/commons-logging.jar:/usr/share/java/glazedlists.jar:/usr/share/java/jempbox.jar:/usr/share/java/jgoodies-common.jar:/usr/share/java/jgoodies-forms.jar:/usr/share/java/jgoodies-looks.jar:/usr/share/java/jpf.jar:/usr/share/java/jpf-boot.jar:/usr/share/java/microba.jar:/usr/share/java/mysql-connector-java.jar:/usr/share/java/pdfbox.jar:/usr/share/java/postgresql.jar:/usr/share/java/spin.jar net.sf.jabref.JabRefMain > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > > Xlib: extension "XInputExtension" missing on display ":0". Ha! Here's an extra line, and that's the difference to my output. Now we just need to find out what's missing / different on your system, so that java can't connect to the X server. (But then, your test with OpenJDK 7 should work?) Do other java programs work for you? Which window manager are you using? I'm cc'ing the java team's mailing list, maybe someone has an idea there. > 9. Downloaded java for Linux from http://www.java.com/en/download/linux_manual.jsp and installed it. > > root> cd /usr/lib/jvm/ > root> tar xvf jre-8u73-linux-x64.tar.gz > > 10. Tested this version > > prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/jre1.8.0_73/ jabref > > [debug] /usr/bin/jabref: Using provided JAVA_HOME = '/usr/lib/jvm/jre1.8.0_73/' > [debug] /usr/bin/jabref: Found JAVA_HOME = '/usr/lib/jvm/jre1.8.0_73/' > [debug] /usr/bin/jabref: Found JAVA_CMD = '/usr/lib/jvm/jre1.8.0_73//bin/java' > [debug] /usr/bin/jabref: Environment variable CLASSPATH is '' > [debug] /usr/bin/jabref: Runnning /usr/lib/jvm/jre1.8.0_73//bin/java -classpath /usr/share/java/jabref.jar:/usr/share/java/JPFCodeGenerator-rt.jar:/usr/share/java/antlr.jar:/usr/share/java/antlr3.jar:/usr/share/java/commons-logging.jar:/usr/share/java/glazedlists.jar:/usr/share/java/jempbox.jar:/usr/share/java/jgoodies-common.jar:/usr/share/java/jgoodies-forms.jar:/usr/share/java/jgoodies-looks.jar:/usr/share/java/jpf.jar:/usr/share/java/jpf-boot.jar:/usr/share/java/microba.jar:/usr/share/java/mysql-connector-java.jar:/usr/share/java/pdfbox.jar:/usr/share/java/postgresql.jar:/usr/share/java/spin.jar net.sf.jabref.JabRefMain > Feb 16, 2016 12:23:35 PM java.util.prefs.FileSystemPreferences$1 run > INFO: Created user preferences directory. > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) Hm, nothing here about Xlib ... > 11. Provide the openjdk info for the bugreport. > > prompt> dpkg -l "openjdk*" > > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Architecture Description > +++-==============-============-============-================================= > un openjdk-6-jdk (no description available) > un openjdk-6-jre (no description available) > un openjdk-6-jre- (no description available) > ii openjdk-7-jre: 7u95-2.6.4-1 amd64 OpenJDK Java runtime, using Hotsp > ii openjdk-7-jre- 7u95-2.6.4-1 amd64 OpenJDK Java runtime, using Hotsp > un openjdk-7-jre- (no description available) > ii openjdk-8-jre: 8u72-b15-2 amd64 OpenJDK Java runtime, using Hotsp > ii openjdk-8-jre- 8u72-b15-2 amd64 OpenJDK Java runtime, using Hotsp > un openjdk-8-jre- (no description available) For comparison: % dpkg -l "openjdk*" Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================-====================-====================-==================================================================== un openjdk-6-jdk (no description available) un openjdk-6-jre (no description available) un openjdk-6-jre-headless (no description available) un openjdk-7-jre (no description available) un openjdk-8-demo (no description available) ii openjdk-8-jdk:amd64 8u72-b15-2 amd64 OpenJDK Development Kit (JDK) ii openjdk-8-jre:amd64 8u72-b15-2 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-8-jre-headless:amd64 8u72-b15-2 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) un openjdk-8-jre-jamvm (no description available) un openjdk-8-source (no description available) So the differences are that - I have only OpenJDK 8 - I also have openjdk-8-jdk > 12. Gave up! Thanks for you perseverance! Cheers, gregor -- .''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Bevinda: Fado ------------=_1455638761-8011-70 Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: inline; filename="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Digital Signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJWw0jpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGJNIQAKNMDpYNP+84oKOoHDnMm7n6 oSI4NR/UhGAlHODVGm2xWpvNPcMphjPhXxyKA3qjJvJtHtAEO6Y0RuvhIzKHOS+p qcz/oDdRHJ+4OfS+dGxHCaMPfuXOSp5/ixAKZ+GGW8df8aE+dcpDcSQSTu0h6RV+ XNXWmw+IjL3d1ZG9f+IA/3m5l7fptrlYQS0YLGMz5h/4cBYYmhu6yTnyJAH4GefV UDR/3BvCxvOrKOpw9epX5bWl+q17lGqXy4CzrBoXm5QKKU9sWQLmoMNcwTsq88lE y7uYmwEXCETQa8aH+/Jns/Fm78QOiOnjRH8IIObg9Ib1RqFv3H1OvS1S23wnwZav H4Ttetz7c5RuLcqn7zpM11fdJ13fbVLSK3RiNZdkoCdU8dHGns/rswjlIDufcgaV J5s4+S4op+dtViyxaVN8otn2p6hRr5RJMBLrutI5+OyzgEONZnZ7WSPnW/0akeG3 4soKf8mXtTxGn9nXy+Ci01AtVWDeNniNiJzH/DVo9wISU2Y2q0fV/yyOw0ZPAay1 MwREPUCvFbX7i/pVtj3jvi1RT3x5z7bzAemwTLmXeUwxCer/AzncT8W9QMypvkCh EKPEHGFBpgz4bD08bqbYYp5kmHCf4wiUTv01fIqR/CVYQvKDr1IxBs5V74HDnK7R xn4024l0dtuCtV5QIf8n =2E9s -----END PGP SIGNATURE----- ------------=_1455638761-8011-70--