Forum Discussion

anallagundla's avatar
anallagundla
Contributor
13 years ago

ver4.5.1 - Script library throws Nullpointer exception

Hi /Ole

My loadscript is

def config = new SoapUIConfiguration(project, log)
config.load(context, log)


And i point my script library to local groovy location. I get Nullpointer Exception

Let me know If i should be forwarding you my script library so it can help you debug the issue?

- Abhinav
  • Hi,

    you need to figure out what object is null - are you getting the exception from inside your library?

    /Ole
    SmartBear Software
  • /Ole

    Yes thats right I'm getting NPE from inside of library

    May be some classes we are using our library might have deprecated in 4.5? Its basically hard to debug these kinda issues

    Will it help if I forward you library?


    Thanks

    Abhinav
  • Hi,

    maybe you can just attach the SoapUIConfiguration class?! Did this work in previous versions of soapUI?

    thanks,

    /Ole
    SmartBear Software
  • Yes /Ole this worked completely fine with all previous versions.

    We have this library being used by different teams in our company


    Abhinav
  • Hi /Ole

    Thanks, I already sent the script library to your support and Robert may be looking into the issue


    Abhinav