since 24th of April I get following errors in HABMIN, when I select a thing in the configuration screen to show its data:
2018-04-26 19:08:40.412 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$EmptySet, genericType=class java.util.Collections$EmptySet.
2018-04-26 19:08:58.580 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$EmptySet, genericType=class java.util.Collections$EmptySet.
2018-04-26 19:09:05.528 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$UnmodifiableCollection, genericType=class java.util.Collections$UnmodifiableCollection.
2018-04-26 19:09:23.976 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$EmptySet, genericType=class java.util.Collections$EmptySet.
Has anybody an idea what the root cause is? Maybe this error causes something not working … so I would like to get it disappearing.
I can’t remember exactly which snapshot of OH 2.2 I used at that day, but today I updated to the last snapshot and the messages still appear.
Thanks for any help, Siggi
Interesting, I’m seeing this too since a while but did not realize the relationship to HABmin.
But your are right, just tested it and as soon as i open HABmin showing a thing I get the same error message.
Although everything seems to work fine we should ping @chris to have him take a look at it …
I used log:set OFF org.glassfish.jersey to hide them, but forgot to check to see if it had been resolved in another snapshot. I think this probably deserves an issue.
Hello @chris , I have today updated to OH stable release 2.3 and still get the error message about the MessageBodyWriter. Have you an idea what this means and how it can be avoided? Thanks!
Sorry - I missed this previously. I’ve just had a look on my system, and I can’t replicate the problem. Currently I’m running an older 2.3 snapshot from April on my production system, and an up to date in my dev, and it’s not showing anything so I’m at a bit of a loss to know what this could be at the moment.
The 404s are possibly caused by requesting configuration for channels that don’t have any configuration (although I can’ see the URI in your image so I’m not 100% sure).
Are you saying though that these are consistent with the error that is reported in this thread, or is it a separate observation? If it is causing the error, can you grab the URI so I can see what’s up?
I have this issue as well. I can only replicate this when navigating through Things within Habmin.
I´m running OpenHab 2.3 stable. When I ran 2.2 stable, I did not have this issue.
I think this was fixed in a later version of ESH, although I’m not 100% sure. Have you looked at the git issues to check the status? For sure it will still be an issue in 2.3 since the issue was only reported after 2.3 was released.
I’m not so sure - I suspect that it means some data is not returned via the REST interface, so you may find some things are not working - just keep this in mind if you have problems .