Forum Discussion

guaguanco's avatar
guaguanco
New Contributor
16 years ago

NullPointerException when trying to execute 'Deploy as War' ?

Hello, I just started using the SoapUI Eclipse plugin. (Fedora 9 linux environment).

1) Create a project, using a wsdl to create mock service and testcases.
2) Select 'Deploy as War'
3) Select file path, include everything.
4) Immediately get a NullPointerException' error dialog, trace looks like this:

  java.lang.NullPointerException
  at java.io.File.(File.java:240)
  at com.eviware.soapui.tools.MockAsWar.prepareWarFile(MockAsWar.java:178)
  at com.eviware.soapui.tools.MockAsWar.access$000(MockAsWar.java:40)
  at com.eviware.soapui.tools.MockAsWar$1.construct(MockAsWar.java:85)
  at com.eviware.x.impl.swt.SwtProgressDialog$InternalRunnableWithProgress.run(SwtProgressDialog.java:138)
  at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

This happens no matter what deploy settings I choose. Any ideas?
Thanks in advance.

2 Replies

  • Hi!

    Which version of the plugin are you using? Can you try the standalone version of soapUI 3.5 beta to see if that works better?

    (the eclipse plugin will be updated for 3.5 after the 3.5 release)

    regards!

    /Ole
    eviware.com
  • guaguanco's avatar
    guaguanco
    New Contributor
    Thanks, I was able to create a WAR files using the standalone version.