*Steps to reproduce* # Create an older instance of XWiki (e.g. 14.4.8) # Close the instance # Go to the newer instance (e.g. 15.10.5) and copy/cut the {code:java} [...]webapps\xwiki{code} folder and replace it (first delete the old one) in the same location on the older version (replace the WAR) # Start XWiki upgrade # Observe the logs in XWiki console
*Expected results*
There are no errors in console.
*Actual results*
The following stacktrace is displayed: {code:java} 2024-01-18 16:35:07,803 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.min.js?cache-version=1705481320000&h=1255116547] ERROR o.a.v.t.g.LogTool - Error when trying to evaluate XWiki.SearchSuggestSourceClass: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'evaluate' in class com.xpn.xwiki.api.Object threw exception org.xwiki.evaluation.ObjectEvaluatorException: Could not find an instance of 'ObjectEvaluator' for XObject of class 'XWiki.SearchSuggestSourceClass'. at /resources/uicomponents/search/searchSuggest.min.js[line 16, column 46] 2024-01-18 16:35:07,815 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.min.js?cache-version=1705481320000&h=1255116547] ERROR o.a.v.t.g.LogTool - Error when trying to evaluate XWiki.SearchSuggestSourceClass: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'evaluate' in class com.xpn.xwiki.api.Object threw exception org.xwiki.evaluation.ObjectEvaluatorException: Could not find an instance of 'ObjectEvaluator' for XObject of class 'XWiki.SearchSuggestSourceClass'. at /resources/uicomponents/search/searchSuggest.min.js[line 16, column 46] 2024-01-18 16:35:07,828 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.min.js?cache-version=1705481320000&h=1255116547] ERROR o.a.v.t.g.LogTool - Error when trying to evaluate XWiki.SearchSuggestSourceClass: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'evaluate' in class com.xpn.xwiki.api.Object threw exception org.xwiki.evaluation.ObjectEvaluatorException: Could not find an instance of 'ObjectEvaluator' for XObject of class 'XWiki.SearchSuggestSourceClass'. at /resources/uicomponents/search/searchSuggest.min.js[line 16, column 46] 2024-01-18 16:35:07,838 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.min.js?cache-version=1705481320000&h=1255116547] ERROR o.a.v.t.g.LogTool - Error when trying to evaluate XWiki.SearchSuggestSourceClass: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'evaluate' in class com.xpn.xwiki.api.Object threw exception org.xwiki.evaluation.ObjectEvaluatorException: Could not find an instance of 'ObjectEvaluator' for XObject of class 'XWiki.SearchSuggestSourceClass'. at /resources/uicomponents/search/searchSuggest.min.js[line 16, column 46] 2024-01-18 16:35:07,849 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.min.js?cache-version=1705481320000&h=1255116547] ERROR o.a.v.t.g.LogTool - Error when trying to evaluate XWiki.SearchSuggestSourceClass: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'evaluate' in class com.xpn.xwiki.api.Object threw exception org.xwiki.evaluation.ObjectEvaluatorException: Could not find an instance of 'ObjectEvaluator' for XObject of class 'XWiki.SearchSuggestSourceClass'. at /resources/uicomponents/search/searchSuggest.min.js[line 16, column 46] 2024-01-18 16:35:07,864 [http-nio-1115-exec-7 - http://localhost:1115/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.min.js?cache-version=1705481320000&h=1255116547] ERROR o.a.v.t.g.LogTool - Error when trying to evaluate XWiki.SearchSuggestSourceClass: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'evaluate' in class com.xpn.xwiki.api.Object threw exception org.xwiki.evaluation.ObjectEvaluatorException: Could not find an instance of 'ObjectEvaluator' for XObject of class 'XWiki.SearchSuggestSourceClass'. at /resources/uicomponents/search/searchSuggest.min.js[line 16, column 46]{code} The issue couldn't reproduce when upgrading to a version of XWiki pre 15.10.2. |
|