AttributeError: NoneType object has no attribute load_from_html (CMK 4.2 Cloud) Report-Error

CMK version: 4.2.p2
OS version: Almalinux 9.6

Interesting is the fact that the report will be generated without any errors, when i create it manually in cmk web-gui. This Error happens only at night, when the report is generated automatically via scheduler. Then i got the pdf via e-mail with the error message attached.

Error message:
Error while rendering element type 'A Multisite view' Traceback (most recent call last): File "/omd/sites/monitoring/lib/python3/cmk/gui/cee/reporting/_rendering.py", line 522, in render_report_element element_type.render(element, instance) File "/omd/sites/monitoring/lib/python3/cmk/gui/cee/reporting/_element/_view.py", line 385, in render display_options.load_from_html(request, html) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'load_from_html'

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
OMD[monitoring]:~$ cmk --debug -vvn localhost
value store: loading from disk
Checkmk version 2.4.0p2
Updating IPv4 DNS cache for localhost: 127.0.0.1
Trying to acquire lock on /omd/sites/monitoring/var/check_mk/ipaddresses.cache
Got lock on /omd/sites/monitoring/var/check_mk/ipaddresses.cache
Releasing lock on /omd/sites/monitoring/var/check_mk/ipaddresses.cache
Released lock on /omd/sites/monitoring/var/check_mk/ipaddresses.cache

  • FETCHING DATA
    Source: SourceInfo(hostname=‘localhost’, ipaddress=‘127.0.0.1’, ident=‘piggyback’, fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)
    [cpu_tracking] Start [7f5306674c80]
    Read from cache: NoCache(path_template=/dev/null, max_age=MaxAge(checking=0.0, discovery=0.0, inventory=0.0), simulation=False, use_only_cache=False, file_cache_mode=1)
    0 piggyback files for ‘localhost’.
    0 piggyback files for ‘127.0.0.1’.
    Get piggybacked data
    [cpu_tracking] Stop [7f5306674c80 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.009999999776482582))]
    [cpu_tracking] Start [7f5306d5e240]
    0 piggyback files for ‘localhost’.
  • PARSE FETCHER RESULTS
    HostKey(hostname=‘localhost’, source_type=<SourceType.HOST: 1>) → Add sections:
    Received no piggyback data
    [cpu_tracking] Stop [7f5306d5e240 - Snapshot(process=posix.times_result(user=0.009999999999999787, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
    [piggyback] Success (but no data found for this host), execution time 0.0 sec | execution_time=0.010 user_time=0.010 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.010

Seems to be related to Report Schedule broken

ah sorry i haven’t seen this thread. I take a look there.