Bugs item #3039397, was opened at 2010-08-04 07:46
Message generated for change (Tracker Item Submitted) made by zenthanian
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=3039397&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: Handles
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jason (zenthanian)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error Check Needed for handle.prefix in Dspace.cfg

Initial Comment:
v1.60
/dspace-api/src/main/java/org/dspace/handle/HandleManager.java
needs to handle missing "hande.prefix" in dspace.cfg
if not there the following line results in a null value
        String handlePrefix = ConfigurationManager.getProperty("handle.prefix");
then the following line bombs with a nullpointer exception.
        return new StringBuffer().append(handlePrefix).append(
                handlePrefix.endsWith("/") ? "" : "/").append(id).toString();


suggest to insert the following between the two lines 
if (handlePrefix == null)
{
        log.warning("handle.prefix not set in config file.")
}


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

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

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to