Failed velocity macro

Hello, I would like to ask your help with the following problem when i click on user profile i have massage:

Failed to execute the [velocity] macro. Cause: [com.xpn.xwiki.objects.LargeStringProperty cannot be cast to com.xpn.xwiki.objects.ListProperty].

ERROR LOG:

org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#set($discard = $xwiki.ssx.use(‘XWiki.XWikiUserSheet’))

#set ($inEditMode = $xcontext.action == ‘edit’ || $xcontext.action == ‘inline’)
#set ($xwikiUsersClassName = ‘XWiki.XWikiUsers’)
#set ($obj = $doc.getObject($xwikiUsersClassName))

#if (!$obj)
= $services.localization.render(‘xe.admin.users.sheet’) =

{{info}}$services.localization.render(‘xe.admin.users.applyonusers’){{/info}}

#else

Make sure we only care about properties of the user object and don’t get polluted by other objects that might be in the user’s profile page.

#set ($discard = $doc.use($obj))

#set ($sheetDocumentReference = $services.model.createDocumentReference($xcontext.database, ‘XWiki’, ‘AdminUserProfileSheet’))
#set ($sheetDocument = $xwiki.getDocument($sheetDocumentReference))
#set ($xwikiUsersClass = $xwiki.getClass($xwikiUsersClassName))

#set ($sectionsObjectClassName = ‘XWiki.UserProfileSectionsClass’)
#set ($sectionObjectClassName = ‘XWiki.UserProfileSectionClass’)

#if ($hasAdmin && $doc.getValue(‘disabled’) == 1)
{{warning}}
$services.localization.render(‘platform.core.profile.category.profile.disabled’)
{{/warning}}
#end

{{html clean=‘false’ wiki=‘true’}}
#if (!$inEditMode)

$xwiki.getUserName($doc.fullName, false) #end

#if ($hasAdmin && !$inEditMode && !$isMyProfile) #if ($doc.getValue(‘disabled’) == 1) #set ($queryParam = “classname=XWiki.XWikiUsers&XWiki.XWikiUsers_0_disabled=0&form_token=$!{services.csrf.getToken()}”) $services.icon.renderHTML(‘unlock’) $services.localization.render(‘platform.core.profile.category.profile.enableAccount’) #else #set ($queryParam = “classname=XWiki.XWikiUsers&XWiki.XWikiUsers_0_disabled=1&form_token=$!{services.csrf.getToken()}”) $services.icon.renderHTML(‘lock’) $services.localization.render(‘platform.core.profile.category.profile.disableAccount’) #end #end

#if($xcontext.action == ‘view’ && $hasEdit)

$services.localization.render(‘platform.core.profile.category.profile.edit’)

#end ## Please do not insert extra empty lines here (as it affects the validity of the rendered xhtml) #set ($sectionsObject = $sheetDocument.getObject($sectionsObjectClassName)) #set ($sectionsToDisplayString = $sectionsObject.getProperty(‘sections’).value) #set ($sectionsToDisplay = $sectionsToDisplayString.split(’\s+’)) #foreach ($sectionId in $sectionsToDisplay) #set ($sectionObject = $sheetDocument.getObject($sectionObjectClassName, ‘id’, $sectionId)) #set ($sectionName = “$!sectionObject.getProperty(‘name’).value”) ## The section name will be evaluated. The admin can specify a static string or a call to $msg(…) to provide internationalization support. #set ($sectionName = “#evaluate($!sectionName)”) ## If there is no section name specified, use the default translations prefix for the user profile, maybe we get lucky. #if ("$!sectionName" == ‘’) #set ($sectionName = $services.localization.render(“platform.core.profile.section.${sectionId}”)) #end ## If that does not work either, just display the sectionID. #if ("$!sectionName" == “platform.core.profile.section.${sectionId}”) #set ($sectionName = $sectionId) #end #set ($sectionPropertiesString = $sectionObject.getProperty(‘properties’).value) #set ($sectionProperties = $sectionPropertiesString.split(’\s+’)) #if ($sectionProperties && $sectionProperties.size() > 0)

$sectionName

#foreach ($sectionProperty in $sectionProperties) #set ($vCardData = $sectionProperty.split(’:’)) #set ($vCardProperty = ‘’) #if ($vCardData.size() == 2) #set ($vCardProperty = $vCardData[0]) #set ($sectionProperty = $vCardData[1]) #end #if ("$!sectionProperty" != ‘’ && $xwikiUsersClass.get($sectionProperty))

$doc.displayPrettyName("${sectionProperty}")

$doc.display($sectionProperty)

#end #end

#end #end

#if (!$inEditMode)

#set ($isMessageStreamActive = $services.messageStream.isActive()) #if ($isMessageStreamActive && !$isGuest)

