Forum Discussion

mermet's avatar
mermet
Occasional Contributor
17 years ago

soapUI 2.0 pro: context.myXml = myXml causing java.lang.NullPointerException

Hi, I'm seeing this error in the soapUI.log while executing the statement context.myXml = myXml  in a groovy script. The error is apparently without consequence, but still appearing as an Exception with the following Exception stack. I have verified that myXml is not null.

Is there a way to get rid of that error ?

Thanks a lot.


12:05:09,328 ERROR [SoapUI] An error occured [java.lang.NullPointerException], s
ee error log for details
java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Unknown Source)
        at java.util.Properties.load0(Unknown Source)
        at java.util.Properties.load(Unknown Source)
        at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHo
lder.addPropertiesFromFile(XmlBeansPropertiesTestPropertyHolder.java:317)
        at com.eviware.soapui.model.support.SettingsTestPropertyHolder.addProper
tiesFromFile(SettingsTestPropertyHolder.java:118)
        at com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils.ini
tGlobalProperties(PropertyExpansionUtils.java:92)

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi mermet,

    this is an internal bug that shouldn't affect your script execution, it will be fixed in the upcoming 2.0.1 release..

    regards!

    /Ole
    eviware.com