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.
1. Create loanApplication sample schema. 2. Switch to Design view. 3. Double-click sequence under autoLoanApplication element. Combobox (Sequence, Choice, All) appears 4. Change it to choice. 5. Double-click it again and change to sequence. Result: IDE freezes.
Created attachment 37941 [details] thread dump showing axicomponent
Checking in AXIComponent.java; new revision: 1.1.2.80.6.4; previous revision: 1.1.2.80.6.3
Partially fixed in the latest 070208_13: changing Sequence to Choice and vice versa is now ok; changing Sequence to All, then All to Sequence hangs the IDE.
Solution: Instead of AXIModel do the remove of old compositor and adding new one, let the code generator do the task. This will avoid the deadlock. Files changed: /cvs/xml/axi/src/org/netbeans/modules/xml/axi/impl/AXIModelImpl.java new revision: 1.1.2.42.6.9; previous revision: 1.1.2.42.6.8 /cvs/xml/axi/src/org/netbeans/modules/xml/axi/impl/SchemaGeneratorUtil.java new revision: 1.1.2.28.6.4; previous revision: 1.1.2.28.6.3 /cvs/xml/axi/src/org/netbeans/modules/xml/axi/AXIComponent.java <--- Revert back old change new revision: 1.1.2.80.6.7; previous revision: 1.1.2.80.6.6 /cvs/xml/axi/src/org/netbeans/modules/xml/axi/Compositor.java new revision: 1.1.2.21.6.2; previous revision: 1.1.2.21.6.1 /cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/CompositorPanel.java new revision: 1.1.2.67.6.2; previous revision: 1.1.2.67.6.1
Verified in 070214_13