$services.localization.render(‘platform.core.profile.section.sendMessage’)

      {{messageSender /}}

  </div>
  #end
  <div class='userRecentChanges'>
  #if ($xcontext.user == $doc.fullName)
    <h1>$services.localization.render('platform.core.profile.section.activity')</h1>
  #else
    <h1>$services.localization.render('platform.core.profile.section.activityof', [$xwiki.getUserName($doc.fullName, false)])</h1>
    #if ($hasWatch)
    $xwiki.ssx.use('XWiki.XWikiUserProfileSheet')##
    <div class='activity-follow'>
      #set ($xredirect = $doc.getURL($xcontext.action, $request.queryString))
      #if ($services.watchlist.isWatched(${doc.prefixedFullName}, "USER"))
      <span class='following'>$services.localization.render('xe.activity.messages.following')</span>
      <a class='action unfollow' href="$doc.getURL('view', "xpage=watch&amp;do=removeuser&amp;xredirect=${escapetool.url($xredirect)}")">$services.localization.render('xe.activity.messages.unfollow')</a>
      #else
      <a class='action follow' href="$doc.getURL('view', "xpage=watch&amp;do=adduser&amp;xredirect=${escapetool.url($xredirect)}")">$services.localization.render('xe.activity.messages.follow')</a>
      #end
    </div>
    #end
    <div class="activity-follow">
    #if("$!services.notification.watch" != '' && $services.notification.watch.isEnabled() && !$isGuest && !$isSuperAdmin)
      ## TODO: replace it, somehow, by a UIX or a custom user sheet
      #set ($discard = $xwiki.ssx.use('XWiki.XWikiUserProfileSheet'))
      #set ($discard = $xwiki.jsx.use('XWiki.XWikiUserProfileSheet'))
      <div class="notificationWatchUser">
        <p>$services.icon.renderHTML('bell') $escapetool.xml($services.localization.render('user.profile.notifications'))</p>
        #set ($userId = $services.model.serialize($doc.documentReference, 'default'))
        #set ($isUserWatched = $services.notification.watch.isUserWatched($userId))
        <div class="notificationWatchUserFollowing #if(!$isUserWatched)hidden#end">
          <button type="button" class="btn btn-success dropdown-toggle btn-xs" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            $services.icon.renderHTML('check') $escapetool.xml($services.localization.render('user.profile.network.following')) <span class="caret"></span>
          </button>
          <ul class="dropdown-menu">
            <li><a href="#" class="notificationWatchUserRemove">$services.icon.renderHTML('cross') $escapetool.xml($services.localization.render('user.profile.network.unfollow'))</a></li>
          </ul>
        </div>
        <div class="notificationWatchUserNotFollowing  #if($isUserWatched)hidden#end">
          <button type="button" class="btn btn-danger dropdown-toggle btn-xs" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            $escapetool.xml($services.localization.render('user.profile.network.notfollowing')) <span class="caret"></span>
          </button>
          <ul class="dropdown-menu">
            <li><a href="#" class="notificationWatchUserAdd">$services.icon.renderHTML('eye') $escapetool.xml($services.localization.render('user.profile.network.follow'))</a></li>
          </ul>
        </div>
      </div>
    #end
    </div>
  #end

{{/html}}

{{notifications useUserPreferences=“false” displayOwnEvents=“true” users="${doc.prefixedFullName}" displayRSSLink=“false” /}}

{{html clean=‘false’}}

#end #if(!$inEditMode) ## Close the vcard

#end {{/html}}## #end] at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:139) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:52) at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:297) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:101) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:245) at org.xwiki.sheet.internal.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:225) at org.xwiki.sheet.internal.SheetDocumentDisplayer.maybeDisplayWithSheet(SheetDocumentDisplayer.java:180) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42) at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1208) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1349) at com.xpn.xwiki.doc.XWikiDocument.displayDocument(XWikiDocument.java:1298) at com.xpn.xwiki.doc.XWikiDocument.displayDocument(XWikiDocument.java:1265) at com.xpn.xwiki.api.Document.displayDocument(Document.java:774) at sun.reflect.GeneratedMethodAccessor632.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:87) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:358) at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:884) at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:755) at com.xpn.xwiki.internal.template.InternalTemplateManager.lambda$renderFromSkin$0(InternalTemplateManager.java:730) at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98) at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:729) at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:708) at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:694) at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2479) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:2457) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:992) at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:358) at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:884) at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:755) at com.xpn.xwiki.internal.template.InternalTemplateManager.lambda$renderFromSkin$0(InternalTemplateManager.java:730) at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98) at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:729) at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:708) at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:694) at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2479) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:2457) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:992) at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:358) at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:884) at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:755) at com.xpn.xwiki.internal.template.InternalTemplateManager.lambda$renderFromSkin$0(InternalTemplateManager.java:730) at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98) at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:729) at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:708) at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:694) at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2479) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:179) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:513) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:109) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:152) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:505) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:311) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132) at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:170) at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:125) at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:348) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804) at java.lang.Thread.run(Thread.java:748) Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:XWiki.XWikiUserSheet] at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:227) at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:358) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131) … 176 more Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method ‘isUserWatched’ in class org.xwiki.notifications.filters.watch.script.NotificationWatchScriptService threw exception java.lang.ClassCastException: com.xpn.xwiki.objects.LargeStringProperty cannot be cast to com.xpn.xwiki.objects.ListProperty at 75:xwiki:XWiki.XWikiUserSheet[line 125, column 53] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) … 178 more Caused by: java.lang.ClassCastException: com.xpn.xwiki.objects.LargeStringProperty cannot be cast to com.xpn.xwiki.objects.ListProperty at com.xpn.xwiki.objects.BaseCollection.getListValue(BaseCollection.java:488) at org.xwiki.notifications.filters.watchlistbridge.internal.WatchlistBridgeProvider.getValues(WatchlistBridgeProvider.java:128) at org.xwiki.notifications.filters.watchlistbridge.internal.WatchlistBridgeProvider.getFilterPreferences(WatchlistBridgeProvider.java:114) at org.xwiki.notifications.filters.internal.DefaultNotificationFilterPreferenceManager.getFilterPreferences(DefaultNotificationFilterPreferenceManager.java:75) at org.xwiki.notifications.filters.watch.WatchedUserReference.isWatched(WatchedUserReference.java:69) at org.xwiki.notifications.filters.watch.script.NotificationWatchScriptService.isUserWatched(NotificationWatchScriptService.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) … 195 more

normal admin view

image

Superadmin view

SUPERADMIN_view

Seems related to the Notification application. It fails when reading the notification filter preferences.