OH3 Problem with writing the data, class org.openhab.core.io.rest.sitemap.internal.PageDTO

I have same problem as @kstuken
Everything worked perfectly in 3.1 but this “error spam” appeared after updgrade to 3.2.

2022-01-04 16:22:22.954 [WARN ] [ache.cxf.phase.PhaseInterceptorChain] - Interceptor for {http://internal.id.core.openhab.org/}UUIDResource has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:67) ~[bundleFile:3.4.5]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[bundleFile:3.4.5]
	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:90) ~[bundleFile:3.4.5]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265) ~[bundleFile:3.4.5]

I use iOs application on iPhone. I discovered this exception is thrown every time I open the page with my cameras. In my case the relevant part of sitemap looks like that:

 ... 
    Group icon="camera" label="Камеры" item=GroupEmpty {
        Group icon="camera" label="Внутри" item=GroupEmpty {
            Image label="Коридор" icon="camera" url="http://192.168.1.16:81/image/Corr/" refresh=1100
            Image label="Гостиная" icon="camera" url="http://192.168.1.16:81/image/Living/" refresh=1100 
            Image label="Верхний этаж" icon="camera" url="http://192.168.1.16:81/image/CamHdUpstairs/" refresh=1100 
            Image label="Кухня" icon="camera" url="http://192.168.1.16:81/image/CamHdKitchen/" refresh=1100 
        }
        Group icon="camera" label="Снаружи" item=GroupEmpty {
            Image label="Входная дверь" icon="camera" url="http://192.168.1.16:81/image/VS_Door/" refresh=1100
            Image label="Парковка машины" icon="camera" url="http://192.168.1.16:81/image/RL_Car/" refresh=1100
            Image label="Дверь в прачечную" icon="camera" url="http://192.168.1.16:81/image/VS_BackDoor/" refresh=1100
        }
	}
...

By the way the cameras work fine, it is only the exceptions that are very annoying and continuesly spamming the openhab.log :flushed:

Hi,
Same problem here. Running OpenHabian ( OH 3.2.0 ) on an Rpi 4B. I’m using the Android app and I think (but am not 100% sure) the problems started when I started using RegEx in some transformationPatterns:

transformationPattern="REGEX:(.*Dimmer.*)∩JSONPATH:$.Dimmer"

for example.
Somebody knows how to solve this? I don’t like warning messages, although the system seems to be working fine.
Have a great day!

Just quick update: In my case it looks like a completely de-installing and then re-installing the app on iOS has now fixed the issue for me.

Re-installing the iOS app didn’t fix it for me

Same here - if I leave the iOS app in the background w/o closing, my whole OH is crashing. I have the problem with two iPhones but not with the Android phone nor with the sitemap on a Win10 computer. I never had any serious issues with OH in three years until the update to 3.2 - but now it looks to me really fragile. I already purged the whole system and restored it . After the purge, I did not manage the Grafana renderer to work anymore, but this is a separate topic.

OH 3.2 - InfluxDB + Grafana, RPI 4, SSD, Deconz Stick on the same RPI.

Yes, I also have exactly the same problem with IOS app and OH 3.3M1

I placed a request to the German OH-Facebook group where another user recommended to start with an OOTB installation and a backup w/o --full. I did so, placed a new image on my SSD with balana etcher, installed Grafana, Deconz, InfluxDB, MQTT Broker… and gave it a try. Unfortunately w/o success. Just today when I wanted to view my logs I realized that ZRAM was still running (using an SSD - so no need). I uninstalled it, restarted and now my OH on the iphone works. Not sure if it also does tomorrow - but it is a first step. And maybe helps you, @Sankisan or other users as well as developers?

EDIT: Two hours later the same error came up again :frowning:

is there a ticket open on GitHub for this?

same issue here (3.3.0 #2690)

I didn’t find any.

I had to edit my answer - it appears again.

can you please open it? just to be sure this issue will be tracked properly.

Here we go: https://github.com/openhab/openhab-addons/issues/12387

The ticket has been marked as closed. Solution: Update to recent milestone 3.3, I did it, result: OH still throws “Interceptor” warnings when using the IOS app - but the system does not crash completely anymore.

I am on 3.3.0 (# 2766) and the issue is still there

Hello,
since yesterday I have the same problem with iOS openhab app. My sitemap on windows desktop is working fine. Same sitemap on iOS is empty and shows not a single item.

Hope this issue is fixed soon!

Hi, I think this is a different issue @Mario084 . In the app of @ariela and me, the whole OH crashed once we start(ed) the ios app. Did you select the correct sitemap in ios?

Hi Christoph,

thanks for your reply! Alright…
Yes I defined the correct sitemap in the iOS app…

As I already mentioned the sitemap is still working fine on any browser…
Need to check some more logs to identify the issue if it´s not an general issue with the app.

On my Android tab the openhab app with the sitemap is working correctly. So I guess it is an iOS app issue…

I’d like to add myself to those experiencing the same problem.

So, just to be clear, we cannot resolve this issue without upgrading to an unstable version?

Hardly seems like a solution to me.

@psych You don’t even resolve the bug if you switch to the latest Milestone. The system does not crash anymore when you open the iphone app - but the “Interceptor” still throws errors…

Without the switch to the latest milestone I am not aware of any potential solution. I also don’t understand the bug…

Issue 12387 is closed code is merged but on 3.3.0.M5 - Milestone Build this issue is still present (at least for me). How it looks for others?

1 Like

Still the same - was just checking for updates - but maybe it might be solved with 3.4? Anybody any news?