Community
Participate
Working Groups
Build 20011025 (206) In a self-hosting workspace, define a new project 'Crap', then add to its prerequisite projects 'org.eclipse.jdt.core'. Create a scrapbook page under the project root (when the project has a source folder 'src'). In the scrapbook page, try to evaluate: Object obj = "test"; obj = obj + "ing"; System.out.println(obj); I got a dialog complaining about not being able to create an evaluation context, even after switching JRE.
This error means that launching the VM for evaluation has failed or timed out. When I tried the same scenario in 20011101, the evaluation worked, and returned "(no explicit return value)". However, we need provide better feedback and/or relaunch when this occurrs.
I presume this mostly occurs on the first run. I got it to fail every time in sequence, yesterday, and today succeeded at the second attempt. Could you make the first run special, or timeout differently so that you would not be affected by the VM initialization ? (on first run you could run a dummy snippet first to get things initialized, and this one would have a progress monitor).
*** This bug has been marked as a duplicate of 5163 ***