[xwiki-users] Lucene Search Problem

2009-11-06 Thread hel-o

Hi,

I just notized, that i get an error, when i open the Lucene Search Page. (XE
2.0.2)

Error number 4001 in 4: Error while parsing velocity page Main.LuceneSearch
Wrapped Exception: Failed to evaluate content with id Lucene Search

Error number 4001 in 4: Error while parsing velocity page Main.LuceneSearch
Wrapped Exception: Failed to evaluate content with id Lucene Search
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Main.LuceneSearch
Wrapped Exception: Failed to evaluate content with id Lucene Search
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:554)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:571)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
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:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1642)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
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:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at

Re: [xwiki-users] Lucene Search Problem

2009-11-06 Thread Marius Dumitru Florea
Hi,

hel-o wrote:
 Hi,
 
 I just notized, that i get an error, when i open the Lucene Search Page. (XE
 2.0.2)

I don't get it on a fresh XE 2.0.2.24645 jetty+hsqldb install.

[snip]

 at java.lang.Thread.run(Thread.java:636) Caused by:
 java.lang.NullPointerException at
 com.xpn.xwiki.plugin.lucene.LucenePlugin.getQueueSize(LucenePlugin.java:609)

That line is:

return indexUpdater.getQueueSize();

Maybe the lucene plugin hasn't been fully initialized, otherwise I don't 
see why indexUpdater would be null.

Hope this helps,
Marius
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Page Loading Optimization

2009-11-06 Thread Elena-Oana Tabaranu
Hi Thibaut,

Some useful Web Performance resources:
1) Steve Souders, /High Performance Web Sites: Essential Knowledge for 
Front-End Engineers/: 
http://www.amazon.com/High-Performance-Web-Sites-Essential/dp/0596529309/ref=pd_sim_b_1
Presentation of the 14 original rules upon which YSlow! was build on. 
Since then, a lot of new rules were added to YSlow! and Steve Souders 
moved from Yahoo! to Google and started working on Page Speed 
http://code.google.com/speed/page-speed/index.html
2) volume 2 /Even Faster Web Sites: Performance Best Practices for Web 
Developers/ by Steve Souders just came out: 
http://www.amazon.com/Even-Faster-Web-Sites-Performance/dp/0596522304/ref=sr_1_1?ie=UTF8s=booksqid=1257500156sr=8-1
Another 14 rules and tips  which focus a mainly on Javascript 
optimization techniques.
3) http://www.stevesouders.com/blog/

Oana

Thibaut Camberlin wrote:
 Hi all,

 Page Loading time is a very important criteria when developing a web site.
 According to a recent
 surveyhttp://www.webdesignerwall.com/general/users-place-more-weight-on-design/more
 than half people would drive away from a site with slow loading pages.

 There are several interesting issues that could be implemented to
 substantially improve page loading time in XWiki.

 Number one is aggreation of CSS and JS files in order to reduce HTTP
 requests. (For info, we have a total of 25 external CSS and JS files on a
 basic XWiki install when in the best world we would have just 2 - 1 CSS and
 1 JS)

 Someone interrested in working on this with me ?

   

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users