Very Weird Casting Exception - I've Never Seen Anything Like This with EMF [message #1843747] |
Mon, 16 August 2021 16:07 |
Brandon Lewis Messages: 268 Registered: May 2012 |
Senior Member |
|
|
Caused by: java.lang.ClassCastException: class <package>.impl.InterconnectionTypeImpl cannot be cast to class <package>.InterconnectionType
(<package>.impl.InterconnectionTypeImpl is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @6c361fde;
<package>.InterconnectionType is in unnamed module of loader org.eclipse.sirius.editor.utils.WorkspaceClassLoading$2 @6fd0034f)
I'm in a Sirius service trying to scope the legal things I can reference trying to calculate Domain based edges.
I have never seen this type of cast error from EMF before since the beginning of my use with it.
Any ideas?
When I launched the debugger for the very first time, my Windows box complained about some firewall settings etc.etc... I closed the window not understanding what was going on. Would this have anything to do with it?
I blown away my plugins that were auto-generated from EMF and re-generated them. No luck. URIs and namespaces all look spelled the same.
I get the exception occuring in my services even during normal runtime - so it's not just the debugger.
Java 11, Eclipse 2020_06, Sirius 6.5.1
[Updated on: Mon, 16 August 2021 16:09] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10455 seconds