Bug#846918: interface opens, but no menus and no action on button clicks

2016-12-07 Thread tony mancill
On Wed, Dec 07, 2016 at 10:55:38AM +0100, gregor herrmann wrote:
> On Wed, 07 Dec 2016 09:49:32 +0100, Martin Lutz wrote:
> 
> > Package: jabref
> > Version: 2.10+ds-7
> > Followup-For: Bug #846918
> > 
> > Dear Maintainer,
> > 
> > after an update yesterday, jabref fails to start.
> > ERROR while starting or running JabRef: java.lang.NoSuchFieldError: DIALOG
> > 
> > Searching through the debian bug list, I find bug 846503 with a similar 
> > problem.
> 
> Yup, there seem to be some runtime incompatibilitites with the new
> libjgoodies-*, which were not caught at buildtime. Cf. also the
> thread starting at
> https://lists.debian.org/debian-java/2016/12/msg00010.html
> 
> Probably we'll try with rebuilding the affected packages; for JabRef
> the good news is that we're working on updating to 3.6 which doesn't
> have these problems (but needs some wrinkles ironed out before we can
> upload it).

I attempted a binary rebuild of 2.10+ds using the libraries found in sid
and it didn't change the behavior.  It appears that it might be an issue
with the version of jgoodies-looks (2.7.0) available in Debian.  I will
dig into this more, since it could be affecting other users of
jgoodies-looks similarly, but at the moment, I'm trying to get an
updated JabRef version into the archive before stretch freezes.

Currently we're working on JabRef 3.6, but due to some excellent
assistance from upstream (thanks Oliver!), it could also be 3.7.

Cheers,
tony


signature.asc
Description: PGP signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#846918: interface opens, but no menus and no action on button clicks

2016-12-07 Thread gregor herrmann
On Wed, 07 Dec 2016 09:49:32 +0100, Martin Lutz wrote:

> Package: jabref
> Version: 2.10+ds-7
> Followup-For: Bug #846918
> 
> Dear Maintainer,
> 
> after an update yesterday, jabref fails to start.
> ERROR while starting or running JabRef: java.lang.NoSuchFieldError: DIALOG
> 
> Searching through the debian bug list, I find bug 846503 with a similar 
> problem.

Yup, there seem to be some runtime incompatibilitites with the new
libjgoodies-*, which were not caught at buildtime. Cf. also the
thread starting at
https://lists.debian.org/debian-java/2016/12/msg00010.html

Probably we'll try with rebuilding the affected packages; for JabRef
the good news is that we're working on updating to 3.6 which doesn't
have these problems (but needs some wrinkles ironed out before we can
upload it).
 
Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #192:  runaway cat on system. 

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#846918: interface opens, but no menus and no action on button clicks

2016-12-07 Thread Martin Lutz
Package: jabref
Version: 2.10+ds-7
Followup-For: Bug #846918

Dear Maintainer,

after an update yesterday, jabref fails to start.
ERROR while starting or running JabRef: java.lang.NoSuchFieldError: DIALOG

Searching through the debian bug list, I find bug 846503 with a similar problem.

I looked through my updated package list, and these packages were updated
yesterday (among others):
libgcj-common
libgcj17
gcj-6-jre-lib
libglazedlists-java
libjgoodies-common-java
jabref
libjgoodies-forms-java
libjgoodies-looks-java
libmicroba-java
libbcprov-java
libbcpkix-java
libbcmail-java
libgcj-bc

Here is the full output during jabref startup:
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)

Opening: /home/lutz/ZnSal/ZnSal.bib
Opening: /home/lutz/Fe-salicylate/Fe-salicylate.bib
Opening: /home/lutz/CuSal/CuSal.bib
Could not get key binding for "Open folder"

ERROR while starting or running JabRef:

