[ 
https://jira.duraspace.org/browse/DS-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Dietz reassigned DS-502:
------------------------------

    Assignee:     (was: Peter Dietz)

> java.lang.NullPointerException on main page in xmlui without trailing slash
> ---------------------------------------------------------------------------
>
>                 Key: DS-502
>                 URL: https://jira.duraspace.org/browse/DS-502
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.5.2, 1.6.0
>         Environment: Resin 3.2.1
> Sun Java 1.6.0_17
> DSpace 1.5.2, or 1.6.0-rc2
> Gentoo Linux 10.0, Linux 2.6.30 i686
>            Reporter: Alexander Smith
>         Attachments: cocoon.log.2010-04-14, dspace.log.2010-04-14
>
>
> Right after an install of DSpace 1.5.2, accessing the main XMLUI at 
> "http://localhost:8080/xmlui"; returns the following error:
> java.lang.NullPointerException
>       at 
> org.apache.cocoon.servletservice.DynamicProxyRequestHandler.invoke(DynamicProxyRequestHandler.java:86)
>       at $Proxy20.getPathInfo(Unknown Source)
>       at 
> org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:262)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>       at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>       at $Proxy19.service(Unknown Source)
>       at 
> org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:106)
>       at javax.servlet.http.HttpServlet.service(Unknown Source)
>       at com.caucho.server.dispatch.ServletFilterChain.doFilter(Unknown 
> Source)
>       at 
> org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:142)
>       at com.caucho.server.dispatch.FilterFilterChain.doFilter(Unknown Source)
>       at 
> org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:244)
>       at com.caucho.server.dispatch.FilterFilterChain.doFilter(Unknown Source)
>       at 
> org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131)
>       at com.caucho.server.dispatch.FilterFilterChain.doFilter(Unknown Source)
>       at com.caucho.server.webapp.WebAppFilterChain.doFilter(Unknown Source)
>       at com.caucho.server.dispatch.ServletInvocation.service(Unknown Source)
>       at com.caucho.server.http.HttpRequest.handleRequest(Unknown Source)
>       at com.caucho.server.port.TcpConnection.handleRequests(Unknown Source)
>       at com.caucho.server.port.TcpConnection$AcceptTask.doAccept(Unknown 
> Source)
>       at com.caucho.server.port.TcpConnection$AcceptTask.run(Unknown Source)
>       at com.caucho.util.ThreadPool$Item.runTasks(Unknown Source)
>       at com.caucho.util.ThreadPool$Item.run(Unknown Source)
>       at java.lang.Thread.run(Thread.java:619)
> However, if I use a trailing slash: "http://localhost:8080/xmlui/"; it works.
> On DSpace 1.6.0, instead of a backtrace I just get a blank page. This only 
> happens with the xmlui, not the jspui. A workaround would be to include the 
> trailing slash; however, many of the internal links in DSpace return to the 
> "homepage" without a slash.
> Note that I'm using Resin, not Tomcat. I don't know if that makes a 
> difference.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to