[Debian-med-packaging] Bug#1025829: prints an exception message at startup

Pierre Gruet pgt at debian.org
Sat Dec 10 06:38:23 GMT 2022


Package: beast2-mcmc
Version: 2.7.2+dfsg-1
Severity: normal

Hi,

When launching
$ beast2-mcmc
I get an exception message

java.lang.NullPointerException: Cannot invoke "java.io.InputStream.close()" because "<local2>" is null
        at beast.pkgmgmt.launcher.BeastLauncher.copyFileUsingStream(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.createBeastPackage(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.installBEASTPackage(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.getPath(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)
java.lang.NullPointerException: Cannot invoke "java.io.InputStream.close()" because "<local2>" is null
        at beast.pkgmgmt.launcher.BeastLauncher.copyFileUsingStream(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.createBeastPackage(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.installBEASTPackage(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.getPath(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)

There is an ongoing discussion in
    https://github.com/CompEvol/beast2/issues/1060
but I guess the issue is on the Debian packaging side. I shall look at it soon
but nevertheless drop this bug so that it does not get forgotten.

Cheers,

-- 
Pierre


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages beast2-mcmc depends on:
ii  default-jre             2:1.17-73
ii  libantlr4-runtime-java  4.7.2-5
ii  libcolt-free-java       1.2.0+dfsg-7
ii  libhmsbeagle-java       3.1.2+dfsg-12+b1
ii  libopenjfx-java         11.0.11+0-1.1
ii  openjfx                 11.0.11+0-1.1

beast2-mcmc recommends no packages.

beast2-mcmc suggests no packages.

-- no debconf information



More information about the Debian-med-packaging mailing list