Forum Discussion

mrdwprice's avatar
mrdwprice
Contributor
5 months ago
Solved

Git - Discard all changes

Using the Git - Discard all changes function is giving the below error.

Does anybody know what the problem might be?

 

 

Wed Oct 25 15:42:26 CEST 2023: ERROR: java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.model.tree.nodes.PropertyTreeNode.getModelItem()" because the return value of "java.util.Map.get(Object)" is null
   java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.model.tree.nodes.PropertyTreeNode.getModelItem()" because the return value of "java.util.Map.get(Object)" is null
   	at com.eviware.soapui.model.tree.nodes.PropertiesTreeNode$InternalTestPropertyListener.propertyRemoved(PropertiesTreeNode.java:112)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.firePropertyRemoved(XmlBeansPropertiesTestPropertyHolder.java:147)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.removeProperty(XmlBeansPropertiesTestPropertyHolder.java:225)
   	at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep$InternalTestPropertyListener.propertyRemoved(WsdlRunTestCaseTestStep.java:537)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.firePropertyRemoved(XmlBeansPropertiesTestPropertyHolder.java:147)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.removeProperty(XmlBeansPropertiesTestPropertyHolder.java:225)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansUserSpecificTestPropertyHolder.removeProperty(XmlBeansUserSpecificTestPropertyHolder.java:27)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.clear(XmlBeansPropertiesTestPropertyHolder.java:698)
   	at com.eviware.soapui.impl.wsdl.support.XmlBeansUserSpecificTestPropertyHolder.clear(XmlBeansUserSpecificTestPropertyHolder.java:53)
   	at com.eviware.soapui.impl.wsdl.AbstractTestPropertyHolderWsdlModelItem.release(AbstractTestPropertyHolderWsdlModelItem.java:166)
   	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.release(WsdlTestCase.java:980)
   	at com.eviware.soapui.impl.wsdl.WsdlTestSuite.release(WsdlTestSuite.java:551)
   	at com.eviware.soapui.impl.wsdl.WsdlProject.release(WsdlProject.java:2011)
   	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.release(WsdlProjectPro.java:1234)
   	at com.eviware.soapui.impl.WorkspaceImpl.reloadProject(WorkspaceImpl.java:1002)
   	at com.eviware.soapui.impl.WorkspaceImpl.reloadWsdlProject(WorkspaceImpl.java:985)
   	at com.eviware.soapui.impl.wsdl.WsdlProject.reload(WsdlProject.java:2262)
   	at com.eviware.soapui.impl.wsdl.WsdlProject.reload(WsdlProject.java:2257)
   	at com.eviware.soapui.plugins.vcs.VcsUtils$1.construct(VcsUtils.java:182)
   	at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
   	at com.eviware.soapui.support.swing.SwingWorker.run(SwingWorker.java:88)

 

 

  • The above was caused by a corrupt test case.