Community
Participate
Working Groups
I20040609 1200 1) Switched to the Java perspective and then quickly did Ctrl+Shift+T. 2) Got a "User operation is blocked dialog". 3) Clicked the cancel button on the "User Operation" entry in the dialog. 4) The operation canceled as expected. I am now in a state where all Java tooling is broken. F3 doesn't work, type hierarchy doesn't work, etc. The Problems view shows no problems in the workspace. 5) Modify a file and hit save (autobuild is on). Now I get the following problem marker on all projects: The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project. I had to shutdown, restart, Clean the workspace, and do a full build to get back into a good state. It seems that JDT isn't recovering from the cancelation of the build path initialization. Note: I was testing this scenario heavily in 3.0 RC1 and didn't find any problems. It seems like there is a recent regression here. CCing Wassim as it could possibly be caused by the PDE classpath container.
Created attachment 11848 [details] Log file showing trace of cancelation
Good find John and thanks for the stack trace. Changed JavaModelManager.initializeAllContainers(...) to ensure that the containers are not left as 'initialization in progress' if an exception traverses this code.
Could not reproduce with 200406110010. Verified in 200406110010