Bug 21350 - Arduino IDE on crashes on M6 (missing jackson-module-mrbean dependency)
Summary: Arduino IDE on crashes on M6 (missing jackson-module-mrbean dependency)
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: Mageia 6
Assignee: Yann Cantin
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-25 18:08 CEST by Piotr Mackowiak
Modified: 2017-07-25 18:29 CEST (History)
2 users (show)

See Also:
Source RPM: arduino-1.6.5-3.mga6
CVE:
Status comment:


Attachments

Description Piotr Mackowiak 2017-07-25 18:08:54 CEST
Description of problem:

I try to run Arduino IDE on M6. But it crashes with such errors:

    [maciek@Piotr ~]$ arduino
    /usr/bin/build-classpath: Could not find jackson-module-mrbean Java extension for this JVM
    /usr/bin/build-classpath: error: Some specified jars were not found
    Picked up JAVA_TOOL_OPTIONS:
    java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/mrbean/MrBeanModule
            at processing.app.BaseNoGui.initPackages(BaseNoGui.java:605)
            at processing.app.Base.<init>(Base.java:299)
            at processing.app.Base.guardedMain(Base.java:226)
            at processing.app.Base.main(Base.java:137)
    Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.module.mrbean.MrBeanModule
            at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
            ... 4 more


How reproducible:

Simply install Arduino IDE from M6 repo and run "arduino" command from terminal.
Comment 1 Piotr Mackowiak 2017-07-25 18:15:26 CEST
There is workaround (thanks to doktor5000) by enter command from terminal:

ln -s /usr/share/java/jackson-modules-base /usr/share/java/jackson-module-mrbean

Addition informations about JAVA installation on system:

[root@Piotr ~]# java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
[root@Piotr ~]# /sbin/alternatives --display java
java — stan: automatycznie.
 dowiązanie obecnie wskazuje na /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java - family java-1.8.0-openjdk.x86_64 priority 1800131
 podrzędne jjs: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/jjs
 podrzędne keytool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/keytool
 podrzędne orbd: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/orbd
 podrzędne pack200: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/pack200
 podrzędne policytool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/policytool
 podrzędne rmid: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/rmid
 podrzędne rmiregistry: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/rmiregistry
 podrzędne servertool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/servertool
 podrzędne tnameserv: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/tnameserv
 podrzędne unpack200: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/unpack200
 podrzędne jre_exports: /usr/lib/jvm-exports/jre-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64
 podrzędne jre: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre
 podrzędne java.1.xz: /usr/share/man/man1/java-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne jjs.1.xz: /usr/share/man/man1/jjs-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne keytool.1.xz: /usr/share/man/man1/keytool-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne orbd.1.xz: /usr/share/man/man1/orbd-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne pack200.1.xz: /usr/share/man/man1/pack200-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne policytool.1.xz: /usr/share/man/man1/policytool-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne rmid.1.xz: /usr/share/man/man1/rmid-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne rmiregistry.1.xz: /usr/share/man/man1/rmiregistry-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne servertool.1.xz: /usr/share/man/man1/servertool-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne tnameserv.1.xz: /usr/share/man/man1/tnameserv-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne unpack200.1.xz: /usr/share/man/man1/unpack200-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
Obecnie „najlepszą” wersją jest /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java.
[root@Piotr ~]# readlink -f $(which java)
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java

Assignee: sysadmin-bugs => bugsquad
Target Milestone: --- => Mageia 6
Severity: normal => major
Version: unspecified => 6
Component: BuildSystem => Release (media or process)
Product: Infrastructure => Mageia

Rémi Verschelde 2017-07-25 18:29:07 CEST

Assignee: bugsquad => yann.cantin
Source RPM: (none) => arduino-1.6.5-3.mga6
Component: Release (media or process) => RPM Packages
CC: (none) => pkg-bugs

Rémi Verschelde 2017-07-25 18:29:23 CEST

Summary: Arduino IDE on crashes on M6 => Arduino IDE on crashes on M6 (missing jackson-module-mrbean dependency)


Note You need to log in before you can comment on or make changes to this bug.