On 23/05/18 12:40, Bart van Leeuwen wrote:
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.
And no output? DEBUG_INIT causes init() to print all details of startup.
The first thing the code does is print "JenaSystem.init - start" even
before it's got to looking for components to initialize.
See my other code experiment which is Jena-only code - no 3rd party code.
Can you share the POM?
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 <a...@apache.org>
To: users@jena.apache.org
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/><http://netage.nl/>
> Esdoornstraat 3
> 3461ER Linschoten
> The Netherlands
>
>
>
>
> From: Andy Seaborne <a...@apache.org>
> To: users@jena.apache.org
> 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
>
>