Explorer doesn't open file

#1

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

Russ

#2

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

#3

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
#4

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?

Reply