[xwiki-users] Creating Class Error
Campbell, Timothy D
tcampbell106 at wssu.edu
Tue Nov 20 22:19:10 CET 2007
Mr. Massol,
I don't know what the 4%26 page is, it just comes along with the error. And I just installed it step by step on a computer which had never had xwiki on it/nor any other program. I imported the xar file and I typed in "class" in the search bar and go to class sheet. Then I clicked and it allows me to create a document. When I type the name of the document I get the error. It does this with the fresh installation. I am using version 1.2 the stable version
Other notes: I'm using mysql, apache tomcat 5.5/and i also tried 6, and i imported the jar file (mysql connector). I uncommented the hibernate file
Thanks you for your help,
Tim
________________________________
From: users-bounces at xwiki.org on behalf of Vincent Massol
Sent: Tue 11/20/2007 4:00 PM
To: XWiki Users
Subject: Re: [xwiki-users] Creating Class Error
On Nov 20, 2007, at 9:46 PM, Campbell, Timothy D wrote:
> how would I correct that because every document I try to create
> whether it be Main.Whatever it still gives the same error?
What's this 4%2C26 page? Is that how you named the class you want to
create?
The easiest would be to start with a fresh xwiki install with no
changes brought to it and let us know how to reproduce your error.
Also what version of xwiki are you using?
Thanks
-Vincent
> ________________________________
>
> From: users-bounces at xwiki.org on behalf of Vincent Massol
> Sent: Tue 11/20/2007 3:43 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Creating Class Error
>
>
> Looks like there's a bug in your XWiki.Server document.
>
> -Vincent
>
> On Nov 20, 2007, at 8:39 PM, Campbell, Timothy D wrote:
>
>
> 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=wysiwyg
> >
>
>
>
> 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=wysiwyg
> >
> 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=wysiwyg
> >
> 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)
> _______________________________________________
> users mailing list
> users at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> <winmail.dat>_______________________________________________
> users mailing list
> users at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users at xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 8579 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/users/attachments/20071120/5e31a705/attachment-0001.bin
More information about the users
mailing list