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 89247

Summary: StackOverflowException on IDE startup.
Product: xml Reporter: dpolites <dpolites>
Component: Schema ToolsAssignee: Samaresh Panda <samaresh>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: log
log1
schemas

Description dpolites 2006-11-13 20:03:14 UTC
I opened an XML schema file that contained references to many other XML schema
files which also contain references and so on.  Netbeans crashed and then on
restart throws a stack overflow exception. The only way I could prevent the
stack over flow exception and run Netbeans again was to rename the directory
that contained the schemas so that they could not be found by the IDE.  I also
have the enterprise pack installed.
Comment 1 dpolites 2006-11-13 20:05:45 UTC
Created attachment 36021 [details]
log
Comment 2 dpolites 2006-11-13 20:06:15 UTC
Created attachment 36022 [details]
log1
Comment 3 Max Sauer 2006-11-20 09:28:58 UTC
Reassigning to xml module for eval..
Comment 4 Samaresh Panda 2006-11-20 19:25:41 UTC
*** Issue 89560 has been marked as a duplicate of this issue. ***
Comment 5 Samaresh Panda 2006-11-20 19:26:15 UTC
Is it possible for you to attach the schema files you were using.
Comment 6 dpolites 2006-11-30 13:06:24 UTC
Created attachment 36385 [details]
schemas
Comment 7 dpolites 2006-11-30 13:09:14 UTC
Unzip the schemas and open the following schema
ows4-demo-schemas\ows\ows4-demo\sos\current\sosAll.xsd.

This schema imports most of the other schemas in the directory and also imports
schemas from urls.
Comment 8 Samaresh Panda 2006-12-08 01:06:24 UTC
Fix integrated.
ModelAccessImpl.java: 1.1.2.23.6.3;
AXIModelImpl.java: 1.1.2.42.6.4;
Unit tests added as well.

For QE to be able to test, create three schemas (A, B, C).
A imports/includes B
B imports/includes C
C imports/includes A

Once a build with this fix is available, we'll let you know through nbusers.
Comment 9 Samaresh Panda 2006-12-18 20:01:07 UTC
*** Issue 91234 has been marked as a duplicate of this issue. ***
Comment 10 Peter Pis 2007-01-14 09:51:00 UTC
*** Issue 92338 has been marked as a duplicate of this issue. ***
Comment 11 htt 2007-01-19 18:19:06 UTC
Verified in 070117_9 with 1.5.0_09 & 1.6.0 using the provided schemas.
Comment 12 Mikhail Matveev 2007-02-20 14:28:52 UTC
Verified using provided schemas.
Also verified using Sam's example.
Comment 13 Samaresh Panda 2007-07-03 18:43:17 UTC
*** Issue 108403 has been marked as a duplicate of this issue. ***
Comment 14 Samaresh Panda 2007-07-06 16:43:37 UTC
*** Issue 109022 has been marked as a duplicate of this issue. ***