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.
Steps to reproduce: - open the projects attached - try to add a new test to the AmazonApp project The wizard will not display the AmazonFlow wsdl so user can't generate tests to initiate and test this project
Created attachment 32409 [details] Amazon demo sample
Make sure you resolve any reference problem in the CompApp Project before creating new test case. After I resolved the reference problem in AmazonApp project, I could see the AmazonFlow WSDL in the wizard. However, after I selected an operation in the WSDL and clicked Finish, the test case creation failed with the following error: SEVERE: Fail to load schema types from file:C:\Documents and Settings\jqian\Desktop\AmazonSample\src\AmazonWebServices.wsdl org.netbeans.modules.compapp.test.wsdl.SchemaException at org.netbeans.modules.compapp.test.wsdl.WsdlSupport.loadSchemaTypes(WsdlSupport.java:131) at org.netbeans.modules.compapp.test.wsdl.WsdlSupport.loadSchemaTypes(WsdlSupport.java:100) at org.netbeans.modules.compapp.test.wsdl.WsdlSupport.<init>(WsdlSupport.java:74) at org.netbeans.modules.compapp.test.ui.wizards.NewTestcaseWsdlWizardPanel.storeSettings(NewTestcaseWsdlWizardPanel.java:117) 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:234) 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) 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.pumpEventsForHierarchy(EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:515) at java.awt.Dialog.show(Dialog.java:536) 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.netbeans.modules.compapp.test.ui.actions.AddTestcaseAction.performAction(AddTestcaseAction.java:117) 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) 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) Aug 1, 2006 8:58:27 PM org.netbeans.modules.compapp.test.ui.wizards.NewTestcaseWsdlWizardPanel storeSettings INFO: Writing WsdlSupport to WizardDescriptor Aug 1, 2006 8:58:31 PM org.netbeans.modules.compapp.test.ui.actions.AddTestcaseAction performAction INFO: User finished the wizard Aug 1, 2006 8:58:31 PM org.netbeans.modules.compapp.test.ui.actions.AddTestcaseAction performAction INFO: Got name in NewSchemaAction: NewTestcase3 Aug 1, 2006 8:58:31 PM org.netbeans.modules.compapp.test.ui.actions.AddTestcaseAction performAction SEVERE: Failed to Add Test Case java.lang.NullPointerException at org.netbeans.modules.compapp.test.wsdl.SoapBindingSupport.buildRpcRequest(SoapBindingSupport.java:236) at org.netbeans.modules.compapp.test.wsdl.SoapBindingSupport.buildRequest(SoapBindingSupport.java:124) at org.netbeans.modules.compapp.test.ui.actions.AddTestcaseAction.performAction(AddTestcaseAction.java:132) 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) 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) I will investigate this failure.
This behavior may be related to issue 81598 Still, I can't see the AmazonFlow.wsdl in the new Test wizard. What do you mean by resolving references? What I did was just adding the Amazon sample BPEL module to the project. Do I need to try anything else?
When I opened your project, I had to resolve a reference problem because of some absolute path used in the CompApp Project (project.AmazonSample=D:\\Documents and Settings\\Administrator\\AmazonSample in one of the private.properties file). If you don't see any badge in the CompApp Project node icon, then you don't have any reference problem. Are you using the latest build? There was this exact same issue (IZ 80253) fixed about 10 days ago.
This is strange. All references are resolved in my project I use build from 2006.07.30
This is just a misleading fattor. Whenever someone zips a NetBeans project which contains references to another NetBeans project, the references are typically invalid/broken for the person who unzips the file in a different location. That is because the resolution of the references is in private.properties and specified in a machines specific way. This is perfecctly expected behavior for zipped and unzipped projects. This is the same reason our TRS sample J2EE App contains broken references when the user creates it from samples wizard. I am certain this has nothing to do with the bug since it was not an issue for Mikhail on his machine. The broken refrence is purely a fucntion of zipping and unzipping to differnt directories.
Oops, the wsdl I saw in the test case wizard is AmazonWebServices.wsdl, not AmazonFlow.wsdl. AmazonFlow.wsdl is filtered out on purpose because it doesn't have its own service definitions.
Verified in build 17
verified by submitter of the bug...closing.