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

Summary: StackOverflowError at org.openide.filesystems.FileObject.constructName
Product: platform Reporter: _ tboudreau <tboudreau>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: exceptions_reporter
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208189
Attachments: stacktrace
Possible patch - add warning when long path is constructed

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. ***