Community
Participate
Working Groups
Build Identifier: Had previously opened a file in the editor (xx.java). Attempted to import a new project from TFS using plug-in, this is a new file with a package that refers to xx.java but xx.java was not imported from TFS. Click on the tab showing xx.java, and receive the above error. Reproducible: Always Steps to Reproduce: 1. Create a new project, add a single class with main and a single line; say system.out.... 2. Save project. 3. Share project to TFS (using Team Explorer Everywhere). 4. Ensure xx.java is open in IDE 5. Before checking in, untick xx.java (I did this unintentionally!!) 6. Open and bring to front some other unit while xx.java is still open. 7. Switch to TFS and check-in. 8. Switch to Eclipse and delete project (including disk files) ensure that xx.java is still open. 9. File -> Import same project from TFS. 10. Click on xx.java tab. 2 things happen a) Eclipse crashes and disappears from the screen or b) goes into an infinite loop showing an unhandled exception error (see attachment).
Created attachment 174171 [details] Stack trace and windows error message
Likely a dup of bug 319514. Please try either a Java version that's not u21 or the permgen parameter workaround suggested there. Please reopen if you think it's not a dup. *** This bug has been marked as a duplicate of bug 319514 ***
(In reply to comment #2) > Likely a dup of bug 319514. Please try either a Java version that's not u21 or > the permgen parameter workaround suggested there. Please reopen if you think > it's not a dup. > *** This bug has been marked as a duplicate of bug 319514 *** Francis Thanks for the quick response. I read through 319514's history with interest. Just doing some research, and as per your suggestion, I found some usefull info on http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F. So my startup arg now looks like this: "C:\Program Files\Eclipse\eclipse.exe" -vm "C:\Program Files\Java\jre6\bin\javaw.exe" So far I've been able to import and other stuff I was trying to do (but couldn't) without problem, but then again this being my first java proj and first time I've used eclipse (I'm a VC++ and Delphi programmer for my sins!) ... Regards