Java EE Integration plugin exceptions

I am constantly getting exceptions in the above plugin when editing a large hibernate.hbm.xml file:

com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
java.lang.ClassCastException: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute$1.fun(MergedPersistenceMappings.java:651)
 at com.intellij.javaee.model.common.NewMergedModelUtil.joinValue(NewMergedModelUtil.java:73)
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute.getTargetEntityClass(MergedPersistenceMappings.java:651)
 at com.intellij.jpa.util.JpaUtil.getSubstitutedTypeInfo(JpaUtil.java:952)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingPersistenceAttribute.<init>(AbstractQlPersistenceModel.java:237)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingRelationshipAttribute.<init>(AbstractQlPersistenceModel.java:367)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity.getAttributes(AbstractQlPersistenceModel.java:193)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:372)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:362)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:353)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:73)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.access$000(QlReferenceExpressionImpl.java:28)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:31)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:29)
 at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:129)
 at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:106)
 at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:134)
 at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:145)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.multiResolve(QlReferenceExpressionImpl.java:63)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.qlResolve(QlReferenceExpressionImpl.java:56)
 at com.intellij.ql.psi.impl.QlAnnotator$Visitor.visitReferenceExpression(QlAnnotator.java:53)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.accept(QlReferenceExpressionImpl.java:40)
 at com.intellij.ql.psi.impl.QlAnnotator.annotate(QlAnnotator.java:20)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:482)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:477)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$2400(GeneralHighlightingPass.java:80)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:354)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:338)
 at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:117)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
 at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:115)
 at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1049)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)



java.lang.ClassCastException: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute$1.fun(MergedPersistenceMappings.java:651)
 at com.intellij.javaee.model.common.NewMergedModelUtil.joinValue(NewMergedModelUtil.java:73)
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute.getTargetEntityClass(MergedPersistenceMappings.java:651)
 at com.intellij.jpa.util.JpaUtil.getSubstitutedTypeInfo(JpaUtil.java:952)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingPersistenceAttribute.<init>(AbstractQlPersistenceModel.java:237)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingRelationshipAttribute.<init>(AbstractQlPersistenceModel.java:367)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity.getAttributes(AbstractQlPersistenceModel.java:193)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:372)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:362)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:353)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:73)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.access$000(QlReferenceExpressionImpl.java:28)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:31)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:29)
 at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:129)
 at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:106)
 at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:134)
 at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:145)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.multiResolve(QlReferenceExpressionImpl.java:63)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.qlResolve(QlReferenceExpressionImpl.java:56)
 at com.intellij.ql.psi.impl.QlAnnotator$Visitor.visitReferenceExpression(QlAnnotator.java:53)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.accept(QlReferenceExpressionImpl.java:40)
 at com.intellij.ql.psi.impl.QlAnnotator.annotate(QlAnnotator.java:20)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:482)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:477)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$2400(GeneralHighlightingPass.java:80)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:354)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:338)
 at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:117)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
 at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:115)
 at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1049)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)



java.util.concurrent.ExecutionException: java.lang.ClassCastException: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
 at java.util.concurrent.FutureTask.get(FutureTask.java:83)
 at com.intellij.concurrency.PrioritizedFutureTask.access$301(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:77)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassCastException: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute$1.fun(MergedPersistenceMappings.java:651)
 at com.intellij.javaee.model.common.NewMergedModelUtil.joinValue(NewMergedModelUtil.java:73)
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute.getTargetEntityClass(MergedPersistenceMappings.java:651)
 at com.intellij.jpa.util.JpaUtil.getSubstitutedTypeInfo(JpaUtil.java:952)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingPersistenceAttribute.<init>(AbstractQlPersistenceModel.java:237)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingRelationshipAttribute.<init>(AbstractQlPersistenceModel.java:367)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity.getAttributes(AbstractQlPersistenceModel.java:193)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:372)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:362)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:353)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:73)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.access$000(QlReferenceExpressionImpl.java:28)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:31)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:29)
 at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:129)
 at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:106)
 at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:134)
 at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:145)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.multiResolve(QlReferenceExpressionImpl.java:63)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.qlResolve(QlReferenceExpressionImpl.java:56)
 at com.intellij.ql.psi.impl.QlAnnotator$Visitor.visitReferenceExpression(QlAnnotator.java:53)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.accept(QlReferenceExpressionImpl.java:40)
 at com.intellij.ql.psi.impl.QlAnnotator.annotate(QlAnnotator.java:20)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:482)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:477)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$2400(GeneralHighlightingPass.java:80)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:354)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:338)
 at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:117)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
 at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:115)
 at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1049)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
 ... 3 more



