Closed GoogleCodeExporter closed 8 years ago
Hey,
Looks like some bug with cglib or on the junction between cglib and mockito.
Feel free to contribute a fix :)
Original comment by szcze...@gmail.com
on 21 Mar 2012 at 3:39
I have the same issue with an interface I am trying to mock. Using JDK7 though
-- I wonder if that is the problem.
Original comment by rocketra...@gmail.com
on 24 Mar 2012 at 3:47
@rocketraman Could you make a simple testcase ?
Original comment by brice.du...@gmail.com
on 24 Mar 2012 at 9:27
The issue is resolved. thats a simple mistake from my side.
After I changed from Matchers.<Integer>anyObject to Matchers.anyInt(), the
exception disappeared.
Original comment by venkyn...@gmail.com
on 25 Mar 2012 at 1:12
Unfortunately the issue I am having is not that simple (as far as I can tell!),
but so far I cannot reproduce it in a simple test case.
Original comment by rocketra...@gmail.com
on 25 Mar 2012 at 1:24
@rocketraman When you can reproduce it could you fill a new issue?
@venkynary This might be the junction with Powermock too. As the runner in
PowerMock instantiate the test in their own classloader.
Original comment by brice.du...@gmail.com
on 25 Mar 2012 at 7:56
Marking this issue as invalid as nobody could actually show a reproducible
code. A new issue shall be created with a proper test will be required if this
issue appears again.
Original comment by brice.du...@gmail.com
on 4 Dec 2013 at 3:48
Original issue reported on code.google.com by
venkyn...@gmail.com
on 20 Mar 2012 at 8:00