Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
17 years ago

Refactor WSDL issues -- 'Could not initialize'

Hello,
I have a project which is point to our integration server. Development just started developing and gave me a WSDL pointing. This WSDL has endpoints pointing to their localhost (build environment).

When I try to refactor WSDL I get "Refactor Schema could be initialized". Is this a bug? or refactoring only works under the same environment conditions.

I have attached a few screenshots.

4 Replies

  • Lars's avatar
    Lars
    Contributor
    Hi Ali,

    Do you see any errors in the Error log?

    /Lars, eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    Thu Jan 10 15:01:48 PST 2008:ERROR:java.lang.NullPointerException
      java.lang.NullPointerException
      at com.eviware.soapui.impl.wsdl.refactoring.RefactoringData$MessageNode.(SourceFile:781)
      at com.eviware.soapui.impl.wsdl.refactoring.RefactoringData$RequestNode.(SourceFile:946)
      at com.eviware.soapui.impl.wsdl.refactoring.RefactoringData$OperationNode.a(SourceFile:215)
      at com.eviware.soapui.impl.wsdl.refactoring.RefactoringData$OperationNode.(SourceFile:179)
      at com.eviware.soapui.impl.wsdl.refactoring.RefactoringData.(SourceFile:95)
      at com.eviware.soapui.impl.wsdl.refactoring.actions.UpdateInterfaceWizard$RefactorPage.init(SourceFile:250)
      at com.eviware.x.impl.swing.JWizardDialog.initPage(JWizardDialog.java:278)
      at com.eviware.x.impl.swing.JWizardDialog.showPage(JWizardDialog.java:261)
      at com.eviware.x.impl.swing.JWizardDialog.access$300(JWizardDialog.java:45)
      at com.eviware.x.impl.swing.JWizardDialog$NextAction.actionPerformed(JWizardDialog.java:355)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.Dialog$1.run(Unknown Source)
      at java.awt.Dialog$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Dialog.show(Unknown Source)
      at java.awt.Component.show(Unknown Source)
      at java.awt.Component.setVisible(Unknown Source)
      at java.awt.Window.setVisible(Unknown Source)
      at java.awt.Dialog.setVisible(Unknown Source)
      at com.eviware.x.impl.swing.JWizardDialog.setVisible(JWizardDialog.java:177)
      at com.eviware.x.impl.swing.SwingXFormDialog.show(SwingXFormDialog.java:35)
      at com.eviware.x.impl.swing.JWizardDialog.show(JWizardDialog.java:237)
      at com.eviware.soapui.impl.wsdl.refactoring.actions.UpdateInterfaceWizard.showDialog(SourceFile:100)
      at com.eviware.soapui.impl.wsdl.refactoring.actions.ProUpdateInterfaceAction.perform(SourceFile:43)
      at com.eviware.soapui.impl.wsdl.refactoring.actions.ProUpdateInterfaceAction.perform(SourceFile:17)
      at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:92)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.AbstractButton.doClick(Unknown Source)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
      at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
  • Lars's avatar
    Lars
    Contributor
    Hi again!

    The stack trace seems to be from the 2.0 beta2 release, and the NullPointerException on that line is fixed in the 2.0 release. Is this correct, and can you test the 2.0 release in that case?

    Regards,
    Lars / eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    oh .. for some reason i thought beta 2 was the latest one. I checked with 2.0pro and I dont see the issue. sorry for the confusion.