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 242594 - StackOverflowError at org.openide.filesystems.FileObject.constructName
Summary: StackOverflowError at org.openide.filesystems.FileObject.constructName
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
: 243679 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-06 02:49 UTC by _ tboudreau
Modified: 2015-08-12 14:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208189


Attachments
stacktrace (78.66 KB, text/plain)
2014-03-06 02:49 UTC, _ tboudreau
Details
Possible patch - add warning when long path is constructed (2.61 KB, patch)
2014-03-21 10:28 UTC, Jaroslav Havlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2014-03-06 02:49:01 UTC
This bug was originally marked as duplicate of bug 153375, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20140228-8aabb71e3f6d)
VM: OpenJDK 64-Bit Server VM, 25.0-b70, OpenJDK Runtime Environment, 1.8.0-internal-tim_2014_03_04_12_21-b00
OS: Linux

User Comments:
tboudreau: Guessing something found a symlink?




Stacktrace: 
java.lang.StackOverflowError
   at org.openide.filesystems.FileObject.constructName(FileObject.java:297)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:313)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:313)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:313)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:313)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:313)
Comment 1 _ tboudreau 2014-03-06 02:49:03 UTC
Created attachment 145791 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-03-21 10:28:16 UTC
Created attachment 146216 [details]
Possible patch - add warning when long path is constructed

Attaching a patch. It should be evaluated and tested on Linx before committing.

> User Comments:
> tboudreau: Guessing something found a symlink?
I'm not sure this was caused by a symlink. Maybe an invalid FileObject state.
Did you move some files before the exception appeared?

Can you reproduce it? Do you know which file caused the bug?

Thank you.
Comment 3 Jaroslav Havlin 2015-08-12 14:10:39 UTC
*** Bug 243679 has been marked as a duplicate of this bug. ***