Hi Tim It happens that a collection was not opened, reviewing the items I found that I had a file on that item that was corrupt, delete the file and the collection was already displayed. Then I have two questions:
1.- How can I detect corrupt files in other items? 2.- I have configured in my local.cfg file like this: assetstore.dir = ${dspace.dir}/assetstore assetstore.dir.1 = ${dspace.dir}/assetstore2 What change should I make in the file: DSPACE/config/spring/api/bitstore.xml <bean name="localStore" class="org.dspace.storage.bitstore.DSBitStoreService" scope="singleton"> <property name="baseDir" value="${assetstore.dir}"/> </bean> Please help Freddy El lunes, 24 de septiembre de 2018, 10:52:17 (UTC-5), Tim Donohue escribió: > > Hi Freddy, > > According to the line numbers in that error message, DSpace cannot seem to > find your "collection-home.jsp". Here's the line where the error seems to > be occurring: > > https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/HandleServlet.java#L773 > > If you have renamed or moved this JSP, that could be the cause. > Otherwise, you might want to look at whether there's something else you may > have changed in DSpace that could be causing this error to occur. > > I'm not entirely sure why this error would be happening, as that JSP is > provided by DSpace (and is required). Unfortunately, I'm not as well > versed in the JSPUI these days (as I know the XMLUI a bit better). But, > I'm hoping maybe this will give you a clue as to what the cause could be -- > or maybe someone else on this list will have seen this problem before. > > Another thing you might want to look around for is any other errors that > appear in the logs (if any). It's possible something else in your JSPUI is > not working properly and it ends up causing this odd error. > > - Tim > > On Mon, Sep 24, 2018 at 10:33 AM Freddy Guerrero <fredd...@gmail.com > <javascript:>> wrote: > >> Thanks Tim for answering my email, copy the lines of my LOG file this is >> what I get: >> >> 2018-09-24 10:24:04,287 WARN org.dspace.app.webui.servlet.DSpaceServlet >> @ >> anonymous:session_id=53741F36891CF45C93CC7CCB64877589:ip_addr=54.38.255.116:general_jspui_error:javax.servlet.ServletException\colon; >> >> org.apache.jasper.JasperException\colon; java.lang.NullPointerException >> javax.servlet.ServletException: org.apache.jasper.JasperException: >> java.lang.NullPointerException >> at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:71) >> at >> org.dspace.app.webui.servlet.HandleServlet.collectionHome(HandleServlet.java:773) >> at >> org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:305) >> at >> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:126) >> at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:73) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at >> org.dspace.rdf.negotiation.NegotiationFilter.doFilter(NegotiationFilter.java:52) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at >> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) >> at >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) >> at >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136) >> at >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) >> at >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >> at >> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >> at java.lang.Thread.run(Thread.java:748) >> Caused by: org.apache.jasper.JasperException: >> java.lang.NullPointerException >> at >> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:561) >> at >> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477) >> at >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) >> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at >> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743) >> at >> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) >> at >> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410) >> at >> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) >> at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:64) >> ... 32 more >> Caused by: java.lang.NullPointerException >> 2018-09-24 10:24:08,634 INFO org.dspace.app.webui.servlet.HandleServlet >> @ >> anonymous:session_id=44BB79B9681EEC83C2BBA17ED03596B1:ip_addr=54.38.255.116:view_item:handle=10469/13954 >> 2018-09-24 10:24:08,650 INFO org.dspace.usage.LoggerUsageEventListener @ >> anonymous:session_id=44BB79B9681EEC83C2BBA17ED03596B1:ip_addr=54.38.255.116:view_item:handle=10469/13954 >> >> >> >> El lun., 24 sept. 2018 a las 10:26, Tim Donohue (<tdon...@duraspace.org >> <javascript:>>) escribió: >> >>> Hi Freddy, >>> >>> Your error stack trace in your previous email looks to be cut off. The >>> most important part of the stack trace would likely be the section >>> immediately *after* "Caused by: java.lang.NullPointerException", but that >>> line is the last line of your email. >>> >>> Please send along the second part of your stack trace to this mailing >>> list, and hopefully someone here will recognize the error and be able to >>> help you. >>> >>> Tim >>> >>> >>> On Mon, Sep 24, 2018 at 12:09 AM Freddy Guerrero <fredd...@gmail.com >>> <javascript:>> wrote: >>> >>>> Please can you help me with this query, I use dspace version 6.3 >>>> (JSPUI), this error occurs when I search for example the word >>>> "Inteligencia", in xmlui it works well. >>>> >>>> >>>> 2018-09-24 00:00:04,194 INFO >>>> org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor @ >>>> anonymous:session_id=FB3898400884E853E071EB0B361094E4:ip_addr=190.131.162.9:search:scope=null,query="Inteligencia >>>> >>>> ",results=(0,0,10) >>>> 2018-09-24 00:00:04,226 WARN >>>> org.dspace.app.webui.servlet.DSpaceServlet @ >>>> anonymous:session_id=FB3898400884E853E071EB0B361094E4:ip_addr=190.131.162.9:general_jspui_error:javax.servlet.ServletException\colon; >>>> >>>> org.apache.jasper.JasperException\colon; java.lang.NullPointerException >>>> javax.servlet.ServletException: org.apache.jasper.JasperException: >>>> java.lang.NullPointerException >>>> at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:71) >>>> at >>>> org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:458) >>>> at >>>> org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:63) >>>> at >>>> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:126) >>>> at >>>> org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:73) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>> at >>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>> at >>>> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>> at >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) >>>> at >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) >>>> at >>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) >>>> at >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) >>>> at >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) >>>> at >>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025) >>>> at >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) >>>> at >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) >>>> at >>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136) >>>> at >>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) >>>> at >>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >>>> at >>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>> at java.lang.Thread.run(Thread.java:748) >>>> Caused by: org.apache.jasper.JasperException: >>>> java.lang.NullPointerException >>>> at >>>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:561) >>>> at >>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477) >>>> at >>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) >>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>> at >>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>> at >>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743) >>>> at >>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) >>>> at >>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410) >>>> at >>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) >>>> at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:64) >>>> ... 29 more >>>> Caused by: java.lang.NullPointerException >>>> >>>> -- >>>> All messages to this mailing list should adhere to the DuraSpace Code >>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/ >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "DSpace Technical Support" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to dspace-tech...@googlegroups.com <javascript:>. >>>> To post to this group, send email to dspac...@googlegroups.com >>>> <javascript:>. >>>> Visit this group at https://groups.google.com/group/dspace-tech. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> Tim Donohue >>> Technical Lead for DSpace & DSpaceDirect >>> DuraSpace.org | DSpace.org | DSpaceDirect.org >>> >> -- > Tim Donohue > Technical Lead for DSpace & DSpaceDirect > DuraSpace.org | DSpace.org | DSpaceDirect.org > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.