afs commented on issue #2787:
URL: https://github.com/apache/jena/issues/2787#issuecomment-2436007946

   It is difficult to test for because Jena is likely initlialized and any test 
will pass for that reason -- it isn't a test of class initialization order and 
we can not rely on the test.
   
   If this is run from `public static void main`, and there is no 
`JenaSystem.ini`t call in `RDFLinkHTTPBuilder`, it should go wrong.
   
   ```
      public static void mainNPE2675() {
           System.out.println("GH-2675: RDFLinkHTTP NPE");
           try (RDFConnection conn = 
RDFConnectionFuseki.service("http://localhost:3030/ds";).build()) {
   
           }
           System.out.println("DONE");
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to