jlowenz / hypergraphdb

Automatically exported from code.google.com/p/hypergraphdb
0 stars 0 forks source link

Error just creating a blank database and closing it #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a blank project adding the hgdb 1.1 core as a reference
2. Open a database in a blank directory (using either of the methods outlined 
in the example tutorial, new HyperGraph(path) or HGEnvironment.get())
3. all files for the database get successfully created
4. Close the blank database without adding any data

What is the expected output? What do you see instead?
I expect no output and no errors. I get a stack trace with the following error 
"BERKELEYDB: Error: closing the transaction region with active transactions"

The error message and stack trace are identical to that of issue #68 
(http://code.google.com/p/hypergraphdb/issues/detail?id=68) except I'm not 
trying to load wordnet, I'm just creating a blank db and closing it.

What version of the product are you using? On what operating system?
hgdb 1.1
java 1.6 (x64)
windows 7 (x64)

Original issue reported on code.google.com by dave.do...@gmail.com on 28 Feb 2012 at 6:32

GoogleCodeExporter commented 9 years ago
Can you how your test code?

Original comment by borislav...@gmail.com on 28 Feb 2012 at 7:04

GoogleCodeExporter commented 9 years ago
I ran this example: 

http://www.kobrix.com/wikishow?page=IntroDBCreate&project=hypergraphdb

in eclipse.

I have no other code except what is shown there.

I have the core added as a project reference.  The native libs I've referenced 
are from the native/amd64 directory in the 1.1 zip package.

Original comment by dave.do...@gmail.com on 28 Feb 2012 at 7:07

GoogleCodeExporter commented 9 years ago
Update: this error only occurs when I reference HyperGraphDB Core project as 
source code from another project in the same workspace. It does not happen when 
I add the hypergraphdb.jar instead.

Original comment by dave.do...@gmail.com on 28 Feb 2012 at 7:29

GoogleCodeExporter commented 9 years ago
Just FYI: I'm currently on the road and not able to try to reproduce. If I 
don't get back to you by the end of the week, please ping me back. In any case, 
I strongly suggest using an SVN snapshot, which will be version 1.2, and 
currently pretty stable, and most likely in better shape than 1.1.

Original comment by borislav...@gmail.com on 1 Mar 2012 at 6:02

GoogleCodeExporter commented 9 years ago
nothing critical anyway especially since it works when using the Jar as opposed 
to the project-as-source.

Original comment by dave.do...@gmail.com on 1 Mar 2012 at 4:21