You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2013/04/12 18:14:16 UTC

[jira] [Commented] (JENA-433) Null Pointer Exception coming with a message without content type

    [ https://issues.apache.org/jira/browse/JENA-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630242#comment-13630242 ] 

Andy Seaborne commented on JENA-433:
------------------------------------

It's worth fixing any client-side problems even if from a broken response.

(on the server side, Joseki is now very old and completely replaced by Fuseki).

What sort of query are you sending to the server?  Coudl you do this with wegt or curl and post the response to the JIRA?

I can't align line 442 in HttpOp to anything likely to be related (it's seems to be a log statement) - could you post some details please?
                
> Null Pointer Exception coming with a message without content type
> -----------------------------------------------------------------
>
>                 Key: JENA-433
>                 URL: https://issues.apache.org/jira/browse/JENA-433
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.10.0
>            Reporter: ArthurVaisse-Lesteven
>            Priority: Minor
>              Labels: bug
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I use Jena to send request to a Joseki SPARQL endpoint. With Jena 2.10.0, after each request i got a "NullPointerException".
> It seems that Joseki unlike Fuseki SPARQL endpoint doesn't send a content type, and the HttpOp class wait for this content type. But content type is suppose to be optional.
> I can't post the error trace here, but i remember it was coming from HttpOp l.442.
> I solved the problem by using the older version of Jena for the moment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira