[xwiki-users] Creating Class Error

Campbell, Timothy D tcampbell106 at wssu.edu
Tue Nov 20 21:46:30 CET 2007


how would I correct that because every document I try to create whether it be Main.Whatever it still gives the same error?

________________________________

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
	


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5579 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/users/attachments/20071120/4177d1ac/attachment-0001.bin 


More information about the users mailing list