HMIPServer not starting anymore #2470
Labels
🐛 bug-report
Something isn't working
🏷️ HmIPServer
This refs the HmIPServer component
👍 important
This is an important issue/ticket with high priority
Milestone
Describe the issue you are experiencing
Since Version 3.71.12.20231014 monit seems to constantly trying to restart HMIPServer because it crashes with Exceptions during startup.
Here are some log output snippets point at problems with the Java environment:
After some short investigation it seems that the first Exception
cannot access class sun.nio.ch.DirectBuffer
can be worked around via addition of--add-opens java.base/sun.nio.ch=ALL-UNNAMED
(cf. c618a97). However, the second issue seems to point at an incompatibility of the HMIPServer sources with Java version newer than version 8 (see https://stackoverflow.com/questions/73104986/chronicle-with-corretto-jdk17-java-lang-nosuchmethoderror-sun-misc-cleaner-sun, apache/spark#22993)Describe the behavior you expected
HMIPServer should start normally.
Steps to reproduce the issue
/var/log/hmipserver.log
and have a look for the mentioned Java exceptions.What is the version this bug report is based on?
3.71.12.20231014
Which base platform are you running?
ova (Open Virtual Infrastructure)
Which HomeMatic/homematicIP radio module are you using?
n/a
Anything in the logs that might be useful for us?
Additional information
Issue has been first reported here:
https://homematic-forum.de/forum/viewtopic.php?f=65&t=80179&start=40#p780734
https://homematic-forum.de/forum/viewtopic.php?f=65&t=80179&p=780760#p780759
The text was updated successfully, but these errors were encountered: