Hello all,
I get that error frequently while trying to login. Any idea whats the cause of that error?. Thanks in advance
Cheers,
Hosam
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'parseContent' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ [23,12]
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'isWatchedDocument' in class com.xpn.xwiki.plugin.watchlist.WatchListPluginApi threw exception java.lang.NullPointerException @ [117,44]
A problem occured while trying to service your request. Please contact the support if this happens again.
Detailed information:
Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -1
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -1
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at java.lang.String.substring(Unknown Source)
at com.xpn.xwiki.XWiki.getDocumentNameFromPath(XWiki.java:1118)
at com.xpn.xwiki.XWiki.getDocumentName(XWiki.java:4005)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4035)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.NullPointerException @ [12,13]
Jan,
Sounds fantastic! I look forward to using it and trying it out with our
marketing department so they can store and search their emails on XWiki.
Best Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Jan Kodera
Sent: 02 May 2008 14:43
To: XWiki Users
Subject: Re: [xwiki-users] Multiple file attaching
Hi,
i made a plugin which is capable to get email from pop3 and loaded to xwiki
as a page. It works with attachments too. So you can easy forward your mails
to xwiki from outlook.
It is not ready for publish, because it is not document well. But in a
couple of weeks I will publish it on xwiki.org
Jan
On Fri, May 2, 2008 at 12:54 PM, goldring, richard <
richard.goldring(a)uk.thalesgroup.com> wrote:
> Hi,
>
> Does anyone know how to select files from a directory and have XWiki
> attach
> all those files in that directory to a wiki page? I'm thinking I could
> have
> a directory with a load of outlook emails copied there that would be
> useful
> to attach and index in a wiki page so the emails can be searched within
> XWiki - except Lucene doesn't seem to be able to search attached Outlook
> email files as I've just discovered.
>
> What I want is to be able to get emails into XWiki so say a marketing
> department could search on them - is there another way?
>
> Regards,
>
> Richard
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
> Of Benjamin K Leung
> Sent: 01 May 2008 14:33
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Import/Export
>
>
> Hi,
>
> I think the export failed due to insufficient memory. Increasing the
> memory
> pool available the container would solve this.
>
> I agree the export code should definitely generate an error message
> appropriately.
>
> BL
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of
> goldring, richard
> Sent: Thursday, May 01, 2008 3:54 AM
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Import/Export
>
> Vincent,
>
> I had this exception while (having first attached the file) importing
> (clicking on the file) (even when I exported from 1.3.2 and then tried to
> import again)
>
> er 11015 in 11: Exception while importing
> Wrapped Exception: Error number 2002 in 2: Error parsing xml
> Wrapped Exception: Error on line -1 of document : Premature end of file.
> Nested
> exception: Premature end of file.
> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
> importin
> g
> Wrapped Exception: Error number 2002 in 2: Error parsing xml
> Wrapped Exception: Error on line -1 of document : Premature end of file.
> Nested
> exception: Premature end of file.
> at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
> tProcessor.java:431)
>
> ...and then a message saying there was no documents in the file!
>
> I eventually traced it down to an empty "WebHome" file in the archive - I
> deleted this from the archive and the import worked. Why the export
> produced
> an empty WebHome file - I don't know!? But I hope this information helps
> other users with similar difficulties.
>
> Maybe the export code needs refactoring so it can't produce empty files,
> and
> maybe the import code needs to be more robust so it doesn't produce an
> exception if it fails to read anyone file, but produces an message to flag
> up the problem but continues processing the other files so the import
> doesn't fail completely because of one file. I wish I had some to time to
> help fix this at this time ... maybe these issues can be addressed later
> in
> the year.
>
> Best Regards,
>
> Richard
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
> Of Vincent Massol
> Sent: 29 April 2008 07:31
> To: XWiki Users
> Subject: Re: [xwiki-users] Import/Export
>
>
>
> On Apr 29, 2008, at 8:25 AM, goldring, richard wrote:
>
> > Hi all,
> >
> > I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried
> > to
> > import into xwiki enterprise hsqldb 1.3.2 by attaching the exported
> > file,
> > but when I click on the attached file it doesn't list the exported
> > files
> > within so I can import them.
>
> That should work fine. So you need to tell us what error you get in
> the xwiki logs.
> Also make sure you click only once and you wait enough. If your XAR is
> large it'll take time to display the items.
>
> BTW what's the size of your XAR?
>
> > Anyone know how to get my pages from 1.2 to 1.3.2?
>
> See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
>
> Thanks
> -Vincent
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> 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
> _______________________________________________
> 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
>
> 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
> _______________________________________________
> 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
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 everyone,
Just to let you know that XWiki has a booth at JavaOne (actually
sharing the OW2 booth). Booth #212.
There are 3 XWiki committers present: Ludovic Dubost, Jean-Vincent
Drean and Vincent Massol.
If you're at JavaOne come and say hello!
See you there,
-Vincent
I need to install XKiki on an internet hosting account on Linux. I don't
know anything of Java...
I installed xwiki-enterprise-hsqldb-1.3.2.zip and it worked just fine.
As far as I undesrtand, this runs with the database in memory. Can I
just change that instalation so that I have the database in the disk? I
do not expect to have a big database, but I need to make online backups :)
Is there a reason why I should not try that?
I have no Java experience and it can be a lot to learn just to make the
install...
Thanks,
Alain
On the same note, I also have the following questions: The answers will help
implement whichever option we choose:
1) Is there a limit on the number of members that can belong to a group?
2) How can I create a "global" hashmap (xwiki.getHashMap()) that can be
referenced anywhere (any page/space) to retrieve values based on keys?
3) Can I use the $context to add some more values(needed for our project) to
the hashtable?
4) I came across the following code snippet int he Wiki editor of the
PanelWizard:
#set($categoryMap = $xwiki.getHashMap())
#foreach($category in $categoryList)
$!categoryMap.put($category, $xwiki.getArrayList())
#end
I do not understand the use of "!" in the put() method. what do we achieve
with this!
Thanks for all help!
On 5/5/08, Kamna Jain <kammy.scorpi(a)gmail.com> wrote:
>
> Hi All,
>
> This question "might" be related to the thread that has been active in the
> past couple of days about the data model.
> We have a similar situation with the only difference being that we want
> to create lists or collections (like Groups) of certain pre- created
> Objects.
> The Object as a whole may/will belong to more than one such collection -
> which means that if we were to use a Document to link a Collection and its
> contents, then every document will have a COPY of the same object and this
> is definitely not desirable for good performance - Right?
>
> So, in that case, we have 2 alternatives:
> 1) Use the techiniques used in XWiki to create Groups: each group has
> objects of class XWikiGroup with just one field that refers to the Member
> name. OR
> 2) Use XWiki.getHashmap() and add the Collection and its members to the
> hashmap (as the Key and Value resp.)
>
> The XWiki API indicates that the option #2 must be used in xwiki when
> Objects can not be created.
> My Question is:
> -> Even though I could use option #1 and create objects and add them to
> the document that would represent the Collection, can I still use option #2
> because I think that it will provide better performance. Am I right in my
> assumption? What should I do?
>
> Thanks a lot for all help!
>
>
>
Hi All,
This question "might" be related to the thread that has been active in the
past couple of days about the data model.
We have a similar situation with the only difference being that we want to
create lists or collections (like Groups) of certain pre- created Objects.
The Object as a whole may/will belong to more than one such collection -
which means that if we were to use a Document to link a Collection and its
contents, then every document will have a COPY of the same object and this
is definitely not desirable for good performance - Right?
So, in that case, we have 2 alternatives:
1) Use the techiniques used in XWiki to create Groups: each group has
objects of class XWikiGroup with just one field that refers to the Member
name. OR
2) Use XWiki.getHashmap() and add the Collection and its members to the
hashmap (as the Key and Value resp.)
The XWiki API indicates that the option #2 must be used in xwiki when
Objects can not be created.
My Question is:
-> Even though I could use option #1 and create objects and add them to the
document that would represent the Collection, can I still use option #2
because I think that it will provide better performance. Am I right in my
assumption? What should I do?
Thanks a lot for all help!
Hi ,
I am working on Blogs,
I want to add some more links when all the comments for an article is
getting displayed.
That is the page from where one can add more comments and can view all the
previous comments.
When I am putting the cursor on comments then it redirects me to some
xpage=comments.
can anyone help me to know from where the above mentioned page is coming
and where I can get the code for it.
thanks in advance.
Shruti Modi
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hello
When set up the SMTP server and administrator E-Mail address at the xwiki1.3 version, receive the e-mail of all Chinese to show "???" ?
Any suggestion?
Thanks a lot!
sunjin