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 96253 - Partner View: Scalability: Auto Create on big file -> IllegalStateException
Summary: Partner View: Scalability: Auto Create on big file -> IllegalStateException
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-22 02:18 UTC by jlautz
Modified: 2007-08-23 05:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalStateException stacktrace (3.12 KB, application/octet-stream)
2007-02-22 02:19 UTC, jlautz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jlautz 2007-02-22 02:18:49 UTC
Seen on Windows XP with EP Gavotte 070220_4 and JDK 1.5.0_10:

1. Download the ebay WSDL file
(developer.ebay.com/webservices/latest/eBaySvc.wsdl) and open it in the WSDL
editor (a few minutes later). 
2. Open the Partner view (take a break).
3. Click Auto Create.
=> IllegalStateException appears. Error dialog shows 2 stack traces, which are
attached.
Comment 1 jlautz 2007-02-22 02:19:45 UTC
Created attachment 38798 [details]
IllegalStateException stacktrace
Comment 2 Ritesh Adval 2007-02-22 06:24:54 UTC
This is indeed a problem. we need to run profiler to find out the problem.

Initial observation is that tree nodes are expanded by default and it is taking
time.

Also the html display name on each node is calculated each time and is time
consuming. (see PartNode), may be we should calculate html display name only if
underlying object changes. (ex if part's element/type is changed then only
recalculate html display name otherwise calculate once and reuse it.)
Comment 3 Alexei Mokeev 2007-02-22 10:33:14 UTC
It is P2 issue filed after bug cut-off date. I assume that it is not a STOPPER
for Beta. If you disagree then rise priority to P1 and remove waiver keyword. 
Comment 4 Alexei Mokeev 2007-03-05 17:24:44 UTC
Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS.
Comment 5 Shivanand Kini 2007-04-17 21:02:11 UTC
removing preview stopper keyword, since this is not going to be integrated for
preview.
Comment 6 Shivanand Kini 2007-06-19 19:26:04 UTC
optimized the tree view. Faster loading of the tree is observed.

There is delay in rendering of the partnerlinktype (when autocreated).
Also see a outofmemory error in partnerview. Working on this now.
Comment 7 Shivanand Kini 2007-06-27 20:43:18 UTC
do not see the exception/error on autocreate in partner view.

It takes some time to load the partner view though.
Comment 8 jlautz 2007-08-23 05:18:44 UTC
Took a really, really long time, but worked with 

Product Version: NetBeans IDE Dev (Build 200708210000) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System:
Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\lautz\.netbeans\dev