[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed for tn-seqexplorer Java package




On 05/08/2017 01:08 PM, Andreas Tille wrote:
> Hi again,
>
> On Sat, May 06, 2017 at 09:23:27AM +0200, Andreas Tille wrote:
>> I intend to package tn-seqexplorer[1].  I have removed all JAR files
>> upstream included into the sources and managed to replace several by
>> Debian packages.  I also packaged libexternalsortinginjava-java[2] which
>> is used by tn-seqexplorer and uploaded it to new.
> Meanwhile libexternalsortinginjava-java was accepted in unstable (thanks
> to ftpmaster for fast processing).  I also somehow managed to work around
> the other build issues.  Now I'm stumbling upon the fact that the program
> does not run:
>
> $ tn-seqexplorer 
> Exception in thread "main" java.lang.NullPointerException
>         at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:725)
>         at sun.awt.SunToolkit.getImage(SunToolkit.java:759)
>         at GUI.LegalDisclaimer.<init>(LegalDisclaimer.java:24)
>         at essgenes.Main.main(Main.java:43)

It seems it does not find in jar file the file
/resources/legaldisplaimer.png

A resource file has not been included in the jar file. You can check
with jar -tf yourjarfile to see if it is present (but I don't think so
as I see no resource not png file in src)
As it is an icon, you could simply comment line 24 of
src/GUI/LegalDisplaimer.java, line 24 to fix the issue


Olivier

>
>
> Any hint what might be wrong here?
>
> Kind regards
>
>      Andreas.
>  
>
>> [1] https://anonscm.debian.org/git/debian-med/tn-seqexplorer.git
>> [2] https://anonscm.debian.org/git/pkg-java/libexternalsortinginjava-java.git

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Reply to: