Recently I included the tagcloud snippet in one of my panels. In some pages it works fine, but in other pages I get this error message in stead of the cloud:
Error number 4001 in 4: Error while parsing velocity page Main.Tags Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
Error number 4001 in 4: Error while parsing velocity page Main.Tags
Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.Tags
Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at java.util.Collections.sort(Collections.java:116)
at com.xpn.xwiki.api.XWiki.sort(XWiki.java:1687)
at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Sorry for the long text.
When I want to view All Tags from my menu, I get no tags, and the source of the page shows a similar error message.
Any help is welcome.
Inge
De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:
http://www.denhaag.nl/disclaimer
Hi,
First: I am rather new to XWiki.
I am checking XWiki's scripting capabilities. The possibility of using
Groovy and Velocity directly within pages is a nice feature. But I was
wondering if there was an easier way to integrate dynamic contents into wiki
pages. Groovy is easier than Java but you still need advanced programming
skills to use it. In my opinion staying at the Groovy level is not
user-friendly when you think that wikis are aimed for a broad audience. Most
advanced wikis (TWiki or Deki Wiki for example) give simple scripting
syntaxes thought for users with no programming skills.
Is there anything like that foreseen for XWiki?
The same applies to the form ant template system. It seems impossible for a
normal user to use them. I was surprised to find the how-tos for these
features in the developer guide, not the user guide.
Thanks,
William
Vincent,
The XAR was exported from the same xwiki-enterprise-1.1-milestone-3 version
of our xwik, so it should be ok, but is unreadable.
It's great having the Import/Export facility in XWiki but a separate
Backup/Restore facility based on the code behind the Import/Export facility
would be good ... something like
http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administrat
orsGuide-dataandBackups
<http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administra
torsGuide-dataandBackups> (daily backups, etc) rather than having to backup
via a database backup utility, and if you didn't have to attach an XAR file
to import it as a backup you wouldn't have the constraints of attaching a
file and importing/restoring would be more efficient.
Being able to backup and restore data easily is very important to my
organisation ... most organisations.
Thanks,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of
Vincent Massol
Sent: 21 November 2007 16:14
To: XWiki Users
Subject: Re: [xwiki-users] Export/Import/Backups
Hi Richard,
On Nov 21, 2007, at 4:56 PM, goldring, richard wrote:
Hi,
I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3 and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem?
You say you have a XAR that you cannot import in XE 1.1.M3. So the question
is: where did you get this XAR from?
Has it been fixed in the latest releases? Is there anyway to recover the
data in this 'corrupted' XAR?
Let's first understand your problem.
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?
Could you describe a bit more what you call a "poper backup". I haven't used
confluence for a while and I don't recall how it does it (I thought it was
generating a zip containing XML files much like what xwiki does).
BTW for large databases we don't recommend using XARs (they should be
reserved for applications import/exports I think) since attaching tens of MB
isn't a good solution. For large DBs we recommend backuping the DB using the
standard DB backup tools.
If you have some ideas for improving backups please let us know. That'd be
cool.
Thanks
-Vincent
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello,
i've gotten my xwiki install running on Websphere 6.1 & SQLserver & just wanted to thank the gentleman that helpfully added his sql server configuration instructions to the site. Seems like the biggest change was converting VARCHAR columns> 8000 characters to TEXT columns, if i recall correctly.
i still get two exceptions on startup, but they don't prevent using the wiki:
a. Websphere still complains that it can't find EnumerateTei class file in the struts jar. (It legitimately doesn't appear to be there.)
b. Websphere complains about a url mapping clash for three url mappings in web.xml.
xwiki is quite nice. i particularly like the Eclipse integration feature. Thanks for getting my boss off my back!
Regards,
david bessire
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC…
Hi,
I had my xwiki linux pc crash on me during a powercut and the HSQLDB
database seemed to revert to content that was on the xwiki several weeks
ago.
What's happened? Does hsqldb store data in memory and that is why the data
has got lost when the power went? I thought it stored the data in
xwiki_db.script? Anyone?
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3 and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem? Has it
been fixed in the latest releases? Is there anyway to recover the data in
this 'corrupted' XAR?
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi fellow XWikiers,
a quick e-mail to tell you that 3 XWiki team members will be at Javapolis (
http://www.javapolis.com/ ) in Antwerp, Belgium, from the 12/12 to the 14/12
2007. Javapolis is the biggest yearly Java event in Europe.
Vincent Massol, Jean-Vincent Drean and me will be there to answer every
question you may have about XWiki. You'll have the opportunity to meet
people from other OW2 projects such as eXo too.
Please let us know whether you'd be interested to attend the conference on
the dedicated XWiki Facebook Event page at
http://www.facebook.com/event.php?eid=14478490493
.
You can check out XWiki's booth location on the floor plan (available on
XWiki.org at http://www.xwiki.org/xwiki/bin/view/Blog/XWikiAtJavapolis2007
)
Looking forward to seeing you there,
The XWiki team
Hi all,
We've recently had a request for notifications on our hosted wiki; from
the API documentation this should work (no errors are returned either
when I call $xwiki.sendMessage).
Problem is, I suspect either the message sending needs a specific
configuration or sending is otherwise blocked (we use javamail on our
own internal wiki, this is not possible it seems on hosted solution).
How should this be configured for the hosted wiki farm?
Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: esbachb(a)tycoelectronics.com
Hello,
For the past week and a half I have encountered the same error when I needed to create a class. (below) I only received this error this year because of my summer research assignment required this feature and it worked. I have tried two different versions of Apache Tomcat, reformatted my computer, used the most recent stable version and the previous version of XWiki. I even installed it on my computer at work and it still does the exact same error. What could the problem be? I followed each step carefully each time and checked the documentation for any help but no success. What could be the problem because this is holding back the progress of my research development?
Thanks for your time,
Tim Campbell
Error number 4001 in 4: Error while parsing velocity page XWiki.Server Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.Server4,26? <http://localhost/xwiki/bin/edit/XWiki/4%2C26?parent=XWiki.Server&editor=wys…>
Error number 4001 in 4: Error while parsing velocity page XWiki.Server
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.Server4,26? <http://localhost/xwiki/bin/edit/XWiki/4%2C26?parent=XWiki.Server&editor=wys…>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page XWiki.Server
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.Server4,26? <http://localhost/xwiki/bin/edit/XWiki/4%2C26?parent=XWiki.Server&editor=wys…>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:366)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
(I cut this short)
What bit of code is inserting spaces into my CamelCase links by default?
Is there any easy way to deactivate this?
Thanks,
Paul D. Grodt
TECORE Wireless Systems
> Hi all,
>
> We've recently had a request for notifications on our hosted wiki; from
> the API documentation this should work (no errors are returned either
> when I call $xwiki.sendMessage).
> Problem is, I suspect either the message sending needs a specific
> configuration or sending is otherwise blocked (we use javamail on our
> own internal wiki, this is not possible it seems on hosted solution).
>
> How should this be configured for the hosted wiki farm?
Hello Brandon,
About the configuration i'm afraid I can't help much ; but I want to let
you know we've recently introduced the mailsender as a platform plugin,
which has much more capacities than xwiki.sendMessage (a really nice
feature is to send mails against a template object in a regular XWiki
document, which mailbody or subject fields can contains velocity that will
be parsed on sending).
Jérome.
> Brandon Esbach
> Software Engineer
> Wireless Systems Segment
> Tyco Electronics
> 4 Eastgate Road
> Eastgate
> Little Island
> Co. Cork
> Ireland
> Tel: +353-21-4808305
> Email: esbachb(a)tycoelectronics.com
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> Hi Raffaello,
>
> It's "tycoelectronics.xwiki.com"
Oh, did not get it was on XWiki farm. Sorry about that.
Jérôme.
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Raffaello Pelagalli
> Sent: 20 November 2007 15:34
> To: XWiki Users
> Subject: Re: [xwiki-users] Hosted wiki - sending email
>
> "Esbach, Brandon" <Esbachb(a)tycoelectronics.com> writes:
>
>> Hi all,
>>
>> We've recently had a request for notifications on our hosted wiki;
>> from the API documentation this should work (no errors are returned
>> either when I call $xwiki.sendMessage).
>>
>> Problem is, I suspect either the message sending needs a specific
>> configuration or sending is otherwise blocked (we use javamail on our
>> own internal wiki, this is not possible it seems on hosted solution).
>>
>> How should this be configured for the hosted wiki farm?
>
> Hi Brandon,
>
> What is the name of your wiki on the farm ?
>
> Best regards,
> --
> Raffaello Pelagalli
> XPertNet - XWiki.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
>
Hi,
I am currently trying to install XWiki on a linux machine (i486, ubuntu
7.10, java 6, mysql 5, tomcat 5.5, firefox) but I am faced to an error
at the first run (see exception trace below).
I have checked that the database is indeed running, that the
login/password are accepted when logging manually, that the mysql java
connector library is there (it wasn't there first, but I put it at the
right place in /usr/share/tomcat5.5/webapps/xwiki/WEB-INF/lib and the
problem remains), that the configuration file says 127.0.0.1 instead of
localhost in the connection.url field (as suggested in a previous
similar problem found in the archives of this list)...
I feel like I have exhausted all the solutions I could find online or
figure out by myself today. So if any of you has an idea about what is
wrong and where... your help will be very welcome :-)
Thanks.
Karim-Pierre Maalej.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
cause mère
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:247)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.2 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the last milestone release for the 1.2 version. It's packed
with new features and improvements. The next version will be 1.2 RC 1
and will focus on improving the stability. The roadmap is to release
1.2 final for beginning of December 2007.
Main changes from 1.2M1:
* Completely redesigned the UI for managing permissions and groups/
users. It's now a nice Ajax interface which scales to any number of
users.
* A new Mail Sender plugin has been added. It's a generic plugin that
you can use from Velocity/Groovy pages and that is also used by the
Watchlist feature below to send notification emails.
* New Watchlist feature which allows watching pages and spaces and
receive email notifications when they are modified.
* The Scheduler Plugin and the Scheduler Application have been
released in version 1.1 and are bundled with XWiki Enterprise 1.2
milestone 2. They allow you to create jobs (Groovy scripts) to be
executed in the future. They are used for example in the Watchlist
plugin to send email notifications for pages or spaces you are
monitoring.
* New displayPanelLayout Macro to display Panels in page.
* New JODA Time plugin to allow using JODA time from Velocity/Groovy
pages.
* The top level edit menu has been reorganized. Separators have been
added, the Rename and Delete actions have been moved in an Action menu
and a new Watch menu has been added.
* Entering URLs such as http://myserver/xwiki goes to the Main.WebHome
page by default (it used to display some installation instruction page).
* Panels from other virtual wikis can be used now.
* Lucene Search UI and stability has been improved.
* Removed the Presentation application from the default wiki (since it
was not maintained and was buggy).
+ bug fixes and other improvements
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12M2
Thanks
-The XWiki dev team
hi,
i have a really strange problem with the automatic numbering
of xwiki headings. i have two user: the admin user and a personal
one for editing. when i save the page below i see that the headings
have a numbering. when i view the page with my second user i see
the numbering as well.
but when i edit and save this page with my second user - without
changing anything - the numbering disappears.
is the numbering of heading somehow related to user rights?
using xwiki-1.1.1.5166
g,
kirs
page:
1 Brainstorming
#toc("" "" "true")
1.1 User Interface
1.1.1 User Interface Concept
1. item 1
1. item 2
1. item 3
1.1.1.1 Menue
text
1.1.1.1 Context
....
The XWiki development team is pleased to announce the release of
Application Manager 1.0M2, Wiki Manager 1.0M2 and XWiki Enterprise
Manager 1.0M2.
Theses releases contains lots of bugfix and improvements.
Main new features:
- introduce new XWiki Platform 1.1.2 rights management interface.
- general improvement of Application Manager, Wiki Manager and XEM
interfaces and errors reporting.
- applications translations pages are now dynamically registered
(xar imported containing applications descriptors, translation page
added to an application descriptor, etc.)
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM10M2
Thanks
-The XWiki dev team
Is there a way to get the back-links for properties of a custom class instances?
The current backlinks infrastructure seems to work only over links of
ordinary Documents.
In particular, on line 1507 of com.xpn.xwiki.storeXWikiHibernateStore,
in the saveLinks function of a recent SVN checkout it says:
XWikiRenderer renderer =
renderContext.getWiki().getRenderingEngine().getRenderer("wiki");
renderer.render(doc.getContent(), doc, doc, renderContext);
links = (List) renderContext.get("links");
How can this be parameterized, so that links contained in property
values of custom Class Instances are being included into the links
variable?
Example:
Class Car:
Instance Space1.car1
Property "carsThatAreFaster": values: "Space1.car2"
where Space1.car2 is a link to another Car instance. The above
saveLinks function does not update the BackLinks table with the
Space1.car2 link.
Any ideas are appreciated.
Thanks,
Andreas
With the exception of backslashing individual characters, is there any
way I could prevent wiki syntax rendering, and Groovy/Velocity
rendering? To put it another way, is there any way I can prevent
rendering of everything BUT HTML?
As a musing, (speaking with essentially no Groovy/Velocity experience,)
it would be nice to see a macro that selectively escapes each of the
rendering methods. For example:
{dontrender[:wiki][:html][:groovy][:velocity]}
markup
{/dontrender}
Thanks,
Paul D. Grodt
TECORE Wireless Systems
> What is wrong? Does the user need to have an account on the system
> before LDAP will work? How do I get it to not add the user to the
> XWikiAllGroup three times on each login?
This is weird. I have the same setup and my config looks similar. Users
get created and added to XWikiAllGroup automatically.
The following things come to mind:
- Make really sure the user doesn't exist already, e.g. from previous
login attempt, or from forgotten cookies
- What format do your sAMAccountNAmes have? I heard that names with dots
or @ signs can cause problems.
- Are there any users at all created, maybe with the wrong username?
Thanks,
Tobias
I'm considering replicating XWiki across multiple Tomcat instances, and load
balancing them with Apache. Has anyone ever attempted this? I found
assorted messages on this forum from ~2005 indicating that XWiki wasn't
"clusterable", because there were some caches that needed synchronizing,
etc. Is this still the case?
Thanks
Ben
Hi all,
If I wrote this in a wiki page:
{code}code1{code}
some text
{code}code2{code}
When the page is displayed, there aren't two code section, but only one,
and the "some text" is included in the code section.
I'm using it in the wrong way?
Thanks,
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
> Hi,
>
> To generate attachment link you can use :
>
> {attach:settings.xml}
>
> 2007/11/16, pentaho(a)fsck.ch <pentaho(a)fsck.ch>:
>> Hi
>>
>> I have attached a file named settings.xml and I now want to link to it.
>> How do I do that?
>>
>> [settings.xml] doesn't work, neither does [settings\.xml]
Cool, then the wysiwyg editor needs to be fixed, as [settings.xml] is what
it generated when I used it to create a link to an attached file.
> Cool, then the wysiwyg editor needs to be fixed, as [settings.xml] is what
> it generated when I used it to create a link to an attached file.
To be precise, I clicked on the little chain icon and used the link dialog
to upload the attachment. For half of my attachments, this didn't work.
Either the attachment wasn't uploaded, or the created link didn't work.
Hi
I have attached a file named settings.xml and I now want to link to it.
How do I do that?
[settings.xml] doesn't work, neither does [settings\.xml]
Thanks,
Tobias