Your message dated Wed, 09 May 2018 15:09:23 +0000
with message-id <[email protected]>
and subject line Bug#896929: fixed in rxtx 2.2pre2+dfsg1-2
has caused the Debian Bug report #896929,
regarding librxtx-java: java.lang.NullPointerException thrown while loading
gnu.io.RXTXCommDriver
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896929: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896929
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: librxtx-java
Version: 2.2pre2+dfsg1-1
Severity: important
Control: affects -1 arduino
Dear Maintainer,
a NullPointerException is thrown with openjdk-9-jre and openjdk-10-jre, while
openjdk-8-jre works.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894770#35 for the
initial report and the source of the test code below.
Small testing code ("Test1.java"):
import java.util.*;
import gnu.io.*;
public class Test1 {
public Test1() {
Enumeration ports = CommPortIdentifier.getPortIdentifiers();
}
public static void main (String args[]) {
Test1 myTest1 = new Test1();
}
}
Compile and run it:
$ CLASSPATH=/usr/share/java/RXTXcomm.jar javac Test1.java
$ CLASSPATH=/usr/share/java/RXTXcomm.jar:. java Test1
I switched between the different JRE versions via:
$ update-alternatives --config java
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-10-openjdk-i386/bin/java 1101 auto mode
1 /usr/lib/jvm/java-10-openjdk-i386/bin/java 1101 manual mode
2 /usr/lib/jvm/java-8-openjdk-i386/jre/bin/java 1069 manual mode
3 /usr/lib/jvm/java-9-openjdk-i386/bin/java 1091 manual mode
In case of an error (with jre-9 and jre-10), the following expections
are thrown:
java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver
java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver
No exception occours when using jre-8.
The user is part of the "dialout" group (i.e. there is no permission
cheers).
Thank you for your time!
Cheers,
Lars
--- End Message ---
--- Begin Message ---
Source: rxtx
Source-Version: 2.2pre2+dfsg1-2
We believe that the bug you reported is fixed in the latest version of
rxtx, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Bourg <[email protected]> (supplier of updated rxtx package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 09 May 2018 16:34:13 +0200
Source: rxtx
Binary: librxtx-java
Architecture: source
Version: 2.2pre2+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java maintainers
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
Description:
librxtx-java - Full Java CommAPI implementation
Closes: 896929 897558
Changes:
rxtx (2.2pre2+dfsg1-2) unstable; urgency=medium
.
* Team upload.
* Fixed the build failure with Java 10 (Closes: #897558)
* Fixed the NullPointerException with Java 10 caused by the null
java.ext.dirs system property (Closes: #896929)
* Standards-Version updated to 4.1.4
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
Checksums-Sha1:
4ac25bf7c31c6d4ca73f8ee5ad4e62203ae49b61 2023 rxtx_2.2pre2+dfsg1-2.dsc
a5b55feb2ab518cae6391ad83d5b77e5f96d51a0 21856
rxtx_2.2pre2+dfsg1-2.debian.tar.xz
b43e941eff185d768543d087f87fb34f43393d33 11094
rxtx_2.2pre2+dfsg1-2_source.buildinfo
Checksums-Sha256:
eb7e4876894d678ff5779b76dec0bfef429083a1fe5384229faf99d5a57b75c7 2023
rxtx_2.2pre2+dfsg1-2.dsc
873a678355cedd54c2dbee354375934adb5abe77a836ab2bed0676a0b4eac839 21856
rxtx_2.2pre2+dfsg1-2.debian.tar.xz
fb3ad181136475a855aadb57f8c6a4c26fc1904a9ef84108e15d3d4e191e90ac 11094
rxtx_2.2pre2+dfsg1-2_source.buildinfo
Files:
0db2aa56449bfdb6d7d72f78ca5230ce 2023 java optional rxtx_2.2pre2+dfsg1-2.dsc
4a0734e8cca4f139d2ed57ca5b63b7f3 21856 java optional
rxtx_2.2pre2+dfsg1-2.debian.tar.xz
ebea778dd8bd3f64ba58c569e0833012 11094 java optional
rxtx_2.2pre2+dfsg1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlrzB2wSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsZBAP/1+BLtnmrX9OWpB8PMhI2ruxMmAglETY
Zh+wj8VdGpINjL5jVGuq7FamuDRMePma5qLoKV2r9WQhISTA5xhIhGZV5LoXz5vH
xSIggkqEG+wV0A0wfcQV00F39r11AqAxhQXE6LMGfOiy623vfvmYETSB1UsWOH70
9LqOnH9J8mxdm4usNY6KqR5P+Y3q+dpBNePB1ErTZ38pm9f64a2AYGOXCDLb9YJD
vZO4vQR2/+cUGo4RZpSWJ8iD0IFYxMmMU6sEFd95G/jg539+E6VgTGTeY7vE0SPU
dl6gucvHl1JF93D0zV2ExDVGSUiKd9wjU2uZ7VvYYlIXgdaBQdXA7sQBGJTEkXzM
AYB7jyBhs+ndN8nlgtaENCz9ExEcVxt47/BLH0SnAAdZ4jQTGaIjd3LUnEs91bS4
YyXnTEbkwXoOMwyVYARoRB1LFF3LAFEzcCXEkzKV8E1j7ceKB7vu5SH2vbfUXR6I
rrnLZ+cO6cYW8r9Qsjz3n9dSqzneQt9ZvwTfnCKip8lgIm6LKEsgZtLYGoaYCeY2
h3VCzlJ0e1WHiJ8pnU2XHKpGlYHj5516DfgbO/J2ZB62Yx2XCHxzWPvcCpAsHeHg
RjeDkiqAhvwz40lPWwS0XjF/HfiMS+swSEm3BwVriZoadwnbhilYdGgg6nlwiSnR
ApofKpBBpAp4
=VXsC
-----END PGP SIGNATURE-----
--- End Message ---