Comment 0 for bug 1770604

Revision history for this message
Norbert (nrbrtx) wrote :

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.NullPointerException thrown while loading gnu.io.RXTXCommDriver
java.lang.NullPointerException thrown while loading gnu.io.RXTXCommDriver

Notes:
1. steps 3-4 are not really necessary.
2. first seen on AskUbuntu ( https://askubuntu.com/q/1034173/66509 ).

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: librxtx-java 2.2pre2+dfsg1-1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
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-1ubuntu2
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)