]
Ramesh Reddy resolved TEIID-3297.
---------------------------------
Resolution: Duplicate Issue
TEIID-2956
Possible NPE in WSConnectionImpl
--------------------------------
Key: TEIID-3297
URL:
https://issues.jboss.org/browse/TEIID-3297
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.4
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.10
{code}
ArrayList contentTypes = (ArrayList)this.responseContext.get("content-type");
//$NON-NLS-1$
String contentType = contentTypes != null ?
(String)contentTypes.get(0):"application/octet-stream"; //$NON-NLS-1$
{code}
Looking at
http://stackoverflow.com/questions/20392345/is-content-type-http-header-a... it
is not always required but recommended. In the DV it is more required because, based on
this it will to build the object of that type. What is missing is NPE handling there.