Hi all,

I have 4 classes: A, B, C and D:
Class A is the root class.
B is a child of A.
C is a child of B.
D is an embedded class in C.
the classes look like the one at the end of the post.

When I Insert an instance of class A, I get the following exception:
java.lang.IllegalArgumentException: out of field index :-1
at ***.server.db.entities.D.jdoProvideField(D.java)
I think the problem came from the embedded class?
(I enhanced all classes again and cleaned my project, but the problem
came again...)

Does anyone know what the solution for this problem is?
here the classes:
class A (
       ...
        @Persistent(dependent = "true")
        private B bClass;
}

class B (
         ...
        @Persistent
        @Element(dependent = "true")
        private List<C> cClass;

        @Persistent
        @Embedded
        private D dClass;
)

class C (
...
        @Persistent
        private double f1;
...
)
@PersistenceCapable
@EmbeddedOnly
class D (
        @Persistent
        private List<Double>  aList;
        @Persistent
        private List<Double>  bList;
        @Persistent
        private List<Double>  cList;
)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to