Assertion failed

I get this assertion error when trying to edit my custom descriptor, what's the reason for it?

Error message: Assertion failed: enterprise-beans/session-deployment[/@name="MySession"][-1]
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.j2ee.a.a.e.a(e.java:19)
at com.intellij.j2ee.a.a.m.a(m.java:77)
at com.intellij.j2ee.a.a.m$3.run(m$3.java:10)
at com.intellij.openapi.command.a.a.runUndoTransparentAction(a.java:107)
at com.intellij.j2ee.a.a.m$2.run(m$2.java:1)
at com.intellij.openapi.f.b.c.runWriteAction(c.java:88)
at com.intellij.j2ee.a.a.m.a(m.java:16)
at com.intellij.j2ee.a.a.m.setValues(m.java:70)
at com.intellij.j2ee.a.a.m.setValue(m.java:23)

Please sign in to leave a comment.