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 146638 - StackOverflowError at sun.nio.cs.UTF_8$Decoder.decodeArrayLoop
Summary: StackOverflowError at sun.nio.cs.UTF_8$Decoder.decodeArrayLoop
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-RPC (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Denis Anisimov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-09 12:26 UTC by Lukas Jungmann
Modified: 2010-10-26 11:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 108229


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-09-09 12:26:50 UTC
Build: NetBeans IDE Dev (Build 20080908074124)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b30
OS: Linux, 2.6.24-19-generic, i386
User comments:

 -create a new JAX-RPC client in a javaapp for http://www.netbeans.org/nonav/issues/showattachment.cgi/62056/gqi2.wsdl

STACKTRACE: (first 10 lines)
java.lang.StackOverflowError
        at sun.nio.cs.UTF_8$Decoder.decodeArrayLoop(UTF_8.java:212)
        at sun.nio.cs.UTF_8$Decoder.decodeLoop(UTF_8.java:358)
        at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544)
        at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:140)
        at java.lang.StringCoding.decode(StringCoding.java:173)
        at java.lang.String.<init>(String.java:444)
        at java.lang.String.<init>(String.java:516)
        at java.io.UnixFileSystem.canonicalize0(UnixFileSystem.java:0)
        at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:157)
        at java.io.File.getCanonicalPath(File.java:559)
Comment 1 Milan Kuchtiak 2008-09-10 16:48:47 UTC
qqi2.wsdl references  http://www.netbeans.org/nonav/issues/showattachment.cgi/62056/dto.xsd, which is redirected back to 
 http://www.netbeans.org/nonav/issues/showattachment.cgi/62056/gqi2.wsdl, and therefore the infinite loop.
It's mostly the user problem. Moreover, dto.xsd is in fact wsdl file not schema file.

Nevertheless, JAX-RPC should be prepared for this use case.
Decreasing priority to P4.
Comment 2 Denis Anisimov 2010-10-26 11:45:41 UTC
jax-rpc functionality is on update center ( not under development already ).