ver4.5.1 - Script library throws Nullpointer exception

Report your bugs here. We promise to deal with them.

ver4.5.1 - Script library throws Nullpointer exception

Postby anallagundla » 02 Aug 2012 00:11

Hi /Ole

My loadscript is

Code: Select all
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
anallagundla
soapui pro users
soapui pro users
 
Posts: 42
Joined: 21 Jun 2011 17:58

Re: ver4.5.1 - Script library throws Nullpointer exception

Postby SmartBear Support » 02 Aug 2012 12:13

Hi,

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

/Ole
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6705
Joined: 16 Feb 2009 10:53

Re: ver4.5.1 - Script library throws Nullpointer exception

Postby anallagundla » 02 Aug 2012 17:30

/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
anallagundla
soapui pro users
soapui pro users
 
Posts: 42
Joined: 21 Jun 2011 17:58

Re: ver4.5.1 - Script library throws Nullpointer exception

Postby SmartBear Support » 02 Aug 2012 21:44

Hi,

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

thanks,

/Ole
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6705
Joined: 16 Feb 2009 10:53

Re: ver4.5.1 - Script library throws Nullpointer exception

Postby anallagundla » 02 Aug 2012 22:56

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

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


Abhinav
anallagundla
soapui pro users
soapui pro users
 
Posts: 42
Joined: 21 Jun 2011 17:58

Re: ver4.5.1 - Script library throws Nullpointer exception

Postby SmartBear Support » 06 Aug 2012 11:53

Hi,

please attach the library either here or send it to our support at smartbear-sweden-support@smartbear.com - and we'll try to figure it out...

regards,

/Ole
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6705
Joined: 16 Feb 2009 10:53

Re: ver4.5.1 - Script library throws Nullpointer exception

Postby anallagundla » 07 Aug 2012 04:24

Hi /Ole

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


Abhinav
anallagundla
soapui pro users
soapui pro users
 
Posts: 42
Joined: 21 Jun 2011 17:58


Return to soapUI Pro Bugs