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.
NB build 200610240000, Ent Pack Build 20061024 locale: zh, ja, pt_BR reproduce: 1. right click "New" -> "WSDL Document..." 2. New WSDL Document dialog popup, click "Next" button. result: throw exception, can't go to Next step, new WSDL document unsuccessfully *********** Exception occurred ************ at 6:56 PM on Oct 31, 2006 java.lang.NullPointerException at org.netbeans.modules.xml.wsdl.ui.wizard.WsdlPanel.storeSettings (WsdlPanel.java:173) at org.netbeans.modules.project.ui.SimpleTargetChooserPanel.storeSettings (SimpleTargetChooserPanel.java:159) at org.netbeans.modules.xml.wsdl.ui.wizard.WizardNewWSDLStep.storeSettings (WizardNewWSDLStep.java:55) at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1042) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed (NbPresenter.java:1074) 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.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:236) 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:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.Dialog$2.run(Dialog.java:545) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:543) at org.netbeans.core.windows.services.NbPresenter.superShow (NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow (NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run (NbPresenter.java:847) at org.openide.util.Mutex.doEventAccess(Mutex.java:1178) at org.openide.util.Mutex.readAccess(Mutex.java:215) at org.netbeans.core.windows.services.NbPresenter.show (NbPresenter.java:832) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.openide.loaders.TemplateWizard.instantiateImpl (TemplateWizard.java:467) at org.openide.loaders.TemplateWizard.instantiate (TemplateWizard.java:352) at org.netbeans.modules.project.ui.actions.NewFile.doPerform (NewFile.java:123) at org.netbeans.modules.project.ui.actions.NewFile.access$200 (NewFile.java:58) at org.netbeans.modules.project.ui.actions.NewFile$PopupListener.actionPerformed (NewFile.java:317) 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:1778) at java.awt.Component.dispatchEvent(Component.java:3803) 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)
The bug doesn't exist in en locale properities file analyzed: #1: From Coke scope org/netbeans/modules/xml/wsdl/ui/wizard/Bundle.properties LBL_SimpleTargetChooserPanel_FileName_Label=File Name: #2: From NB scope org/netbeans/modules/project/ui/Bundle.properties LBL_TargetChooser_FileName_Label=File Name\: MNE_TargetChooser_FileName_Label=N when the translation ml words for the message#1 and message#2 are the same, the bug would not exist, if the translation is different, the IDE will throw the exception. At the same time, the translation is always different, since #2 need to include menmonics information when l10n: LBL_TargetChooser_FileName_Label=XX(N)X and #1 don't need to include it: LBL_SimpleTargetChooserPanel_FileName_Label=XXX The connection between the two messages should be deleted.
Can code be examined to see if other such situations where the messages used by xmltools in coke are similar to those in the nb xml, and have some dependency on strings being the same ? ken.frank@sun.com
Changed the way to get the name textfield from comparing label strings to getting the first text field in the panel. Fixed in release55 and release55gavotte branches
Verified and fixed in build1111