Explorer doesn't open file


Explorer doesn't open file...see attached error message and odb.  Explorer doesn't cleanly close the connection either (due to error I presume).

Many thanks



Should add that Doctor doesn't find any issues and file works fine programmatically.


It seems as an ObjectDB Explorer bug is handling a specific field of the type java.util.concurrent.TimeUnit.

Could you please check if after changing the type of that field, e.g. to java.lang.Object, the file is opened in the Explorer?

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Yes, you're right.  When I refactored the code to store the value as a String and not a TimeUnit it works fine.  I shouldn't have been storing TimeUnit in the entity anyway as it is not a persistable type but it was in a super class and I missed it from an earlier re-factoring.  Odd how ObjectDb should persist the value and not throw an exception as it normally does for non-persistable types?

Post Reply

To post a reply and/or subscribe to update notifications - please login