This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
A probable cause of issue #141061 is, that the stack frames are invalidated by other events occurring during expression evaluation. E.g.: If the target thread, that we perform the evaluation in, gets suspended in the backend (that can happen at any time and can not be prevented from), the thread might get suspended twice and we need to call "resume" on it, to reduce the suspend count to 1. This unfortunately invalidates the stack frame. Therefore we need to synchronize such resume of thread or event, with the evaluation that might be running concurrently.
Moving to P4, it looks like this occurs occasionally on JDK 6 only.
This does not seem to be an issue any more.