Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.10, 2.3.6
-
None
Description
The ValueLoader may throw a NPE if the desired headers are not present in the response:
org.apache.jackrabbit.spi2davex.ValueLoader:
public Map<String, String> loadHeaders(String uri, String[] headerNames) throws IOException, RepositoryException {
....
for (String name : headerNames)
.....
}
In my case, the server does not return the ETag response header, but the 'loadHeaders' is indirectly called by the QValueFactoryImpl:
this.preInitialize(new String[]
{HEADER_ETAG, HEADER_LAST_MODIFIED});