>
> Sorry, I
> cannot accept that, I’m a Castle Clash player :)
Lol
I wonder the difference between these game? date creation? or time spending probably? a nightmare!
>
> Just kidding of course, I’ve
> created your wiki here:
> http://coc.myxwiki.org/xwiki/bin/view/Main/
>
> Remember that it obeys the
> rules defined at http://myxwiki.org/xwiki/bin/view/Main/WebHome
>
Ok
Thxs
Pascal B.
Hi,
Could you provide this nice wiki?
description: web site to share some presentation, news and strategies about our clan: "Valhalla" on game: "Clash of clans"
owner name: thorgal aegirsson
wiki name: coc.myxwiki.org
Thxs
Thorgal
Hi all,
I'm new with xwiki and need help before I go crazy here. I just tried to
install the 'proper' .war installation after a being happy with the xwiki
standalone installation. The main reason to switch is not performance (it'll
be a small wiki), but the fact that I can't seem to run it as a service and
it stopped running after not being logged on for a couple of days. Back to
topic...
I chose what seemed like the easiest path to me from the manual install
documentation:
Jetty (9.3.3) + HSQLDB (2.3.3) + xwiki (7.2) on Windows server 2008 R2
(don't have a choice of using something else there)
I think my problem is an utter lack of knowledge of how to configure
jetty+hsqldb.
The good news is that I get to the xwiki initialization screen when I access
hostname:8080/xwiki/
Bad news is that it throws a http 500 error once it's done initializing, see
the log below.
Here is what I did: I literally wet by the documentation and I suspect that
I'm missing the part where I define the hsqldb setup (db location and
connection):
- extracted jetty in a folder
- extracted the xwiki 7.2 .war file into the webapps subfolder in jetty
- copied the hsqldb.jar file in the WEB-INF/lib subfolder in xwiki
- uncommented the HSQLDB part in the hibernate.cfg.xml
- set the directory to environment.permanentDirectory="E:/Data/Wiki/data/"
in xwiki.properties; I used unix-like path even though I'm on windows. Using
\ instead of / did not work either
I did not set up a database, user, etc for hsqldb, is that my problem? The
documentation made it sound like this is not necessary.
I would really appreciate any input because I started over again a few times
already and am lost.
Cheers
Sebastian
--
View this message in context: http://xwiki.475771.n2.nabble.com/HTTP-500-war-installation-with-Jetty-and-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I'm actually working to migrate our wiki from 6.4.5 to 7.2 as it
implement the feature we were looking for, since the begining of this year !
So as i did before i upgraded the .war manually,
I replaced all config files to match my needs,
i'm working on oracle 11g so my hibernate looks like :
<property
name="connection.url">jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=My_server)
(PORT=My_Port))(ADDRESS=(PROTOCOL=TCP)(HOST=My_server)
(PORT=My_Port))(CONNECT_DATA=(SERVICE_NAME=xwiki)(FAILOVER_MODE=(TYPE =
SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property
name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="connection.SetBigStringTryClob">true</property>
<property name="jdbc.batch_size">0</property>
<property name="jdbc.use_streams_for_binary">false</property>
<property name="dbcp.ps.maxActive">20</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.oracle.hbm.xml"/>
i also set the migration parameter in xwiki.cfg
xwiki.store.migration=1
But i can't get through it ... my logs looks like :
2015-09-29 13:28:01,157 [coreLoadExecutor-5-thread-1] WARN
o.a.s.r.ManagedResource - No stored data found for /rest/managed
2015-09-29 13:28:01,453 [main] INFO o.x.s.s.i.EmbeddedSolrInstance -
Started embedded Solr server.
2015-09-29 13:28:01,640 [main] INFO o.x.o.i.s.DefaultOfficeServer -
Open Office instance started.
2015-09-29 13:31:19,030 [XWiki initialization] INFO
.HibernateDataMigrationManager - Storage schema updates and data
migrations are enabled
2015-09-29 13:31:19,420 [XWiki initialization] INFO
.HibernateDataMigrationManager - The following data migration(s) will be
applied for wiki [xwiki] currently in version [72000]:
2015-09-29 13:31:19,435 [XWiki initialization] INFO
.HibernateDataMigrationManager - R72001XWIKI12228 - Make sure
xwikidocument and xwikispace tables are in sync
2015-09-29 13:31:19,435 [XWiki initialization] INFO
.HibernateDataMigrationManager - Checking Hibernate mapping and updating
schema if needed for wiki [xwiki]
2015-09-29 13:31:20,371 [XWiki initialization] INFO
.HibernateDataMigrationManager - Starting data migration
[R72001XWIKI12228] with version [72001] on database [xwiki]
2015-09-29 13:31:20,387 [XWiki initialization] WARN
o.h.u.JDBCExceptionReporter - SQL Error: 904, SQLState: 42000
2015-09-29 13:31:20,387 [XWiki initialization] ERROR
o.h.u.JDBCExceptionReporter - ORA-00904: "TRUE" : identificateur non
valide
2015-09-29 13:31:20,402 [XWiki initialization] ERROR
.HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration
R72001XWIKI12228 failed
[...]
Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "TRUE" :
identificateur non valide
[...]
2015-09-29 13:31:20,402 [XWiki initialization] ERROR
.HibernateDataMigrationManager - Main wiki database migration failed, it
is not safe to continue!
2015-09-29 13:31:20,402 [XWiki initialization] ERROR
c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document [xwiki:XWiki.WikiMacroParameterClass]
[...]
Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3:
Exception while switching to database xwiki
[...]
I'm so confused ... what did i do wrong ?!
Hope someone can help me to deal with it :)
Best regards,
JB
--
//j.burger(a)bfc.nc <mailto:assistance@bfc.nc>
recycle ///Sauvez la planète, n'imprimez que si c'est nécéssaire.///
/---------------------------------------------------------------------------------------------/
Hi, when migrating XWiki from version 7.1.1 to 7.2, I get the error bellow.
My XWiki runs on Oracle DB. It seems that there's error in using TRUE
literal in sql statements, which is not supported on Oracle. Could you
please fix this. I located the error in the following method
in R72001XWIKI12228DataMigration.java
private String createSpaceQuery(boolean hidden)
{
StringBuilder query = new StringBuilder("select DISTINCT XWD_WEB from
xwikidoc where");
if (hidden) {
query.append(" XWD_WEB not in (" + createSpaceQuery(false) + ")");
} else {
query.append(" XWD_HIDDEN <> *true *OR XWD_HIDDEN IS NULL");
}
return query.toString();
}
The raised error:
java.sql.SQLSyntaxErrorException: ORA-00904: "TRUE": invalid identifier
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:873)
at
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1167)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1289)
at
oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1491)
at
oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:406)
at
org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
at
org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
at
org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
at
com.xpn.xwiki.store.migration.hibernate.R72001XWIKI12228DataMigration$R72001Work.getVisibleSpaces(R72001XWIKI12228DataMigration.java:129)
at
com.xpn.xwiki.store.migration.hibernate.R72001XWIKI12228DataMigration$R72001Work.createVisibleSpaces(R72001XWIKI12228DataMigration.java:182)
at
com.xpn.xwiki.store.migration.hibernate.R72001XWIKI12228DataMigration$R72001Work.execute(R72001XWIKI12228DataMigration.java:106)
at org.hibernate.impl.SessionImpl.doWork(SessionImpl.java:1997)
... 28 more
Mirec
Hi All,
I want to develop website similar to http://www.artpal.com/ or any other
art website.
Basic requirements are :-
1)I can upload my painting images,
2)User can change the painting background if somebody want
3)Allow user to purchase painting using card payment like in any other
site,
4) categorize different type of painting.
Are there some readymade template available which i can use as base and
then quickly develop on that? Just for info I am a java resource having
around 10 years of exp.
Thanks and Regards
Mohit
Another update (sorry). Thomas has provided some useful information and after following his steps, the search is working again.
If anyone else has the same issue, please read http://jira.xwiki.org/browse/XWIKI-12619.
Thank you all again! I really appreciate the help.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 13:44
To: XWiki Users <users(a)xwiki.org>; vincent(a)massol.net
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
OK, rather than roll-back, I have changed to the "Database" search method which is working. I think the SOLR method is better/recommended/default (please correct me if I'm wrong), so it would be good to get that fixed. This should hopefully buy me some time with users until Marius (or anyone else) can have a look :)
I've posted some error output from catalina.out on the bug in Jira.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 12:57
To: vincent(a)massol.net; XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Vincent
Thanks. Could you confirm if a roll-back requires a restore from backup or if it can be done “safely” in the UI? Thanks again.
Kind regards,
Mahomed
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users(a)xwiki.org>
Cc: Mahomed Hussein <Mahomed(a)CustodianDC.com>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Mahomed,
I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
Right now I suggest you roll back to your previous version and wait for a fix.
Thanks
-Vincent
On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org<mailto:users@xwiki.org>>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
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:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
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:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:72)
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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
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.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.directive.Foreach.render(Foreach.java:420)
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.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.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.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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.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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com<mailto:Mahomed@CustodianDC.com>
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
OK, rather than roll-back, I have changed to the "Database" search method which is working. I think the SOLR method is better/recommended/default (please correct me if I'm wrong), so it would be good to get that fixed. This should hopefully buy me some time with users until Marius (or anyone else) can have a look :)
I've posted some error output from catalina.out on the bug in Jira.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 12:57
To: vincent(a)massol.net; XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Vincent
Thanks. Could you confirm if a roll-back requires a restore from backup or if it can be done “safely” in the UI? Thanks again.
Kind regards,
Mahomed
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users(a)xwiki.org>
Cc: Mahomed Hussein <Mahomed(a)CustodianDC.com>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Mahomed,
I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
Right now I suggest you roll back to your previous version and wait for a fix.
Thanks
-Vincent
On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org<mailto:users@xwiki.org>>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
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:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
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:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:72)
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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
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.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.directive.Foreach.render(Foreach.java:420)
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.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.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.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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.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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com<mailto:Mahomed@CustodianDC.com>
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi Vincent
Thanks. Could you confirm if a roll-back requires a restore from backup or if it can be done “safely” in the UI? Thanks again.
Kind regards,
Mahomed
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users(a)xwiki.org>
Cc: Mahomed Hussein <Mahomed(a)CustodianDC.com>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Mahomed,
I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
Right now I suggest you roll back to your previous version and wait for a fix.
Thanks
-Vincent
On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org<mailto:users@xwiki.org>>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
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:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
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:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:72)
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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
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.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.directive.Foreach.render(Foreach.java:420)
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.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.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.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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.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:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com<mailto:Mahomed@CustodianDC.com>
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
Thanks Thomas. I've logged http://jira.xwiki.org/browse/XWIKI-12619. Please let me know what other info you need.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
Sent: 26 September 2015 12:12
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Would be great if you could create an issue on htp://jira.xwiki.org.
On Sat, Sep 26, 2015 at 10:22 AM, vincent(a)massol.net <vincent(a)massol.net> wrote:
> Hi Mahomed,
>
> I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
>
> Right now I suggest you roll back to your previous version and wait for a fix.
>
> Thanks
> -Vincent
>
> On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com) wrote:
>
> Hi
>
> I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
>
> Ideally I need to have this fixed by Monday. Pretty please. Thanks.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
> Sent: 25 September 2015 17:51
> To: XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] Search failing after upgrade to 7.2
>
> Hi
>
> We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
>
>
> · We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
>
> o Link to the tutorial/documentation for creating a custom skin
>
> o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
>
> · More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
>
>
>
> org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
>
> at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
>
> at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
>
> 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:269)
>
> at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
>
> at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
>
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
>
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
>
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
>
> 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:113)
>
> at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
>
> at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
>
> at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
>
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
>
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
>
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
>
> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
>
> at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> 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:72)
>
> 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:256)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
>
> at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
>
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
>
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
>
> at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
>
> at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> 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:256)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
>
> at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
>
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
>
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>
> 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:620)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> at java.lang.Thread.run(Thread.java:745)
>
> Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
>
> at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
>
> ... 124 more
>
> Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
>
> 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.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.directive.Foreach.render(Foreach.java:420)
>
> 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.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.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.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
>
> 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.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:256)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
>
> ... 126 more
>
> Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
>
> at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
>
> at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
>
> at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
>
> at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
>
> at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
>
> at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> 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)
>
> ... 161 more
>
>
> Help please. Thanks ☺
>
>
> Kind regards,
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: Mahomed(a)CustodianDC.com
> http://www.CustodianDC.com
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users