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 147389 - java.lang.StackOverflowError when opening JSP file
Summary: java.lang.StackOverflowError when opening JSP file
Status: VERIFIED DUPLICATE of bug 133078
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomasz Slota
URL: http://statistics.netbeans.org/analyt...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 15:32 UTC by josin
Modified: 2008-09-30 09:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full stacktrace log (101.13 KB, text/plain)
2008-09-18 15:29 UTC, josin
Details
Example JSP file (200 bytes, text/plain)
2008-09-18 15:30 UTC, josin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description josin 2008-09-16 15:32:00 UTC
Build: NetBeans IDE 6.0 Beta 1 (Build 200709141330)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Linux, 2.6.20-16-generic, i386
User comments: Opening a empty project, containing only a pom-file

STACKTRACE: (first 10 lines)
java.lang.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:446)
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:517)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
        at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240)
        at java.lang.StringCoding.encode(StringCoding.java:272)
        at java.lang.String.getBytes(String.java:947)
        at java.io.UnixFileSystem.getBooleanAttributes0(UnixFileSystem.java:0)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isDirectory(File.java:754)
        at java.io.File.toURI(File.java:661)
Comment 1 Jaromir Uhrik 2008-09-16 16:21:12 UTC
Passing to openide|filesystem.
Comment 2 Petr Jiricka 2008-09-18 15:22:26 UTC
I can't see the complete stack trace in the URL field right now. Jirko, you reassigned this to web - can you please
comment on why?

Can anyone reproduce with a newer build? The system info says this is from NB 6.0 beta 1, i.e. build that is one year old.
Comment 3 josin 2008-09-18 15:28:58 UTC
I'll attach full stacktrace. It's randomly reproducible on my private web project - I need to open 1-5 jsp file and
error to invoke the exception ... I'll attach single jsp file. I hope, it'd help you. After fix, just let me know and
I'll try to work in my project ...
Comment 4 josin 2008-09-18 15:29:46 UTC
Created attachment 70099 [details]
Full stacktrace log
Comment 5 josin 2008-09-18 15:30:46 UTC
Created attachment 70100 [details]
Example JSP file
Comment 6 Tomasz Slota 2008-09-19 22:07:49 UTC
The original stack trace comes from issue 133078

*** This issue has been marked as a duplicate of 133078 ***
Comment 7 josin 2008-09-30 09:17:55 UTC
I'm not able to reproduce it anymore, it seems to be ok. V.

Product Version: NetBeans IDE Dev (Build 200809300201)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)