On 01/29/2014 04:51 PM, ccoreggioli wrote:
> Hi All,
> 
> i got an issue with users after an hard migration from XE 2.5 to XE 5.3 (tnx
> again Denis).
> 
> in the header section of the page, where usually there are menus, link to
> profile, logout and so on, the section itself is not showed while there's
> the following error stacktrace:
> 
> Error number 4001 in 4: Error while parsing velocity page
> /templates/menuview.vm
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
> velocity page /templates/menuview.vm
[....]
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
>       at java.lang.String.substring(String.java:1937)
>       at
> com.xpn.xwiki.plugin.watchlist.WatchListStore.unescapeList(WatchListStore.java:444)
>       at
> com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchedElements(WatchListStore.java:420)
>       at
> com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.isSpaceWatched(WatchListPluginApi.java:166)
>       at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source)
[...]

Looks like the users watchlist value has been damaged by something.
(Looking at the code I actually have no idea how this can happen).
Anyway, if you can e.g. use the Wiki Admin to navigate to the user profile page,
edit this with the object editor and clear the "Space list" in the 
XWiki.WatchListClass
object, this hopefully should fix the problem.

 If there are no privacy  issues with that value, I would be curious to know 
which value
for the "watched Spaces list" is able to break the main menu ...

Clemens

> 
> any idea where to act to solve this issue?
> 
> Thanks,
> claudio
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/xwiki-users-issue-after-XE-migration-tp7588844.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> 
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to