Campbell, Timothy D wrote:
Hi,
Has anyone experienced this problem or does anyone know what could
be wrong when creating classes? I need to create 2 classes 1 for a
virtual instance and 1 for a second blog in my xwiki. I'm getting this
error which I am posting at the bottom.
Thank you in advance,
Tim
Error number 4001 in 4: Error while parsing velocity page XWiki.BlogArticle
Wrapped Exception: Invocation of method 'substring' in class
java.lang.String threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
@ XWiki.BlogArticle4,26?
<https://wmail.wssu.edu/exchweb/bin/redir.asp?URL=https://wmail.wssu.edu/xwiki/bin/edit/XWiki/4%252C26?parent=XWiki.BlogArticle%26editor=wysiwyg>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page XWiki.BlogArticle
Wrapped Exception: Invocation of method 'substring' in class
java.lang.String threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
@ XWiki.BlogArticle4,26?
<https://wmail.wssu.edu/exchweb/bin/redir.asp?URL=https://wmail.wssu.edu/xwiki/bin/edit/XWiki/4%252C26?parent=XWiki.BlogArticle%26editor=wysiwyg>
Hi Tim,
can you tell us what you exactly did and when did you get the error? (I
mean, this error comes up when you create the class or when you were
using the class?)
--
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