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 - StackOverflowException on IDE startup.
Summary: StackOverflowException on IDE startup.
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
: 89560 91234 92338 108403 109022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-13 20:03 UTC by dpolites
Modified: 2007-07-06 16:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (72.62 KB, application/octet-stream)
2006-11-13 20:05 UTC, dpolites
Details
log1 (348.37 KB, application/octet-stream)
2006-11-13 20:06 UTC, dpolites
Details
schemas (2.05 MB, text/plain)
2006-11-30 13:06 UTC, dpolites
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***