RDF2Go Repository Model not closed

16 views
Skip to first unread message

Laurent

unread,
Mar 14, 2010, 3:06:22 PM3/14/10
to RDF2Go and RDFReactor (part of semweb4j)
Dear all,

I am getting the following warning after a datastore operation in a
Junit test :

WARN [Finalizer] (RepositoryModel.java:732) -
org.openrdf.rdf2go.RepositoryModel not closed, closing now.

For example, the operation I call several times is the following :

public void addStatement(URI space, Statement statement) {
this.rootModel.getModel(space).addStatement(statement);
this.rootModel.commit();
}

Do I need to close the model I get just after commit ?

In my tearDown method I perform a rootModel.close().

Do you know the reason of this warning ?

Thanks.

Kind Regards

Laurent

Max Voelkel (FZI Karlsruhe)

unread,
Mar 21, 2010, 8:39:04 AM3/21/10
to Laurent, RDF2Go and RDFReactor (part of semweb4j)
Hi, from what you write, the issue should not occur. I suggest to open a ticket at [1] and provide a small JUnit test which we can execute to reproduce the behaviour.

Regards,
Max

[1] http://octopus13.fzi.de:8080//browse/RTGO


--
You received this message because you are subscribed to the Google Groups "RDF2Go and RDFReactor (part of semweb4j)" group.
To post to this group, send email to semw...@googlegroups.com.
To unsubscribe from this group, send email to semweb4j+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/semweb4j?hl=en.




--
      Max Völkel
      voe...@fzi.de | http://Xam.de
--
FZI Forschungszentrum Informatik an der Universität Karlsruhe
Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
Tel.: +49-721-9654-0, Fax: +49-721-9654-959
Stiftung des bürgerlichen Rechts, Stiftung Az: 14-0563.1 Regierungspräsidium Karlsruhe
Vorstand: Prof. Dr.-Ing. Rüdiger Dillmann, Dipl. Wi.-Ing. Michael Flor,
Prof. Dr. rer. nat. Dr. h.c. Wolffried Stucky, Prof. Dr. rer. nat. Rudi Studer
Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus

Laurent

unread,
Mar 22, 2010, 6:13:34 AM3/22/10
to RDF2Go and RDFReactor (part of semweb4j)
Thanks for your response.

After verification, the problem seems to come from the BigOWLIM
adapter for RDF2Go that I use because I don't get warnings when I use
the Sesame adapter. Sorry to have bothered you for this.

On 21 mar, 13:39, "Max Voelkel (FZI Karlsruhe)" <voel...@fzi.de>
wrote:

> > semweb4j+u...@googlegroups.com<semweb4j%2Bunsu...@googlegroups.com>


> > .
> > For more options, visit this group at
> >http://groups.google.com/group/semweb4j?hl=en.
>
> --
>       Max Völkel

>       voel...@fzi.de |http://Xam.de

Reply all
Reply to author
Forward
0 new messages