java.lang.NoSuchFieldError: DIALOG
at 
net.sf.jabref.gui.CleanUpAction.initOptionsPanel(CleanUpAction.java:140)
at net.sf.jabref.gui.CleanUpAction.(CleanUpAction.java:112)
at net.sf.jabref.BasePanel.setupActions(BasePanel.java:348)
at net.sf.jabref.BasePanel.init(BasePanel.java:276)
at net.sf.jabref.BasePanel.(BasePanel.java:257)
at net.sf.jabref.JabRefFrame.addTab(JabRefFrame.java:1745)
at net.sf.jabref.JabRefFrame.addParserResult(JabRefFrame.java:1502)
at net.sf.jabref.JabRef.openWindow(JabRef.java:790)
at net.sf.jabref.JabRef.(JabRef.java:201)
at net.sf.jabref.JabRef.main(JabRef.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.sf.jabref.JabRefMain.main(Unknown Source)

Please first check if this problem and a solution is already known. Find our...
  * ...FAQ at http://jabref.sf.net/faq.php and our...
  * ...user mailing-list at 
http://sf.net/mailarchive/forum.php?forum_name=jabref-users

If you do not find a solution there, please let us know about the problem by 
writing a bug report.
You can find our bug tracker at http://sourceforge.net/p/jabref/bugs/

  * If the bug has already been reported there, please add your comments to the 
existing bug.
  * If the bug has not been reported yet, then we need the complete error 
message given above
and a description of what you did before the error occured.

We also need the following information (you can copy and paste all this):
  * Java Version: 1.8.0_111
  * Java Vendor: Oracle Corporation
  * Operating System: Linux (4.7.0-1-amd64)
  * Hardware Architecture: amd64

We are sorry for the trouble and thanks for reporting problems with JabRef!




-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages jabref depends on:
ii  antlr  2.7.7+dfsg-7
ii  antlr3 3.5.2-6
ii  default-jre [java6-runtime]2:1.8-57
ii  java-wrappers  0.1.28
ii  libcommons-logging-java1.2-1
ii  libglazedlists-java1.9.1-2
ii  libjempbox-java1:1.8.12-1
ii  libjgoodies-common-java1.8.1-2
ii  libjgoodies-forms-java 1.9.0-3
ii  libjgoodies-looks-java 2.7.0-2
ii  libjpf-java1.5.1+dfsg-4
ii  libjpfcodegen-java 0.4+dfsg1-1
ii  libmicroba-java1:0.4.4.3-5
ii  libmysql-java  5.1.40-1
ii  libpdfbox-java 1:1.8.12-1
ii  libpostgresql-jdbc-java9.2-1002-1
ii  libspin-java   1.5+dfsg-8
ii  openjdk-8-jre [java6-runtime]  8u111-b14-3
ii  velocity   1.7-5

Versions of packages jabref recommends:
ii  libreoffice-java-common  1:5.2.3-2
ii  libreoffice-writer   1:5.2.3-2
ii  xdg-utils1.1.1-1

Versions of packages jabref suggests:
ii  evince [postscript-viewer]   3.22.1-2
ii  ghostscript [postscript-viewer]  9.20~dfsg-1
ii  gv [postscript-viewer]   1:3.7.4-1
pn  xpdf-reader | pdf-viewer 

-- no debconf information

__
This is the maintainer address of Debian's Java team


Bug#846918: interface opens, but no menus and no action on button clicks

2016-12-04 Thread gregor herrmann
On Sun, 04 Dec 2016 11:36:58 +0100, David Paleino wrote:

> Wow, so long time no filing bugs to Debian, seems like a whole new experience 
> :)

Hehe :)

Thanks for the bug report.
 
