Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-08 Thread Aristedes Maniatis
I'm not sure. The only other bug we know about is that Hessian 4 has a problem in BigDecimal serialisation. But I can't see that in the stack trace. I'm currently deciding what to do about Hessian. Options include moving to something other than Hessian or forking Hessian since upstream isn't acc

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-08 Thread Adam Boyle
I'm running both client and server from an eclipse project locally with maven, but I'll make sure that the hessian dependencies are on version 4.0.38. I checked the client and server poms and they are both updated to Hessian 4.0.38 and Cayenne 4.0.M3. I'm still seeing the same stacktrace, so let

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-08 Thread Aristedes Maniatis
The main change in M3 is that we moved to Hessian 4. Are you running a newer client compared to the server end? I'm not sure of the compatibility between the two. Ari On 9/04/2016 3:28am, Adam Boyle wrote: > I'm seeing the following NPE on the client when connecting my ROP client > after upgr

Re: ROP: detecting that my client connection has timed out

2016-04-08 Thread Aristedes Maniatis
On 9/04/2016 1:34am, Adam Boyle wrote: > I'll also see about getting a build from trunk to dig into the latest ROP > code. Admittedly back in January I questioned my decision to use Cayenne when > I saw that the latest alpha release was from February 2015, so it's a relief > to see 4.0.M3 and mo

NullPointerException 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

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

NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-08 Thread Adam Boyle
I'm seeing the following NPE on the client when connecting my ROP client after upgrading from 4.0.M2 to M3: Apr 08, 2016 1:11:38 PM org.apache.cayenne.remote.hessian.HessianConnection connect INFO: Connecting to [system:***@http://localhost:8080/vidval/cws] - dedicated session. Apr 08, 201

Re: ROP: detecting that my client connection has timed out

2016-04-08 Thread Adam Boyle
I'll also see about getting a build from trunk to dig into the latest ROP code. Admittedly back in January I questioned my decision to use Cayenne when I saw that the latest alpha release was from February 2015, so it's a relief to see 4.0.M3 and more commits coming in for ROP :) -Adam ___

Re: ROP: detecting that my client connection has timed out

2016-04-08 Thread Adam Boyle
We're still in the initial implementation phase, so we haven't made a firm decision on the server container. In development I've been using the jetty-maven-plugin to run the server locally, so it probably makes sense to use Jetty in production as well. I will try implementing the filter today a