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 84048 - Navigating in column view when a design pattern is being applied causes exceptions
Summary: Navigating in column view when a design pattern is being applied causes excep...
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 17:40 UTC by Andrei Chistiakov
Modified: 2006-09-07 09:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2006-09-01 17:40:16 UTC
Reproduced in build 060831_2 (JDK 1.6 Beta 2)

To reproduce the bug:

- open a single file OTA schema;
- apply Salami Slice pattern to the schema;
- while applying is in progress, in column view navigate through the categories
of components. This leads to different exceptions like NPE,
IndexOutOfBoundsException, etc.
Comment 1 Chris Webster 2006-09-01 17:43:51 UTC
We need to block the UI while the pattern is being applied. This will prevent
these errors from occurring. 
Comment 2 Ayub Khan 2006-09-05 20:25:00 UTC
Fixed.

Files changed:
--------------

/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/wizard/Attic/SchemaTransformProgressPanel.form
new revision: 1.1.2.1; previous revision: 1.1

/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/wizard/Attic/SchemaTransformWizard.java
new revision: 1.1.2.9; previous revision: 1.1.2.8

/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/wizard/Attic/SchemaTransformProgressPanel.java
new revision: 1.1.2.1; previous revision: 1.1

/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/wizard/Attic/Bundle.properties
new revision: 1.1.2.10; previous revision: 1.1.2.9

Comment 3 Ayub Khan 2006-09-06 07:27:20 UTC
Few more changes
---------------
/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/wizard/Attic/SchemaTransformWizard.java
new revision: 1.1.2.11; previous revision: 1.1.2.10

/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/wizard/Attic/SchemaTransformProgressPanel.java
new revision: 1.1.2.3; previous revision: 1.1.2.2
Comment 4 Andrei Chistiakov 2006-09-07 09:43:22 UTC
Verified in build 060906_1.