Forum Discussion

Pat's avatar
Pat
Occasional Contributor
13 years ago

Action Extension no longer working in SopaUIPro 3.6.1

Hi,

I recently upgraded my version of SoapUIPro from 3.6 to 3.6.1 and as a side effect, actions that I was using that were developed as extensions are no longer working. I f I revert to 3.6 they work without any issues.

The SoapUIPro preference is set to the right path for the groovy script library but I tells me it cannot find the class. Where there any changes regarding action extensions between the two version?

Here is the exception I get when starting SoapUI:


Mon May 09 09:33:07 EDT 2011:ERROR:java.lang.ClassNotFoundException: com.acquisio.soapui.SwitchEnvironment
java.lang.ClassNotFoundException: com.acquisio.soapui.SwitchEnvironment
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.eviware.soapui.support.action.SoapUIActionRegistry.addConfig(SoapUIActionRegistry.java:141)
at com.eviware.soapui.SwingSoapUICore.addExternalActions(SwingSoapUICore.java:166)
at com.eviware.soapui.SwingSoapUICore.afterStartup(SwingSoapUICore.java:84)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.afterStartup(SourceFile:994)
at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:790)
at com.eviware.soapui.SoapUIPro.b(SourceFile:268)
at com.eviware.soapui.SoapUIPro.a(SourceFile:193)
at com.eviware.soapui.SoapUIPro$SoapUIProRunner.run(SourceFile:1198)
at com.eviware.soapui.SoapUIPro.main(SourceFile:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    hmm.. have you tried the nightly build? If so, can you share exactly the configuration of your action extension (not the action itself) so we can try to reproduce?

    regards!

    /Ole
    eviware.com
  • Pat's avatar
    Pat
    Occasional Contributor
    The latest nightly build does not seem to resolve my issue. Here is the configuration of my extension:


    <?xml version="1.0" encoding="UTF-8"?>

    <tns:soapui-actions xmlns:tns="http://eviware.com/soapui/config">

    <tns:action id="SwitchEnvironment" actionClass="com.acquisio.soapui.SwitchEnvironment"/>

    <tns:actionGroup id="EnabledWsdlProjectActions">
    <tns:actionMapping actionId="SwitchEnvironment" name="Switch Environment" description= "Switch between dev and staging"
    param="com.acquisio.soapui.SwitchEnvironment"/>
    </tns:actionGroup>

    </tns:soapui-actions>
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    ok, thanks for this. It will be fixed in the upcoming 4.0 beta1 release (next week). Please give that a go when available and let us know if it still aint working!

    regards,

    /Ole
    eviware.com