[Building Sakai] VelocityServlet Error in Site Info v 2.7.0

Zhen Qian zqian at umich.edu
Wed Aug 25 08:42:17 PDT 2010



FYI, I did repeat the problem with your original text on 2.7.x trunk code
and qa3 server. The problem is solved after merging SAK-18878 into 2.7.x 

Thanks, 

- Zhen 

On Wed, 25 Aug 2010 11:06:16 -0400, "Doreen Minich"  wrote:  Yes, that was
the original and what you said led me to believe that something in the site
description was the cause so I changed it and now site info loads properly.
  Dorie

>>> Zhen Qian 8/25/2010 11:04 AM >>> 

I must have missed one of your email. But was the origional text as
follows? 

Want to change the the Site Info Display? Edit:

C-A-D Site/WebPages/HelpForFaculty.html 

- Zhen 

On Wed, 25 Aug 2010 11:00:29 -0400, "Doreen Minich" wrote:  I changed it to
  HELP FOR FACULTY/STAFF

>>> Zhen Qian 8/25/2010 10:56 AM >>> 

So what have you changed in the description? We want to trace down the
error... 

Thanks, 

- Zhen 

On Wed, 25 Aug 2010 10:40:01 -0400, "Doreen Minich" wrote:  I think I'm
following you on this. I just changed the site description
and all is back
to normal.   Dorie

>>> Zhen Qian 8/25/2010 10:35 AM >>> 

Can you click on the "Edit Site Information" link above, and copy the
description text from there? 

Thanks, 

- Zhen 

On Wed, 25 Aug 2010 10:30:07 -0400, "Doreen Minich" wrote:  That does not
display, that is where the error displays. Please see screen shot below.   

>>> Zhen Qian 8/25/2010 10:26 AM >>> 

Hi, Dorie: 

What is the description string for that site? 

There is a recent fix for SiteTextEditUtil, SAK-18878, which refers to a
different problem though. 

Thanks, 

- Zhen 

On Wed, 25 Aug 2010 10:15:05 -0400, "Doreen Minich" wrote:  Good Morning,  
We see the following error under Site Info for one of our courses. Any
Suggestions?    

VELOCITYSERVLET : ERROR PROCESSING THE TEMPLATE

org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'doPlainTextAndLimit' in class
org.sakaiproject.site.util.SiteTextEditUtil threw exception class
java.lang.StringIndexOutOfBoundsException :
String index out of range: 107
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'doPlainTextAndLimit' in class
org.sakaiproject.site.util.SiteTextEditUtil threw exception class
java.lang.StringIndexOutOfBoundsException : String index out of range: 107
 at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
 at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
 at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlockjava:94)...

Full error message attached
    Dorie Minich Messiah College    

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100825/40391632/attachment.html 


More information about the sakai-dev mailing list