Community
Participate
Working Groups
Build 20020416 Don't ask for the test case ;) It happens while debugging a self-hosting workspace, and doing a checkout from a CVS repository to a workspace on a network drive. In the following for loop, varPath was null, causing a NPE on line 802. The variable was ECLIPSE_HOME. for (int i= 0; i < variables.length; ++i) { String var = variables[i]; IPath varPath = JavaCore.getClasspathVariable(var); Element varElement= document.createElement("variable"); varElement.setAttribute("name", var); //$NON-NLS-1$ varElement.setAttribute("path", varPath.toString()); rootElement.appendChild(varElement); }
Thanks for the info. Added null check protection. Fixed