Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • I'm trying to install m2m2 core 2.1.1 on an udoo quad running ubuntu 12.04. I can run things fine on my OS X and VirtualBox running Ubuntu 12.04 just fine. On the Udoo I get the following using error in the log file. Do you have an idea of what could be causing the null pointer exception? language/local issue? I'm using oracle jdk 1.7.0_45 for ARM soft float. On the OSX, I'm using jdk1..7.0_45 and openJDK and both of them work.

    Thoughts?

    DEBUG 2014-01-05 17:06:19,686 (com.serotonin.util.properties.ReloadingProperties.checkForReload:122) - (env) Checking for updated files
    INFO 2014-01-05 17:06:19,759 (com.serotonin.util.properties.ReloadingProperties.checkForReload:142) - (env) Found updated file(s) at [/home/ubuntu/homeautomation/m2m2-core-2/classes/env.properties]. Reloading properties
    DEBUG 2014-01-05 17:06:20,018 (com.serotonin.util.properties.ReloadingProperties.checkForReload:115) - (env) In do not check period. Not rechecking
    DEBUG 2014-01-05 17:06:20,533 (com.serotonin.util.properties.ReloadingProperties.checkForReload:115) - (env) In do not check period. Not rechecking
    DEBUG 2014-01-05 17:06:20,602 (com.serotonin.util.properties.ReloadingProperties.checkForReload:115) - (env) In do not check period. Not rechecking
    DEBUG 2014-01-05 17:06:27,201 (com.serotonin.util.properties.ReloadingProperties.checkForReload:122) - (env) Checking for updated files
    DEBUG 2014-01-05 17:06:27,254 (com.serotonin.util.properties.ReloadingProperties.checkForReload:115) - (env) In do not check period. Not rechecking
    ERROR 2014-01-05 17:06:28,775 (com.serotonin.m2m2.Main.main:94) - Error during initialization
    java.lang.NullPointerException
    at com.serotonin.m2m2.Lifecycle.configureDwr(Lifecycle.java:642)
    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:606)
    at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:175)
    at com.serotonin.m2m2.Main.main(Main.java:88)


  • Does it throw this error if you try to launch Mango without any modules in your MA_Home/web/modules folder?


  • Yes. It is a vanilla install with only the core.


  • It's difficult to say with any shred of certainty...

    For most of our testing with embedded devices on ARM, we've used JDK 8 (can be found here: https://jdk8.java.net/download.html ) . It looks like it's erring on a ClassLoader, and it looked like it was in the module loading code. I would give JDK 8 a shot.


  • I got it to work. It is nothing on your end. Long story short, the quad wireless is uber-slow and when I copied the m2m2 content from a NAS I thought everything was copied over. It looked like it was complete. Anyway, not all files where there hence the problem. The core works (started without error and can login ) on JDk 1.70_45 (soft float) and Java 6 open JDK-Armel.

    I was hoping not have to go down the JDK 8 route as there is no soft-float release from what I can see.

    pjc