Trying to open a virtual service model (VSM) in the Workstation and getting the following error:
loading VS model document null.
full stacktrace:
java.lang.NullPointerException
at java.util.zip.Inflater.setInput(Unknown Source)
at com.itko.util.BinaryUtil.decompressZlib(BinaryUtil.java:98)
at com.itko.util.StrUtil.decompressZlib(StrUtil.java:928)
at com.itko.lisa.vse.stateful.model.PLCarrier.getParameterList(PLCarrier.java:89)
at com.itko.lisa.vse.stateful.model.Request.getArguments(Request.java:181)
at com.itko.lisa.vse.stateful.model.Request.toString(Request.java:645)
at com.itko.lisa.vse.stateful.model.Request.getPropertyText(Request.java:670)
at com.itko.util.properties.PropertyUtils.getStringForProperty(PropertyUtils.java:47)
at com.itko.lisa.test.TestExec.getStringValue(TestExec.java:1542)
at com.itko.lisa.test.TestExec.setStateValue(TestExec.java:1500)
at com.itko.lisa.test.TestExec.saveNodeResponse(TestExec.java:974)
at com.itko.lisa.editor.TestNodeInfo.setRet(TestNodeInfo.java:770)
at com.itko.lisa.editor.TestCaseInfo.loadResults(TestCaseInfo.java:1364)
at com.itko.lisa.editor.TestCaseEditor$2.doCallback(TestCaseEditor.java:400)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Unknown Source)
When a VSM or a test case interacts with server, the responses are saved to a response document so the information is available later.
The response documents are created and maintained automatically. They are saved as files with a test case or VSM file name and an .rsp extension.
If for some reason this rsp file is corrupted, you may be unable to open a test case or a VSM.
Look in the folder that has the vsm file, Delete the .rsp file related to a VSM or a test case that you are trying to open.