Project

General

Profile

Bug #2984

NPE thrown during updateNodeCapabilities

Added by Robert Waltz over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
d1_cn_node_registry
Start date:
2012-06-19
Due date:
% Done:

100%

Milestone:
CCI-1.0.2
Product Version:
*
Story Points:
Sprint:

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)