eclipse-modisco / org.eclipse.modisco

Eclipse Public License 2.0
0 stars 0 forks source link

Failed to generate modisco xmi model: java.lang.ClassCastException: org.eclipse.gmt.modisco.java.emf.impl.MethodDeclarationImpl cannot be cast to org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration #1030

Open eclipse-modisco-bot opened 6 days ago

eclipse-modisco-bot commented 6 days ago

| --- | --- | | Bugzilla Link | 534919 | | Status | NEW | | Importance | P3 normal | | Reported | May 21, 2018 12:55 EDT | | Modified | May 21, 2018 12:55 EDT | | Version | 1.1.0 | | Reporter | Monica Moragon |

Description

Hi,

I'm trying to generate a model from my source code, but I get the next error:

java.lang.ClassCastException: org.eclipse.gmt.modisco.java.emf.impl.MethodDeclarationImpl cannot be cast to org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration\ at org.eclipse.modisco.java.discoverer.internal.io.java.binding.BindingManager.getAnnotationTypeMemberDeclaration(BindingManager.java:601)\ at org.eclipse.modisco.java.discoverer.internal.io.java.binding.BindingManager.getProxyElement(BindingManager.java:367)\ at org.eclipse.modisco.java.discoverer.internal.io.java.binding.BindingManager.manageUnresolvedBindings(BindingManager.java:322)\ at org.eclipse.modisco.java.discoverer.internal.io.java.binding.BindingManager.resolveBindings(BindingManager.java:314)\ at org.eclipse.modisco.java.discoverer.internal.io.library.LibraryReader.finalResolveBindings(LibraryReader.java:250)\ at org.eclipse.modisco.java.discoverer.internal.io.library.LibraryReader.terminate(LibraryReader.java:261)\ at org.eclipse.modisco.java.discoverer.AbstractDiscoverJavaModelFromProject.analyzeJavaProject(AbstractDiscoverJavaModelFromProject.java:165)\ at org.eclipse.modisco.java.discoverer.DiscoverJavaModelFromJavaProject.basicDiscoverElement(DiscoverJavaModelFromJavaProject.java:38)\ at org.eclipse.modisco.java.discoverer.DiscoverJavaModelFromJavaProject.basicDiscoverElement(DiscoverJavaModelFromJavaProject.java:1)\ at org.eclipse.modisco.infra.discovery.core.AbstractDiscoverer.discoverElement(AbstractDiscoverer.java:93)\ at org.eclipse.modisco.infra.discovery.core.AbstractModelDiscoverer.discoverElement(AbstractModelDiscoverer.java:184)\ at org.eclipse.modisco.infra.discovery.ui.internal.actions.MoDiscoMenuSelectionListener.discovererElement(MoDiscoMenuSelectionListener.java:229)

General information: \ eclipse.buildId=4.7.2.M20171130-0510\ modisco.version = MoDiscoSDK 1.1.1.201802201718\ Configuration:

Thank you for your assistance.