Bug #2984
NPE thrown during updateNodeCapabilities
100%
Description
If a node is created with 0 subjects, then the following errors are generated-
[DEBUG] 2012-06-19 19:41:38,820 (FrameworkServlet:processRequest:910) Could not complete request
java.lang.NullPointerException
at org.dataone.cn.rest.web.node.NodeController.updateNodeCapabilities(NodeController.java:210)
ALSO this!
[ERROR] 2012-06-19 19:41:38,817 (AnnotationMethodHandlerExceptionResolver:doResolveException:143) Invoking request method resulted in exception : public void org.dataone.cn.rest.web.AbstractWebController.handleException(org.dataone.service.exceptions.IdentifierNotUnique,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
java.lang.IllegalStateException: Unsupported argument [org.dataone.service.exceptions.IdentifierNotUnique] for @ExceptionHandler method: public void org.dataone.cn.rest.web.AbstractWebController.handleException(org.dataone.service.exceptions.IdentifierNotUnique,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
History
#1 Updated by Robert Waltz over 12 years ago
- Subject changed from NPE thrown dufing updateNodeCapabilities to NPE thrown during updateNodeCapabilities
- Status changed from New to In Progress
#2 Updated by Robert Waltz over 12 years ago
- Status changed from In Progress to Closed