java.lang.ClassCastException: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute$1.fun(MergedPersistenceMappings.java:651)
 at com.intellij.javaee.model.common.NewMergedModelUtil.joinValue(NewMergedModelUtil.java:73)
 at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute.getTargetEntityClass(MergedPersistenceMappings.java:651)
 at com.intellij.jpa.util.JpaUtil.getSubstitutedTypeInfo(JpaUtil.java:952)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingPersistenceAttribute.<init>(AbstractQlPersistenceModel.java:237)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingRelationshipAttribute.<init>(AbstractQlPersistenceModel.java:367)
 at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity.getAttributes(AbstractQlPersistenceModel.java:193)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:372)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:362)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:353)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.a(QlReferenceExpressionImpl.java:73)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.access$000(QlReferenceExpressionImpl.java:28)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:31)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl$1.resolve(QlReferenceExpressionImpl.java:29)
 at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:129)
 at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:106)
 at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:134)
 at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:145)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.multiResolve(QlReferenceExpressionImpl.java:63)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.qlResolve(QlReferenceExpressionImpl.java:56)
 at com.intellij.ql.psi.impl.QlAnnotator$Visitor.visitReferenceExpression(QlAnnotator.java:53)
 at com.intellij.ql.psi.impl.QlReferenceExpressionImpl.accept(QlReferenceExpressionImpl.java:40)
 at com.intellij.ql.psi.impl.QlAnnotator.annotate(QlAnnotator.java:20)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:482)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:477)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$2400(GeneralHighlightingPass.java:80)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:354)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.process(GeneralHighlightingPass.java:338)
 at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:117)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
 at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:115)
 at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1049)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)


I have reported this from within the ide as well.

3 comments
Comment actions Permalink

I should add that this is IDEA 117.21, Java6(1.6.0_31), Windows7 Ent. 64bit. The project is a maven model project.

0
Comment actions Permalink

Please attach sample project to reproduce the problem to
http://youtrack.jetbrains.com/issue/IDEA-82837

This will help us to fix this ASAP.


On 3/21/12 8:10 PM, Saqib Saleem wrote:

I am constantly getting exceptions in the above plugin when editing a large hibernate.hbm.xml file:

>

com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
java.lang.ClassCastException: com.intellij.jpa.model.annotations.mapping.AttributeBaseImpl$BasicAttr$$EnhancerByCGLIB$$3bfe3bab cannot be cast to com.intellij.persistence.model.PersistentRelationshipAttribute
  at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute$1.fun(MergedPersistenceMappings.java:651)
  at com.intellij.javaee.model.common.NewMergedModelUtil.joinValue(NewMergedModelUtil.java:73)
  at com.intellij.jpa.model.common.MergedPersistenceMappings$MyRelationshipAttribute.getTargetEntityClass(MergedPersistenceMappings.java:651)
  at com.intellij.jpa.util.JpaUtil.getSubstitutedTypeInfo(JpaUtil.java:952)
  at com.intellij.jpa.AbstractQlPersistenceModel$MappingPersistenceEntity$MappingPersistenceAttribute.<init>(AbstractQlPersistenceModel.java:237)

0
Comment actions Permalink

Hi Gregory.

It would be difficult to recreate a small sample project in a timely fashion. I will try but it could be a few days.

I just updated to 117.37 today and I don't seem to be getting this anymore.

In the previous EAPs, the Osmorc plugin was not compatible and maybe this was causing the issue.

0

Please sign in to leave a comment.