Skip to content

Error when hot-reloading a model bundle #9

@ghost

Description

When Wisdom hot-reload a bundle containing models, an error arise :

java.lang.ClassCastException: io.gruul.server.mainframe.model.Message_$$_jvstc0c_3 cannot be cast to javassist.util.proxy.Proxy

I've to cut wisdom:run and relaunch it.

On hot-reload, the OrientDBCrudProvider detect new models :

[INFO]   o.w.o.r.OrientDbCrudProvider {monitor-application} - OrientDB Database configuration found for /io/gruul/server/mainframe/model : {user=admin, url=remote:localhost/gruul, package=io.gruul.server.mainframe.model, name=dev} 

Imo it leads to a double declaration of the model class in the proxy, thus the class cast exception.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions