Closed lahnsurfer closed 10 years ago
Thanks for the ticket. I'm gonna check it right away.
Ok I see the reason of that.
This feature is implemented for local variables only and that's why it crashed on field.
I'm gonna fix the NPE and in near future support spy on fields.
Problem is fixed
Tim, the new version 1.3.0 is out, you can use update site to install new version without mentioned NPE.
I always get a NullPointerException if it trigger the quickfix on a field:
I am using Eclipse 4.3 and pl.greenpath.mockito.ide.refactoring_1.2.0.201403042101.jar