> ---8<---
> Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
>   at com.jgoodies.looks.common.ShadowPopup.(ShadowPopup.java:84)
>   at com.jgoodies.looks.Options.isPopupDropShadowActive(Options.java:639)
>   at 
> com.jgoodies.looks.common.ShadowPopupFactory.getPopup(ShadowPopupFactory.java:177)
>   at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:61)
>   at javax.swing.JPopupMenu.showPopup(JPopupMenu.java:837)
>   at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:790)
>   at javax.swing.JPopupMenu.show(JPopupMenu.java:965)
>   at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:345)
>   at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1478)
>   at 
> javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:125)
>   at javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:222)
>   at javax.swing.plaf.basic.BasicMenuUI.access$200(BasicMenuUI.java:49)
>   at 
> javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:461)
>   at 
> java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
>   at java.awt.Component.processMouseEvent(Component.java:6530)
>   at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>   at java.awt.Component.processEvent(Component.java:6298)
>   at java.awt.Container.processEvent(Container.java:2236)
>   at java.awt.Component.dispatchEventImpl(Component.java:4889)
>   at java.awt.Container.dispatchEventImpl(Container.java:2294)
>   at java.awt.Component.dispatchEvent(Component.java:4711)
>   at 
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
>   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>   at java.awt.Container.dispatchEventImpl(Container.java:2280)
>   at java.awt.Window.dispatchEventImpl(Window.java:2746)
>   at java.awt.Component.dispatchEvent(Component.java:4711)
>   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>   at java.awt.EventQueue.access$500(EventQueue.java:97)
>   at java.awt.EventQueue$3.run(EventQueue.java:709)
>   at java.awt.EventQueue$3.run(EventQueue.java:703)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>   at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>   at java.awt.EventQueue$4.run(EventQueue.java:731)
>   at java.awt.EventQueue$4.run(EventQueue.java:729)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>   at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>   at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>   at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
> Caused by: java.lang.NullPointerException
>   at javax.swing.ImageIcon.(ImageIcon.java:217)
>   at 
> com.jgoodies.looks.common.ShadowPopupBorder.(ShadowPopupBorder.java:69)
>   ... 45 more
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could 
> not initialize class com.jgoodies.looks.common.ShadowPopup
>   at com.jgoodies.looks.Options.isPopupDropShadowActive(Options.java:639)
>   at 
> com.jgoodies.looks.common.ShadowPopupFactory.getPopup(ShadowPopupFactory.java:177)
>   at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:61)
>   at javax.swing.JPopupMenu.showPopup(JPopupMenu.java:837)
>   at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:790)
>   at javax.swing.JPopupMenu.show(JPopupMenu.java:965)
>   at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:345)
>   at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1478)
>   at 
> javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:125)
>   at javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:222)
>   at javax.swing.plaf.basic.BasicMenuUI.access$200(BasicMenuUI.java:49)
>   at 
> javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:461)
>   at 
> java.aw

Bug#846918: interface opens, but no menus and no action on button clicks

2016-12-04 Thread David Paleino
Package: jabref
Version: 2.10+ds-7
Severity: grave

Hello!

Wow, so long time no filing bugs to Debian, seems like a whole new experience :)

Ok, here's the fact: opening a freshly installed jabref, the splash screen
starts fine, the interface opens and everything is visible, but as soon as I
click on _any_ menu item or button in the toolbar, nothing happens (except
stacktraces in console).

Here you are:

/--
| $ DEBUG_WRAPPER=1 jabref
| [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
| 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)
| 
| Could not get key binding for "Open folder"
\-

So far, looks good.

As soon as I click a menu item:

---8<---
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.jgoodies.looks.common.ShadowPopup.(ShadowPopup.java:84)
at com.jgoodies.looks.Options.isPopupDropShadowActive(Options.java:639)
at 
com.jgoodies.looks.common.ShadowPopupFactory.getPopup(ShadowPopupFactory.java:177)
at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:61)
at javax.swing.JPopupMenu.showPopup(JPopupMenu.java:837)
at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:790)
at javax.swing.JPopupMenu.show(JPopupMenu.java:965)
at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:345)
at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1478)
at 
javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:125)
at javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:222)
at javax.swing.plaf.basic.BasicMenuUI.access$200(BasicMenuUI.java:49)
at 
javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:461)
at 
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6530)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents