Public bug reported:

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)

** Affects: arduino (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rxtx (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: arduino (Debian)
     Importance: Unknown
         Status: Unknown

** Affects: rxtx (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: apport-bug bionic

** Also affects: arduino (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: Debian Bug tracker #896929
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896929

** Also affects: rxtx via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896929
   Importance: Unknown
       Status: Unknown

** Bug watch added: Debian Bug tracker #894770
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894770

** Also affects: arduino (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894770
   Importance: Unknown
       Status: Unknown

** No longer affects: rxtx

** Also affects: rxtx (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896929
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770604

Title:
  Arduino IDE from repository does not work because of
  "java.lang.NullPointerException thrown while loading
  gnu.io.RXTXCommDriver"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1770604/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to