java.lang.IllegalArgumentException: Can only insert attributes before other attributes or after containers.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
Can only insert attributes before other attributes or after containers.
java.lang.IllegalArgumentException: Can only insert attributes before other attributes or after containers.
at com.bea.xbean.store.Cursor.complain(Cursor.java:143)
at com.bea.xbean.store.Cursor.checkInsertionValidity(Cursor.java:167)
at com.bea.xbean.store.Cursor.insertNode(Cursor.java:187)
at com.bea.xbean.store.Cursor._insertAttributeWithValue(Cursor.java:1765)
at com.bea.xbean.store.Cursor.insertAttributeWithValue(Cursor.java:4289)
at com.bea.sdo.impl.DataGraphImpl.insertAttributes(DataGraphImpl.java:454)
at com.bea.sdo.impl.DataGraphImpl.internalSerialization(DataGraphImpl.java:314)
at com.bea.sdo.impl.DataGraphImpl.serialize(DataGraphImpl.java:213)
at com.bea.sdo.impl.DataGraphImpl.toString(DataGraphImpl.java:196)
at com.bea.dsp.dsmediator.client.XmlDataServiceBase.submitInternal(XmlDataServiceBase.java:174)
at com.bea.dsp.dsmediator.client.XmlDataServiceBase.submit(XmlDataServiceBase.java:93)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.