Bugs item #1968082, was opened at 2008-05-20 16:55
Message generated for change (Comment added) made by stuartlewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1968082&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.5
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tim Donohue (tdonohue)
Assigned to: Nobody/Anonymous (nobody)
Summary: SWORD Service Document fails if Collection is untitled

Initial Comment:
If somehow you ended up with a Collection with no title in DSpace 1.5, SWORD 
will fail to generate a Service Document for anyone with submit access to that 
untitled Collection.

Obviously, most DSpace Collections *should* have a title.  However, it is 
possible to generate a Collection without a title.  Either way, the DSpace 
SWORD Server should probably be smart enough to still generate a valid Service 
Document if it encounters a Collection without a title.

The following error is generated when a collection without a title is 
encountered:

SEVERE: Servlet.service() for servlet servicedocument threw exception
java.lang.NullPointerException
        at org.purl.sword.base.Collection.marshall(Collection.java:367)
        at org.purl.sword.base.Workspace.marshall(Workspace.java:176)
        at org.purl.sword.base.Service.marshall(Service.java:299)
        at 
org.purl.sword.base.ServiceDocument.marshall(ServiceDocument.java:260)
        at 
org.purl.sword.server.ServiceDocumentServlet.doGet(ServiceDocumentServlet.java:86)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
        at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
        at java.lang.Thread.run(Thread.java:619)


----------------------------------------------------------------------

>Comment By: Stuart Lewis (stuartlewis)
Date: 2008-12-18 20:08

Message:
Fix for SF Bug #1968082 SWORD Service Document fails if Collection is
untitled - written by Claudia, and applied for 1.5.2

----------------------------------------------------------------------

Comment By: Stuart Lewis (stuartlewis)
Date: 2008-12-18 20:08

Message:
Fix for SF Bug #1968082 SWORD Service Document fails if Collection is
untitled - written by Claudia, and applied for 1.5.2

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1968082&group_id=19984

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to