I mean this:

#####

public static void main(String[] args) throws Exception {
                JenaSystem.DEBUG_INIT = true;
        JenaSystem.init();
        ARQ.getContext().isTrue(ARQ.constantBNodeLabels) ;

####

which crashes at the ARQ line.


Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen


twitter: @semanticfire
tel. +31(0)6-53182997
Netage B.V.
http://netage.nl
Esdoornstraat 3
3461ER Linschoten
The Netherlands




From:   Andy Seaborne <[email protected]>
To:     [email protected]
Date:   23-05-2018 13:39
Subject:        Re: Update Query Parsing error





On 23/05/18 12:15, Bart van Leeuwen wrote:
> I just tried your little addition and indeed it crashes before the 
update.
> So what's next ?

To be clear here - you mean this:

  public static void main(String[] args) throws Exception {
         JenaSystem.DEBUG_INIT = true;
         JenaSystem.init();
         ARQ.getContext().isTrue(ARQ.constantBNodeLabels) ;

not the complete "main" below.

What got printed by DEBUG_INIT?

     Andy

> 
> Met Vriendelijke Groet / With Kind Regards
> Bart van Leeuwen
> 
> 
> twitter: @semanticfire
> tel. +31(0)6-53182997
> Netage B.V.
> http://netage.nl <http://netage.nl/>
> Esdoornstraat 3
> 3461ER Linschoten
> The Netherlands
> 
> 
> 
> 
> From: Andy Seaborne <[email protected]>
> To: [email protected]
> Date: 23-05-2018 13:11
> Subject: Re: Update Query Parsing error
> ------------------------------------------------------------------------
> 
> 
> 
> This code has the same Jena sequence without the StarDog code:
> 
> The stacktrace indicates an exception before parsing even starts so the
> update itself is not a factro.
> 
>      public static void main(String... args) {
>          JenaSystem.DEBUG_INIT = true;
>          String update = "INSERT DATA {}";
>          UpdateFactory.create(update);
>          System.out.println("DONE");
>      }
> 
> This works for me with a maven dependency on
> org.apache.jena:apache-jena-libs:pom:3.7.0
> 
>      Andy
> 
> 


Reply via email to