Jajuk "display perspective" error

Bug #1650019 reported by blancetnoir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jajuk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm a (small) commiter of jajuk project, the display trouble of jajuk application seems to come from a missing jar dependency in the application classpath.

The console shows this kind of errors :
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/jgoodies/common/base/Preconditions
 at com.jgoodies.animation.renderer.AbstractTextRenderer.setFont(AbstractTextRenderer.java:121)
 at com.jgoodies.animation.swing.components.BasicTextLabel.paintComponent(BasicTextLabel.java:237)

According to https://packages.debian.org/stretch/jajuk the dependency libjgoodies-animation-java is mentionned for jajuk but the jgoodies-common.jar is not present in the classpath, see META-INF file in jajuk.jar.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: jajuk 1:1.10.9+dfsg2-2
ProcVersionSignature: Ubuntu 4.8.0-30.32-generic 4.8.6
Uname: Linux 4.8.0-30-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Dec 14 21:34:07 2016
InstallationDate: Installed on 2016-11-06 (38 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitecture: all
SourcePackage: jajuk
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
blancetnoir (blancetnoir56-ubuntuone) wrote :
Revision history for this message
Felix Natter (fnatter) wrote :

hello blancetnoir,

I cannot reproduce the error on Debian unstable, where the same version of libjgoodies-animation-java (1.4.3-1) and of course the same jajuk version is used.

Does it occur directly on startup?

It seems the fix is simple: Include jgoodies-common.jar in the MANIFEST (as you write).

Unfortunately, yakkety is already stable, so it takes a "stable release update" to fix this
(very much work even for trivial changes).
Why did it occur / why did you notice it so late? Did an update break this?

I am not a Ubuntu developer (I maintain jajuk on the Debian side).
Is there a Ubuntu dev who could step in?

Cheers and Best Regards,
Felix

Revision history for this message
Felix Natter (fnatter) wrote :

If a Ubuntu user/dev could confirm that building jajuk with jgoodies-common.jar
int the MANIFEST.MF fixes the problem, then I could _try_ to trigger a SRU.

Cheers and Best Regards,
Felix

Revision history for this message
blancetnoir (blancetnoir56-ubuntuone) wrote : Re: [Bug 1650019] Re: Jajuk "display perspective" error

Hi Felix,
the problem doesn't occur at startup but in the "Display" perspective, the 6th icon on the left side from top.
I declared (gkerdal, it's me) first the issue on the github jajuk project :Incorrect Display perspective · Issue #2008 · jajuk-team/jajuk

|
|
|
| | |

   |

  |
|
| |
Incorrect Display perspective · Issue #2008 · jajuk-team/jajuk
 I run Jajuk 1.10.9 on Ubuntu 16.10, the Display perspective doesn't show the inner views. The console trace... | |

  |

  |

According to Bertrand (main developer) it comes from a debian missing dependency but I'm not really sure since the MANIFEST file on github doesn't refer to jgoodies-common.
Cheers,
Gwen.

      De : Felix Natter <email address hidden>
 À : <email address hidden>
 Envoyé le : Dimanche 18 décembre 2016 10h52
 Objet : [Bug 1650019] Re: Jajuk "display perspective" error

hello blancetnoir,

I cannot reproduce the error on Debian unstable, where the same version
of libjgoodies-animation-java (1.4.3-1) and of course the same jajuk
version is used.

Does it occur directly on startup?

It seems the fix is simple: Include jgoodies-common.jar in the MANIFEST
(as you write).

Unfortunately, yakkety is already stable, so it takes a "stable release update" to fix this
(very much work even for trivial changes).
Why did it occur / why did you notice it so late?  Did an update break this?

I am not a Ubuntu developer (I maintain jajuk on the Debian side).
Is there a Ubuntu dev who could step in?

Cheers and Best Regards,
Felix

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1650019

Title:
  Jajuk "display perspective" error

Status in jajuk package in Ubuntu:
  New

Bug description:
  I'm a (small) commiter of jajuk project, the display trouble of jajuk
  application seems to come from a missing jar dependency in the
  application classpath.

  The console shows this kind of errors :
  Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/jgoodies/common/base/Preconditions
      at com.jgoodies.animation.renderer.AbstractTextRenderer.setFont(AbstractTextRenderer.java:121)
      at com.jgoodies.animation.swing.components.BasicTextLabel.paintComponent(BasicTextLabel.java:237)

  According to https://packages.debian.org/stretch/jajuk the dependency
  libjgoodies-animation-java is mentionned for jajuk but the jgoodies-
  common.jar is not present in the classpath, see META-INF file in
  jajuk.jar.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: jajuk 1:1.10.9+dfsg2-2
  ProcVersionSignature: Ubuntu 4.8.0-30.32-generic 4.8.6
  Uname: Linux 4.8.0-30-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Dec 14 21:34:07 2016
  InstallationDate: Installed on 2016-11-06 (38 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  PackageArchitecture: all
  SourcePackage: jajuk
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jajuk/+bug/1650019/+subscriptions

Revision history for this message
Felix Natter (fnatter) wrote :

I fixed this:
https://anonscm.debian.org/git/pkg-java/jajuk.git/commit/?id=580e7cd22a15d51df070d32bec4a4cc99ad2a401

I will publish this to Debian unstable as soon as the stretch freeze is over.

Unfortunately, this problem existed for quite a while, so we would have to do _several_
SRUs to fix it in various Ubuntu releases (and in Debian stretch).
But it's doable because the fix is very simple, so if anyone wants to drive this,
please go ahead!

Cheers and Best Regards,
Felix

Revision history for this message
blancetnoir (blancetnoir56-ubuntuone) wrote :

Thanks Felix for the fix. Hope this could go ahead in future releases !
Best Regards,

blancetnoir.

Revision history for this message
blancetnoir (blancetnoir56-ubuntuone) wrote :

Hi Felix,
the patch is not available on my ubuntu PC, I guess it's normal. Do you think, it will be available on Ubuntu 16.10 or should we wait major Ubuntu release ?

Cheers,

blancetnoir.

Revision history for this message
Felix Natter (fnatter) wrote :

hello blancetnoir,

unfortunately there was a code freeze on the Debian side due to the stretch release,
so I just getting it in into Debian unstable, it will be in the next Ubuntu release.

Sorry for the delay,
Cheers and Best Regards,
Felix

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jajuk - 1:1.10.9+dfsg2-3

---------------
jajuk (1:1.10.9+dfsg2-3) unstable; urgency=medium

  * Include jgoodies-common.jar in classpath (LP: #1650019)
  * Update standards-version to 4.0.0 (no changes)

 -- Felix Natter <email address hidden> Tue, 27 Jun 2017 16:45:50 +0200

Changed in jajuk (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.