Rule Registry Warning on openHAB start up

runtimeInfo:
  version: 3.4.4
  buildString: Release Build
locale: en-US
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 11.0.13
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu11.52+13-CA
  osName: Linux
  osVersion: 5.10.103-v7l+
  osArchitecture: arm
  availableProcessors: 4
  freeMemory: 38207464
  totalMemory: 259522560
  startLevel: 100
bindings:
  - amazonechocontrol
  - androidtv
  - astro
  - denonmarantz
  - exec
  - gpstracker
  - icalendar
  - icloud
  - ipcamera
  - irobot
  - logreader
  - mail
  - mqtt
  - myq
  - network
  - networkupstools
  - ntp
  - openweathermap
  - remoteopenhab
  - ring
  - roku
  - tplinksmarthome
  - tuya
  - zwave
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1.5
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 8
    language: en-US
    languages:
      - en-US
      - en
    onLine: true
    platform: Win32
  screen:
    width: 1707
    height: 1067
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/113.0.0.0 Safari/537.36
timestamp: 2023-06-03T19:03:18.922Z

I get the following warning every time openHAB starts. It comes after the textual Things files are processed and before the textual rules files. It kind looks like some Blockly code is corrupted and confusing openHAB, but I can’t tell which rule it might be.

2023-06-01 14:13:53.177 [WARN ] [automation.internal.RuleRegistryImpl] - Cannot find reference for {{/"><field name="TEXT">Location</field></block></value></block></value></block></value><value name="itemName"><shadow type="oh_item"><field name="itemName">MyItem</field></shadow><block type="text_join" id="%:;%r7X(cfP;Kb]jtRRC"><mutation items="6"></mutation><value name="ADD0"><block type="text" id="._FUwqKv!T}8zrX)5==?"><field name="TEXT">Most_Recent_</field></block></value><value name="ADD1"><block type="variables_get" id="h%+ZByhUsiK6@eG~!nIU"><field name="VAR" id="F({(daE=ewY(haO~0Hqc">DeviceUser</field></block></value><value name="ADD2"><block type="text" id="75tVI?f:BFYD`G6q7Ao!"><field name="TEXT">_</field></block></value><value name="ADD3"><block type="variables_get" id="A9tDPDA?st|d|{f/rG_D"><field name="VAR" id="3JN4?wAdv?s^^]]jRsj~">DeviceType</field></block></value><value name="ADD4"><block type="text" id="]O^vElg03QLG:0A[PB]."><field name="TEXT">_</field></block></value><value name="ADD5"><block type="text" id="EoS!XU%yy`as`[@BBSLq"><field name="TEXT">Location</field></block></value></block></value><next><block type="oh_event" id="by)d/{YTDHeXVG!1zd*h"><field name="eventType">postUpdate</field><value name="value"><shadow type="text" id="?eCF?Yib8AH0%tkA7w9K"><field name="TEXT">Midway</field></shadow></value><value name="itemName"><shadow type="oh_item"><field name="itemName">MyItem</field></shadow><block type="text_join" id="YsZv(aE;U1h`?KvqxAn="><mutation items="6"></mutation><value name="ADD0"><block type="text" id="jM1j(8`HP:B!,]h/ml-D"><field name="TEXT">Most_Recent_</field></block></value><value name="ADD1"><block type="variables_get" id="@~Iezs[HN|83+8JN)8i$"><field name="VAR" id="F({(daE=ewY(haO~0Hqc">DeviceUser</field></block></value><value name="ADD2"><block type="text" id="WCw%!.o!C$.p]6Dh_)#?"><field name="TEXT">_</field></block></value><value name="ADD3"><block type="variables_get" id="E:iy?DF4h5P-jVdqiVsO"><field name="VAR" id="3JN4?wAdv?s^^]]jRsj~">DeviceType</field></block></value><value name="ADD4"><block type="text" id="mf7I`%l[|+ad3HcDpE)-"><field name="TEXT">_</field></block></value><value name="ADD5"><block type="text" id="RI@a-BjJng`x~d38Gc~D"><field name="TEXT">Source</field></block></value></block></value></block></next></block></statement><statement name="ELSE"><block type="controls_if" id=".oc}IKCuAc-=$%H=Gmle"><mutation else="1"></mutation><value name="IF0"><block type="oh_zdt_compare" id="{#XAy^5CzF:6D2.NyPfh"><field name="operation">afterEqual</field><field name="dateComparison">dateandtime</field><field name="precision">years</field><value name="zdtOne"><shadow type="oh_zdt" id="jf7u:{,~Yar`i6DRzERN"><field name="day">2023-05-16</field></shadow><block type="oh_zdt_fromText" id="{m`|s~VyJ@p/Tjc%2F?n"><value name="day"><shadow type="text" id="eebnc}9|s^w%yQ*$vmJ)"><field name="TEXT">2023-05-16</field></shadow><block type="oh_getitem_state" id="L_GJa8bIf!hDgAmmihTR"><value name="itemName"><shadow type="oh_item"><field name="itemName">MyItem</field></shadow><block type="text_join" id="(,[2j]NKS_cwJXFvzY%D"><mutation items="7"></mutation><value name="ADD0"><block type="text" id="#0(YyTv/4W`qBLx)X)gV"><field name="TEXT">Spring</field></block></value><value name="ADD1"><block type="text" id="h#8]$[VFlc?.RAesol}4"><field name="TEXT">_</field></block></value><value name="ADD2"><block type="variables_get" id="HBuFo|!iLdTwib/ZSv8j"><field name="VAR" id="F({(daE=ewY(haO~0Hqc">DeviceUser</field></block></value><value name="ADD3"><block type="text" id="n0e~M(dNO$)3gNvcR9V?"><field name="TEXT">_</field></block></value><value name="ADD4"><block type="variables_get" id="6qML|@_VYz?jEv+,BK8O"><field name="VAR" id="3JN4?wAdv?s^^]]jRsj~">DeviceType</field></block></value><value name="ADD5"><block type="text" id="Al;Ha%nf_7}.H)itoNJM"><field name="TEXT">_</field></block></value><value name="ADD6"><block type="text" id="sxv7$8~lW?35ONA}Fds$"><field name="TEXT">Last_Location_Update</field></block></value></block></value></block></value></block></value><value name="zdtTwo"><shadow type="oh_zdt" id="?Wr!ms=ngebiW,E%mM+k"><field name="day">2023-05-16</field></shadow><block type="oh_zdt_fromText" id="~h,J?#qi7SYD_)v{2gk}"><value name="day"><shadow type="text"><field name="TEXT">2023-05-16</field></shadow><block type="oh_getitem_state" id="7x%w}4[y1+U{+(%=[hj7"><value name="itemName"><shadow type="oh_item"><field name="itemName">MyItem</field></shadow><block type="text_join" id="ClIP6p?!rKLHBN}[:vsh"><mutation items="7"></mutation><value name="ADD0"><block type="text" id="Pn`fqPy+/h$d2Wr~/#k)"><field name="TEXT">Midway</field></block></value><value name="ADD1"><block type="text" id="s(#fefk$Mb6C#1j/C1g:"><field name="TEXT">_</field></block></value><value name="ADD2"><block type="variables_get" id="mLuxz[vh5E/v/PP+ZdKq"><field name="VAR" id="F({(daE=ewY(haO~0Hqc">DeviceUser</field></block></value><value name="ADD3"><block type="text" id="v.C``[_~:RCdz-ci-T.8"><field name="TEXT">_</field></block></value><value name="ADD4"><block type="variables_get" id="TSyJ|:[jYg.ClQCO)Hm$"><field name="VAR" id="3JN4?wAdv?s^^]]jRsj~">DeviceType</field></block></value><value name="ADD5"><block type="text" id="zd1CUO;2Xr/qPz4XRmZU"><field name="TEXT">_</field></block></value><value name="ADD6"><block type="text" id="a4;@]h84Gh]`q19]=/,V"><field name="TEXT">Last_Location_Update</field></block></value></block></value></block></value></block></value></block></value><statement name="DO0"><block type="oh_event" id="HguUZFiL8pJMJC04|oP+"><field name="eventType">postUpdate</field><value name="value"><shadow type="text"><field name="TEXT">UNDEF</field></shadow><block type="oh_getitem_state" id="MVf}} , it will remain the same.
2023-06-01 14:13:55.969 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007

Any suggestions? Thanks.

You will probably have to open the rules JSONDB file and search for parts of this string to find the rule. Indeed it looks like the XML for the blocks is truncated. I suspect that if you try to open the rule it will throw an error or something so you might be able to just open every Script Action for all your rules until you find the one the errors out or shows up blank.