Community
Participate
Working Groups
Build Identifier: Hi Colleagues, In some cases, when executing the CopyTypeCommand, a ClassCaseException is thrown. I'm listing a part of the stack trace: Caused by: java.lang.ClassCastException: org.eclipse.wst.sse.sieditor.model.impl.WSDLModelRoot cannot be cast to org.eclipse.wst.sse.sieditor.model.api.IXSDModelRoot at org.eclipse.wst.sse.sieditor.command.emf.xsd.CopyTypeCommand.ensureImport(CopyTypeCommand.java:814) at org.eclipse.wst.sse.sieditor.command.emf.xsd.CopyTypeCommand.visitComplexTypeDefinition(CopyTypeCommand.java:600) at org.eclipse.wst.sse.sieditor.command.emf.xsd.CopyTypeCommand.visitTypeDefinition(CopyTypeCommand.java:513) at org.eclipse.wst.sse.sieditor.command.emf.xsd.CopyTypeCommand.visitElementDeclaration(CopyTypeCommand.java:429) at org.eclipse.wst.sse.sieditor.command.emf.xsd.CopyTypeCommand.run(CopyTypeCommand.java:160) There is an issue with the way the modelRoot is being used. Regards, Stanislav Reproducible: Sometimes
Created attachment 189463 [details] patch fixing the way modelRoot is used
Created attachment 189690 [details] fixing schema resolve
Created attachment 189691 [details] fixing schema resolve
Hi Colleagues, Could you please confirm if this issue is fixed and close the bugzilla? It looks as though the patches are applied. Regards, Stanislav
Hi Stanislav, Thank you for the paches. I have found that they are already applied, so I am closing this bugzzila. Best regards, Dimitar
Changing status to CLOSED.