[OH3 snapshot] Ephemeris NPE after apt-get upgrade (3.1.0~S2215-1) over (3.1.0~S2187-1)

  • Platform information:
  • Linux shs2 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • Ubuntu 18.04.5 LTS

  • openjdk 11.0.10 2021-01-19
    OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.18.04)
    OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

    total        used        free      shared  buff/cache   available
    Mem:        3945688     1602408     1004552        2928     1338728     2219704
    Swap:       4099068           0     4099068
    
  • Unpacking openhab (3.1.0~S2215-1) over (3.1.0~S2187-1) …

  • Issue of the topic: NPE on first boot after upgrade. OK after a sudo reboot.

    2021-02-21 02:08:09.559 [WARN ] [e.automation.internal.RuleEngineImpl] - Fail to execute action: 3
    java.lang.NullPointerException: null
    at org.openhab.core.model.script.actions.Ephemeris.isWeekend(Ephemeris.java:45) ~[?:?]
    at org.openhab.core.model.script.actions.Ephemeris.isWeekend(Ephemeris.java:40) ~[?:?]
    at org.openhab.core.model.script.actions.Ephemeris.isWeekend(Ephemeris.java:35) ~[?:?]
    at jdk.nashorn.internal.scripts.Script$Recompilation$118$4388A$^eval_.getTodayItems(:112) ~[?:?]
    at jdk.nashorn.internal.scripts.Script$Recompilation$76$^eval_.:program(:262) ~[?:?]