Forum Discussion

latham187's avatar
latham187
Occasional Contributor
14 years ago

Cannot invoke method compareToIgnoreCase() on null object

Hi,

I've been creating test cases for REST web services for the past several months. Recently I've started testing SOAP web services and I am encountering the following error when trying to run my test cases:

ERROR [errorlog] java.lang.NullPointerException: Cannot invoke method compareToIgnoreCase() on null object
java.lang.NullPointerException: Cannot invoke method compareToIgnoreCase() on null object

All of the test cases are failing. However, when I run each test step manually they all pass. Any suggestions?

-Matt
  • Hi Matt,

    do you get any more error information in the error log at the bottom of the soapUI window? If not, could you perhaps attach a screenshot of when the error occurs?

    thanks!

    /Ole
    SmartBear Software
  • latham187's avatar
    latham187
    Occasional Contributor
    I restarted soapUI and it is now working fine. Thanks!