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.

Bug 48145 - Stack overflow from FileUtil.normalizeFile/normalizeFileOnMac
Summary: Stack overflow from FileUtil.normalizeFile/normalizeFileOnMac
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P1 blocker (vote)
Assignee: rmatous
URL:
Keywords:
: 48237 48276 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-30 11:37 UTC by _ tboudreau
Modified: 2008-12-22 16:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-08-30 11:37:56 UTC
Start NetBeans on a mac (run with -Xint to get stack trace).  
Choose Open Project.  Stack overflow occurs, IDE becomes 
unusable.

java.lang.StackOverflowError
        at java.io.UnixFileSystem.normalize(UnixFileSystem.java:69)
        at java.io.File.<init>(File.java:182)
        at 
org.openide.filesystems.FileUtil$NonCanonicalizingFile.<init>(Fil
eUtil.java:1244)
        at 
org.openide.filesystems.FileUtil$NonCanonicalizingFile.<init>(Fil
eUtil.java:1241)
        at 
org.openide.filesystems.FileUtil.wrapFileNoCanonicalize(FileUtil.j
ava:1224)
        at org.openide.filesystems.FileUtil.access$100(FileUtil.java:
40)
        at 
org.openide.filesystems.FileUtil$NonCanonicalizingFile.getAbsol
uteFile(FileUtil.java:1259)
        at java.io.File.toURI(File.java:607)
        at 
org.openide.filesystems.FileUtil.normalizeFileOnMac(FileUtil.java:
977)
        at 
org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:954)
        at 
org.openide.filesystems.FileUtil$NonCanonicalizingFile.getCanon
icalFile(FileUtil.java:1250)
        at 
org.openide.filesystems.FileUtil.normalizeFileOnMac(FileUtil.java:
978)
        at 
org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:954)
        at 
org.openide.filesystems.FileUtil$NonCanonicalizingFile.getCanon
icalFile(FileUtil.java:1250)
        at 
org.openide.filesystems.FileUtil.normalizeFileOnMac(FileUtil.java:
978)
        at 
org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:954)
        at 
org.openide.filesystems.FileUtil$NonCanonicalizingFile.getCanon
icalFile(FileUtil.java:1250)
        at 
org.openide.filesystems.FileUtil.normalizeFileOnMac(FileUtil.java:
978)
        at 
org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:954)
Comment 1 rmatous 2004-08-31 10:46:41 UTC
/cvs/openide/src/org/openide/filesystems/FileUtil.java
new revision: 1.113; previous revision: 1.112
Comment 2 Jesse Glick 2004-08-31 15:20:33 UTC
*** Issue 48237 has been marked as a duplicate of this issue. ***
Comment 3 David Konecny 2004-09-06 12:36:53 UTC
*** Issue 48276 has been marked as a duplicate of this issue. ***