Arduino IDE from repository does not work because of "java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
arduino (Debian) |
Fix Released
|
Unknown
|
|||
arduino (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
In Progress
|
Undecided
|
Unassigned | ||
rxtx (Debian) |
Fix Released
|
Unknown
|
|||
rxtx (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[TEST CASE]
Steps to reproduce:
1. Install Ubuntu 18.04 LTS
2. Install Arduino IDE with `sudo apt-get install arduino`
3. Add your user to dialout group with `sudo usermod -a -G dialout $USER`
4. Connect Arduino board to the computer
5. Launch Arduino IDE
Expected results:
Arduino IDE works normally, user can upload program to board and use Serial Monitor and Serial Plotter.
Actual results:
The serial-port functionality of Arduino IDE is broken, it shows the following messages in termina -
$ arduino
java.lang.
java.lang.
Notes:
1. steps 3-4 are not really necessary.
2. first seen on AskUbuntu ( https:/
[ REGRESSION POTENTIAL ]
* low: using this driver is already broken so its hard to make the situation worse
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: librxtx-java 2.2pre2+dfsg1-1
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 11 12:40:54 2018
Dependencies:
gcc-8-base 8-20180414-1ubuntu2
libc6 2.27-3ubuntu1
libgcc1 1:8-20180414-
InstallationDate: Installed on 2018-04-28 (12 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: rxtx
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in arduino (Debian): | |
status: | Unknown → New |
Changed in rxtx (Debian): | |
status: | Unknown → Fix Released |
Changed in arduino (Debian): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.