Project

General

Profile

Bug #2419

cn.describe() throwing NPE when content-length not set

Added by Rob Nahf over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Start date:
Due date:
% Done:

100%

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

Description

the libclient should be more resilient (even though we should check that content-length is set);

add null check in D1Node.describe()

History

#1 Updated by Rob Nahf over 12 years ago

  • Category set to d1_libclient_java
  • Assignee set to Rob Nahf

#2 Updated by Rob Nahf over 12 years ago

  • Status changed from New to In Progress

in the event of Exceptions being returned, both SerialVersion, and Content-length are likely to be null, (and any sysMD related items). Need to check that describe handles null values for these.

#3 Updated by Dave Vieglais over 12 years ago

  • Position set to 1
  • Target version changed from Sprint-2012.09-Block.2.1 to Sprint-2012.11-Block.2.2
  • Position deleted (52)

#4 Updated by Rob Nahf over 12 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Rejected

exceptions are properly handled prior to reading the headers for building the describe response, so the errors being thrown are correct.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)