Closed GoogleCodeExporter closed 8 years ago
I ran the test your provided and it did not fail for me.
What jvm version are you using (and on what platform)?
Original comment by david.yu...@gmail.com
on 2 Feb 2012 at 11:30
Im running on a windows 7 environment. JVM details are as follows:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
Original comment by mchan...@hotmail.com
on 2 Feb 2012 at 12:23
David, what JVM version and platform did you run the test on ?
Original comment by mchan...@hotmail.com
on 2 Feb 2012 at 12:24
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
On Ubuntu 10.04 x64
Original comment by david.yu...@gmail.com
on 2 Feb 2012 at 1:29
I looked very carefully through the full list of dependencies in my project, i
found the following:
protostuff-api: 1.0.4
protostuff-collectionsschema: 1.0.2
protostuff-runtime: 1.0.2
protostuff-core: 1.0.2
I found that the 1.0.2 jars odd. I then deleted all the dependencies.
I then added the following dependencies:
<dependency>
<groupId>com.dyuproject.protostuff</groupId>
<artifactId>protostuff-runtime</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>com.dyuproject.protostuff</groupId>
<artifactId>protostuff-core</artifactId>
<version>1.0.4</version>
</dependency>
This pulled in the following jars:
protostuff-api: 1.0.4
protostuff-collectionsschema: 1.0.4
protostuff-runtime: 1.0.4
protostuff-core: 1.0.4
I then re ran the unit test & everything worked !
Just to double check i ran the unit test with all the jars based on version
1.0.2, the test fails.
It looks like this problem has been fixed in version 1.0.4
Thanks for your feedback in helping me diagnose the problem.
Original comment by mchan...@hotmail.com
on 2 Feb 2012 at 2:36
You should probably reference the versions as properties E.g
${protostuff-version}
I'm glad you're able to find the problem and fixed it.
Cheers
Original comment by david.yu...@gmail.com
on 2 Feb 2012 at 3:22
Original issue reported on code.google.com by
mchan...@hotmail.com
on 2 Feb 2012 at 10:52