Hi Ribin,

It seems that the potential bug was revealed with a new item probably.

New version of JSPUI will include a new function to display
recent submissions in home page. Please try it if the problem will be
reproduced with the item.

Regards,
Keiji Suzuki


2013/10/31  <ribin.jo...@niist.res.in>:
> Hi,
>
> We had some five lines of code in home.jsp to display "Recent Submissions" in 
> dspace home page. When I removed that specific lines of code in home.jsp, the 
> original dspace home page appeared again. I am not sure what went wrong 
> suddenly, since we have been using this code for a long time and there was no 
> issues.
>
> Ribin Jones S.B
>
>
>
>
> ----- Original Message -----
> From: "SUZUKI Keiji" <z...@mbc.ocn.ne.jp>
> To: "ribin jones" <ribin.jo...@niist.res.in>
> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net>
> Sent: Thursday, 31 October, 2013 4:56:29 PM
> Subject: Re: [Dspace-tech] Dspace home page - Blank
>
> Hi Ribin,
>
> Something wrong happens in home.jsp code.
>
> If you installed Tomcat from Ubuntu package, check the line 254 of the
> following file,
>
> /var/lib/tomcat6/work/Catalina/localhost/jspui/org/apache/jsp/home_jsp.java
>
> If you installed the Tomcat yourself, check
> [tomcat-home]/work/Catalina/localhost/jspui/org/apache/jsp/home_jsp.java
>
>> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
>> range: -18
>>         at java.lang.String.substring(String.java:1949)
>>         at java.lang.String.substring(String.java:1916)
>>         at org.apache.jsp.home_jsp._jspService(home_jsp.java:254)   # <= 
>> THIS IS THE LINE
>
> If you can't fix the problem, attach this home_jsp.java and
> the original jsp file [dspace]/webapps/jspui/home.jsp, so that
> we will be able to some advise.
>
> Regards,
> Keiji Suzuki
>
>
>
> 2013/10/31  <ribin.jo...@niist.res.in>:
>> Hi,
>>
>> I get a blank home page when I access dspace. It was working well till now 
>> and this happened after adding an item into a collection - I dont think 
>> adding an item to a collection will cause this. We are using dspace 3.1 
>> jspui in ubuntu. Attaching screen shot of the dspace home page.
>>
>> See the below error logs:
>>
>> 2013-10-31 15:18:54,439 WARN  org.dspace.core.PluginManager @ No 
>> Configuration entry found for Sequence Plugin 
>> interface=org.dspace.plugin.SiteHomeProcessor
>> 2013-10-31 15:18:54,467 WARN  
>> org.dspace.app.webui.servlet.InternalErrorServlet @ 
>> :session_id=3F25540C2EEFCF9F47E5E39C4F76C128:internal_error:-- URL Was: 
>> http://ir.niist.res.in:8080/jspui/home.jsp
>> -- Method: GET
>> -- Parameters were:
>>
>> org.apache.jasper.JasperException: org.apache.jasper.JasperException: 
>> java.lang.StringIndexOutOfBoundsException: String index out of range: -18
>>         at 
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
>>         at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)
>>         at 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at 
>> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>         at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>         at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>         at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>         at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>         at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>>         at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>>         at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
>>         at 
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>         at java.lang.Thread.run(Thread.java:679)
>> Caused by: org.apache.jasper.JasperException: 
>> java.lang.StringIndexOutOfBoundsException: String index out of range: -18
>>         at 
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
>>         at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
>>         at 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>         at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at 
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>         at 
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>         at 
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>         at 
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>         at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
>>         at org.apache.jsp.index_jsp._jspService(index_jsp.java:126)
>>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>         at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>         ... 18 more
>> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
>> range: -18
>>         at java.lang.String.substring(String.java:1949)
>>         at java.lang.String.substring(String.java:1916)
>>         at org.apache.jsp.home_jsp._jspService(home_jsp.java:254)
>>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>         at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>         ... 32 more
>>
>>
>> Any idea what could be wrong?
>>
>> - Ribin
>>
>> ------------------------------------------------------------------------------
>> Android is increasing in popularity, but the open development platform that
>> developers love is also attractive to malware creators. Download this white
>> paper to learn more about secure code signing practices that can help keep
>> Android apps secure.
>> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette: 
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> --
> 鈴木敬二@江別市



-- 
鈴木敬二@江別市
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to