Janne,
could you make a minor fix to the SessionsPlugin, (line 66), it does not
check for a zero length StringBuffer resulting in a
StringIndexOutOfBoundsException during initialization of the wiki :
// remove the last comma and blank if present :
if (s.length() > 2)
{
return s.substring(0, s.length() - 2);
}
thanks in advance,
2007-04-03 08:53:57,203 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager
- Plugin failed while executing:
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.StringBuffer.substring(StringBuffer.java(Compiled
Code))
at com.ecyrd.jspwiki.plugin.SessionsPlugin.execute(
SessionsPlugin.java:66)
at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java
:380)
at com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java
:141)
.................
Harry
--
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081
_______________________________________________
Jspwiki-users mailing list
[email protected]
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users