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 143715 - IDE hangs while creating XML constrained document
Summary: IDE hangs while creating XML constrained document
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 08:28 UTC by Michael Nazarov
Modified: 2008-10-10 22:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
dump (21.74 KB, text/plain)
2008-08-13 17:00 UTC, Michael Nazarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2008-08-13 08:28:07 UTC
This issue found in trunk build from 2008-08-13.
This issue doesn't present in beta build from 2008-08-12.

Steps to reproduce:

1. Create Java application.
2. Create Purchase Order sample schema.
3. Start creating XML Document, select XML Schema Constrained Document.
4. Select Browse in the wizard and navigate to the Purchase Order schema under "By File" branch.
5. Set the root element to purchaseOrder, next, finish.

IDE will hang up. I can't say "forever" but 10 minutes passed without any visible progress
so I killed process.
Reproduced on Windows XP and MacOS platforms.
Comment 1 Michael Nazarov 2008-08-13 08:57:52 UTC
Trunk Build 200808120201 looks good as well, so this issue come with last day changes.
Comment 2 Samaresh Panda 2008-08-13 15:42:15 UTC
Do you have a thread dump? In general when you hit a hang-like situation, it is always a good idea to have the thread
dump. Also are you able to reproduce this consistently or just happened randomly?
Comment 3 Michael Nazarov 2008-08-13 16:05:28 UTC
It appears each time. I think you can create dump easy while trying to reproduce. If no -- I can do so.
Comment 4 Samaresh Panda 2008-08-13 16:12:30 UTC
I know I can create dumps, but I'll have to either install the build or make a fresh local build for that and that will
take some time. It is a good QE practice to file an issues with dumps/logs when necessary. And in this case, it is
necessary.

Also be clear as much as possible? I see that you made version=5.0. Did you mean that?
Comment 5 Michael Nazarov 2008-08-13 16:16:13 UTC
I have to install as well after check on previous build. As for version -- I don't know, I did not set 5.0 :) Set
correct one.
Comment 6 Michael Nazarov 2008-08-13 17:00:28 UTC
Created attachment 67288 [details]
dump
Comment 7 Sonali Kochar 2008-08-13 18:35:25 UTC
fixed
changeset b1a20df25b01 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=b1a20df25b01
Comment 8 Sonali Kochar 2008-08-13 18:36:04 UTC
*** Issue 143331 has been marked as a duplicate of this issue. ***
Comment 9 tonybeckham 2008-10-10 22:17:19 UTC
Fix Verified

Product Version: NetBeans IDE Dev (Build 200810080201)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)