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.
Save the attached "cwebster_sample.xsd" in a directory. Launch the IDE. From the main toolbar, Window > Favorites In Favorites, right-click, choose Add to Favorites In Add to Favorites dialog box, add "cwebster_sample.xsd" In Favorites, right-click cwebster_sample[...], choose Apply Design Pattern => NPE java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:427) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.netbeans.modules.xml.axi.impl.SchemaGeneratorUtil.inferDesignPattern(SchemaGeneratorUtil.java:1695) at org.netbeans.modules.xml.axi.impl.SchemaGeneratorFactoryImpl.inferDesignPattern(SchemaGeneratorFactoryImpl.java:50) at org.netbeans.modules.xml.schema.abe.wizard.SchemaTransformWizard.inferSchemaDesignPattern(SchemaTransformWizard.java:194) at org.netbeans.modules.xml.schema.abe.wizard.SchemaTransformWizard.getPanels(SchemaTransformWizard.java:99) at org.netbeans.modules.xml.schema.abe.wizard.SchemaTransformWizard.show(SchemaTransformWizard.java:129) at org.netbeans.modules.xml.schema.core.actions.SchemaTransformAction.showWizard(SchemaTransformAction.java:124) at org.netbeans.modules.xml.schema.core.actions.SchemaTransformAction.performAction(SchemaTransformAction.java:65) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:537) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:53) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:533) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Created attachment 34204 [details] Sample schema
Fixed. Files changed: /cvs/xml/axi/src/org/netbeans/modules/xml/axi/impl/Attic/SchemaGeneratorUtil.java new revision: 1.1.2.19; previous revision: 1.1.2.18
Verified in CB 060920_11.