[
https://issues.apache.org/jira/browse/JENA-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15759536#comment-15759536
]
A. Soroka commented on JENA-1268:
---------------------------------
Yeah, right now it is [just a two-part
check|https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/riot/web/HttpOp.java#L1034].
I think the most straightforward approach would be to have
{{setDefaultHttpClient}} reject {{null}}, since the notes to {{HttpClient}}
make clear that it is [best
reused|https://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d5e213].
> Fuseki1 TestAuth causes NPE
> ---------------------------
>
> Key: JENA-1268
> URL: https://issues.apache.org/jira/browse/JENA-1268
> Project: Apache Jena
> Issue Type: Bug
> Reporter: Andy Seaborne
>
> jena-fuseki1 org.apache.jena.fuseki.TestAuth::setup
> sets up authentication.
> A recent change has caused this to not work : setting
> HttpOp.setDefaultHttpClient(null) causes a later NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)