[xwiki-users] Creating Class Error
Vincent Massol
vincent at massol.net
Tue Nov 20 22:00:46 CET 2007
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
More information about the users
mailing list