Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8879

Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..."

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From gregor herrmann <gregoa@debian.org>
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 Wed, 17 Feb 2016 00:20:02 +0100
Message-ID <r2X4u-6dy-3@gated-at.bofh.it> (permalink)
References <r2M94-7eU-11@gated-at.bofh.it> <r2Qmm-1Is-15@gated-at.bofh.it> <r2VYJ-5w0-3@gated-at.bofh.it>
X-Original-To Josef Atmin <jatmin@web.de>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Feb 16 23:15:19 2016
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.206
Reply-To gregor herrmann <gregoa@debian.org>, 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-Keywords unreproducible
X-Debian-Pr-Source jabref
X-Spam-Bayes score:0.0000 Tokens: new, 27; hammy, 150; neutral, 353; 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 <jatmin@web.de>, 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<Xh[Wxa.2d"m?]^f
X-Temperature-Innsbruck 3 C (2016-02-16 23:49:01 CET)
User-Agent Mutt/1.5.24 (2015-08-30)
Content-Type multipart/signed; boundary="----------=_1455664312-8011-74"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1251133
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 182
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 814901@bugs.debian.org, debian-java@lists.debian.org
X-Original-Date Wed, 17 Feb 2016 00:11:47 +0100
X-Original-Message-ID <20160216231147.GP11057@jadzia.comodo.priv.at>
X-Original-References <145562247237.6125.114887890364997367.reportbug@garlic.spices> <20160216160554.GL11057@jadzia.comodo.priv.at> <20160216215014.GA1702@garlic>
Xref csiph.com linux.debian.bugs.dist:717505 linux.debian.maint.java:8879

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: forwarded -1 https://github.com/JabRef/jabref/issues/393

On Tue, 16 Feb 2016 22:50:14 +0100, Josef Atmin wrote:

> Dear Gregor,
> thanks a lot for the quick reply.

Thanks for looking further into this issue!
 
> > >    prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ jabref
> > >      
> > >      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?)
> I have tried this particular test again five times and did not get the
> Xlib message again.

Hm. Maybe because there was still a java process lingering around?
 
> > Do other java programs work for you?
> Hm, I don't know.  How would I find out?  What are common other java programs?

Depends on what you like :)
freemind, josm, tuxguitar are some that I use.

`apt-cache rdepends default-jre' might give you some ideas.
 
> Ok, I looked a bit on the internet and wanted to write a little mini
> program in java.  I figured I need the javac compiler.  It is not
> installed on my computer, and it was not in the Debian unstable
> repository under that name either.  

"My" javac is /usr/bin/javac -> /etc/alternatives/javac -> /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
(from the openjdk-8-jdk package). But I guess installing another
package with software written in Java is easier.

> > Which window manager are you using?
> I use cinnamon.

Ok, I'm not aware of any specific problems with cinnamon and java but
who knows.
 
> I have then logged out and logged in gnome.  Then I ran jabref.  The first time it actually worked and I got the following messages.
> 
>     $ jabref
>     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)
>     
>     Gtk-Message: Failed to load module "canberra-gtk-module"
>     Opening: /home/wiskott/Literatur/Bibtexs/WiskottGroup.bib
>     Opening: /home/wiskott/Literatur/Bibtexs/Hippocampus.bib
>     Opening: /home/wiskott/Literatur/Bibtexs/GraphicalModels.bib
>     Opening: /home/wiskott/Literatur/Bibtexs/SlowFeatureAnalysis.bib
>     Could not get key binding for "Open folder"

Cool. The Gtk warning seems to come from Gnome but should be
harmless, the rest looks like when I start JabRef.
 
> ----------------------------------------------------------------------------------------------------
> 
> The second time it did not work.  It hang with the welcome screen, just like under cinnamon, and the messages were as follows.
> 
>     wiskott@garlic:~$ jabref
>     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".
> 
> ----------------------------------------------------------------------------------------------------

Oh, again troubles with the X server.
 
> I then rebooted and logged into gnome again.
> 
> The first time a started jabref it actually crashed (and did not hang as usually) with the following messages.
> 
>     $ jabref
>     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)
>     
>     java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Again, something between Java and X.
 

> > So the differences are that
> > - I have only OpenJDK 8
> > - I also have openjdk-8-jdk
> 
> Ok, I am back in cinnamon now.
> I deinstalled openjdk-7 and installed openjdk-8-jdk

Thanks for trying this as well.

> First run of jabref crashed with
> 
>     $ jabref
>     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)
>     
>     java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

So X again. Hm.
 

> I hope all that gives you a bit more information to work with.

It's certainly not a lack of information from your side that leaves
me a bit clueless :) Currently I think that the problem lies not with
JabRef but I have no idea what's happening between java and X on your
machine. - My hopes still lie in the Java team and their expertise :)


Or this: After some searching I found https://bugs.debian.org/802701
which sounds quite similar. And even mentions JabRef ... with the
upstream ticket at https://github.com/JabRef/jabref/issues/393 . And
the Ubuntu bug at
https://bugs.launchpad.net/ubuntu/+source/jabref/+bug/1520294

The GitHub issue contains a workaround (changing the look&feel),
maybe this works for you too? (Same info in the Launchpad bug.)


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: The Beatles: Love me do

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..." gregor herrmann <gregoa@debian.org> - 2016-02-16 17:10 +0100
  Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..." Josef Atmin <jatmin@web.de> - 2016-02-16 23:10 +0100
    Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..." gregor herrmann <gregoa@debian.org> - 2016-02-17 00:20 +0100
      Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..." Josef Atmin <jatmin@web.de> - 2016-02-18 18:40 +0100
        Bug#814901: jabref: at start jabref hangs with the error message "No appenders could be found for logger ..." Josef Atmin <jatmin@web.de> - 2016-02-19 19:00 +0100

csiph-web