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.
}
importedFile = new File(getPath(importedFile));
importedFile = new File(importedFile.getAbsolutePath());
if (importStack.contains(importedFile)) {
getProject().log(
ex, getLocation());
private static String getPath(File file) {
try {
return file.getCanonicalPath();
} catch (IOException e) {
return file.getAbsolutePath();