Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
JaversException: GENERIC_TYPE_NOT_PARAMETRIZED - how to diagnose? #362
I'm receiving the following error:
Is it possible to figure out where in the object graph this is occurring? What type does the following denote?
Figured it out by breakpointing the line raising the exception and looking backward through the callstack.
It might be helpful to have some trace logging available in this part of the code base to provide some context if an error like this occurs...
Should excluding this property (or it's parent) when initializing Javers get around this error?
Was able to get this working using the following:
builder.registerIgnoredClass( PropertyChangeSupport.class );
When I tried to ignore this property in my base Entity class using builder#registerEntity, the subclasses still included the property (i.e. I needed to add the ignore to each subclass). I would think that ignoring a property in the base class should apply to all subclasses?
In addition, ignoring the property, did not prevent the error for which this issue was created.