Skip to content

Exception in multi-thread application #167

Description

@aleSuglia

Hello,

I am using your library with the Hibernate support and it works great. At the moment I have started to use an improved implementation of my algorithm that uses multiple threads. When the number of threads starts to grow, I receive strange errors like this one:

org.hibernate.AssertionFailure: bug adding collection twice

I use your API only to read resources from the supported lexicons in UBY. The data structures that I use have a restricted visibility so only a single thread can access them. In this case, the database is the only shared resource of the whole program.

Any idea about this error? Can you give me some suggestions?
Thank you in advance.

Alessandro

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions