Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-433

Null Pointer Exception coming with a message without content type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 2.10.0
    • Jena 2.10.1, Fuseki 0.2.7
    • Jena

    Description

      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.

      Attachments

        Activity

          People

            andy Andy Seaborne
            avl ArthurVaisse-Lesteven
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified