Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread Mahomed Hussein
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-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: 26 September 2015 12:12
To: XWiki Users <users@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, vinc...@massol.net <vinc...@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 (maho...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
> Sent: 25 September 2015 17:51
> To: XWiki Users <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.Docu

Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread vinc...@massol.net
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 (maho...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein  
Sent: 25 September 2015 17:51  
To: XWiki Users <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.j

Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread Mahomed Hussein
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:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users@xwiki.org>
Cc: Mahomed Hussein <maho...@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 
(maho...@custodiandc.com<mailto:maho...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users@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.pa

Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread Thomas Mortagne
Would be great if you could create an issue on htp://jira.xwiki.org.

On Sat, Sep 26, 2015 at 10:22 AM, vinc...@massol.net <vinc...@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 (maho...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
> Sent: 25 September 2015 17:51
> To: XWiki Users <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(Uberspec

Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread Mahomed Hussein
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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 12:57
To: vinc...@massol.net; XWiki Users <users@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:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users@xwiki.org>
Cc: Mahomed Hussein <maho...@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 
(maho...@custodiandc.com<mailto:maho...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users@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.

Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread Mahomed Hussein
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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 13:44
To: XWiki Users <users@xwiki.org>; vinc...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 12:57
To: vinc...@massol.net; XWiki Users <users@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:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users@xwiki.org>
Cc: Mahomed Hussein <maho...@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 
(maho...@custodiandc.com<mailto:maho...@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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users@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

Re: [xwiki-users] Search failing after upgrade to 7.2

2015-09-26 Thread Mahomed Hussein
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-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <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.j

[xwiki-users] Search failing after upgrade to 7.2

2015-09-25 Thread Mahomed Hussein
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