Hi!
We have an two entities, the first one is something like:
@Embeddable
class TestEmbed
{...}
and the second one:
@Entity
class TestEntity
{
private TestEmbed myEmbed = null;
public TestEmbed getMyEmbed()
{
if (myEmbed == null)
{
myEmbed = new TestEmbed();
}
return myEmbed;
}
Now when we load a TestEmbed class from the object database and do access the myEmbed property the first time with getMyEmbed() then we get an ArrayIndexOutOfBoundsException within here:
MMM.J(int) line: 602
ENT.beforeModifyEmbedded(int) line: 1007
EMT.beforeModifyMember(int) line: 90
TestEntity.__odbSet_myEmbed(TestEntity, TestEmbed) line: 1 (out of synch)
TestEntity.getMyEmbed() line: 71 (out of synch)