There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-996524ad-a325-4eb8-b8a4-a7d6e1f3d7a8 XWIKI-22641 Open

Intermittent bad display of Like LiveData entries

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-f1dc573a-0067-4095-b7eb-8a247f1a4636 Vincent Massol on 07/Nov/24 15:52
 
Also got another stack trace once with a display showing 2 red live notifications errors:

{noformat}
Caused by:
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Failed': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')| at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 7]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2584)
at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2610)
at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2618)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:825)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:3017)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:2051)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:780)
at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4946)
at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3281)
at org.xwiki.livedata.internal.livetable.LiveTableLiveDataEntryStore.getLiveTableResultsJSON(LiveTableLiveDataEntryStore.java:142)
at org.xwiki.livedata.internal.livetable.LiveTableLiveDataEntryStore.get(LiveTableLiveDataEntryStore.java:106)
at org.xwiki.livedata.internal.rest.DefaultLiveDataEntriesResource.getEntries(DefaultLiveDataEntriesResource.java:200)
at org.xwiki.livedata.internal.rest.DefaultLiveDataEntriesResource.getEntries(DefaultLiveDataEntriesResource.java:79)
at jdk.internal.reflect.GeneratedMethodAccessor649.invoke(Unknown Source)
{noformat}

When this happens, there are 2 LD results URLs in error:

!thirderror.png|thumbnail!

* URL1: http://localhost:8080/xwiki/rest/liveData/sources/notificationSystemFilters/entries?timestamp=1730990903145&namespace=wiki%3Axwiki&sourceParams.user=xwiki%3AXWiki.Admin&sourceParams.target=user&properties=name&properties=filterDescription&properties=notificationFormats&properties=isEnabled&offset=0&limit=10
* URL2: http://localhost:8080/xwiki/rest/liveData/sources/notificationCustomFilters/entries?timestamp=1730990903148&namespace=wiki%3Axwiki&sourceParams.user=xwiki%3AXWiki.Admin&sourceParams.target=user&properties=filterPreferenceId&properties=display&properties=scope&properties=location&properties=filterType&properties=eventTypes&properties=notificationFormats&properties=isEnabled&properties=actions&offset=0&limit=10&sort=filterPreferenceId&descending=true

The 2nd URL is for the Notifications Filter Preferences LD which happens to be in error at the same time.