Fw: Null pointer exception in addToManyTarget and removeToManyTarget

2016-04-08 Thread Juan Manuel Diaz Lara
 Atte. Juan Manuel Díaz Lara On Friday, April 8, 2016 6:27 PM, Juan Manuel Diaz Lara wrote: I am using Cayenne 4.0.M3. I want to build an graph of persistent objects  using the api for many targets, but I get the following trace: Exception in thread "main" java.lang.NullPointerExceptio

Null pointer exception in addToManyTarget and removeToManyTarget

2016-04-08 Thread Juan Manuel Diaz Lara
I am using Cayenne 4.0.M3. I want to build an graph of persistent objects  using the api for many targets, but I get the following trace: Exception in thread "main" java.lang.NullPointerException     at org.apache.cayenne.CayenneDataObject.addToManyTarget(CayenneDataObject.java:248)     at com.a