Forum Discussion
Service_Mesh-SU
11 years agoOccasional Contributor
Yes, there were a few more lines following the line with the NPE. Sorry for not including those.
Caused by: java.lang.NullPointerException
at net.infonode.properties.propertymap.PropertyMapManager.addMapChanges(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl$1.signalEmitted(Unknown Source)
at net.infonode.util.signal.Signal.emit(Unknown Source)
at net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap.fireEntriesChanged(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl$PropertyObjectMap.fireEntriesChanged(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl.firePropertyValueChanged(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl.setValue(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapValueHandler.setValue(Unknown Source)
at net.infonode.properties.util.ValueHandlerProperty.setValue(Unknown Source)
at net.infonode.properties.types.EnumProperty.setValue(Unknown Source)
at net.infonode.properties.types.DirectionProperty.set(Unknown Source)
at net.infonode.tabbedpanel.TabbedPanelProperties.setTabAreaOrientation(Unknown Source)
at com.eviware.soapui.support.components.JInspectorPanelImplPro.<init>(SourceFile:126)
... 37 more
Also, I'm including the contents of the event handlers. However, I don't think they're the problem.
TestRunListener.beforeRun
def smi_test_root_dir = context.expand( '${smi_test_root_dir}' )
filePath = smi_test_root_dir + '/Reports/'
fos = new FileOutputStream( filePath + 'Results.txt', false )
pw = new PrintWriter( fos )
pw.write('Test Suite Name : Test Case Name : Test Result\n')
pw.close()
fos.close()
TestRunListener.afterStep
def smi_test_root_dir = context.expand( '${smi_test_root_dir}' )
filePath = smi_test_root_dir + '/Reports/'
fos = new FileOutputStream( filePath + 'Report.txt', true )
pw = new PrintWriter( fos )
pw.write("Customized message\n")
testStepResult.writeTo( pw )
pw.close()
fos.close()
TestSuiteRunListener.beforeTestCase
def smi_test_root_dir = context.expand( '${smi_test_root_dir}' )
filePath = smi_test_root_dir + '/Reports/'
fos = new FileOutputStream( filePath + 'Report.txt', true )
pw = new PrintWriter( fos )
pw.write("Customized message\n")
testStepResult.writeTo( pw )
pw.close()
fos.close()
Caused by: java.lang.NullPointerException
at net.infonode.properties.propertymap.PropertyMapManager.addMapChanges(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl$1.signalEmitted(Unknown Source)
at net.infonode.util.signal.Signal.emit(Unknown Source)
at net.infonode.util.collection.notifymap.AbstractConstChangeNotifyMap.fireEntriesChanged(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl$PropertyObjectMap.fireEntriesChanged(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl.firePropertyValueChanged(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapImpl.setValue(Unknown Source)
at net.infonode.properties.propertymap.PropertyMapValueHandler.setValue(Unknown Source)
at net.infonode.properties.util.ValueHandlerProperty.setValue(Unknown Source)
at net.infonode.properties.types.EnumProperty.setValue(Unknown Source)
at net.infonode.properties.types.DirectionProperty.set(Unknown Source)
at net.infonode.tabbedpanel.TabbedPanelProperties.setTabAreaOrientation(Unknown Source)
at com.eviware.soapui.support.components.JInspectorPanelImplPro.<init>(SourceFile:126)
... 37 more
Also, I'm including the contents of the event handlers. However, I don't think they're the problem.
TestRunListener.beforeRun
def smi_test_root_dir = context.expand( '${smi_test_root_dir}' )
filePath = smi_test_root_dir + '/Reports/'
fos = new FileOutputStream( filePath + 'Results.txt', false )
pw = new PrintWriter( fos )
pw.write('Test Suite Name : Test Case Name : Test Result\n')
pw.close()
fos.close()
TestRunListener.afterStep
def smi_test_root_dir = context.expand( '${smi_test_root_dir}' )
filePath = smi_test_root_dir + '/Reports/'
fos = new FileOutputStream( filePath + 'Report.txt', true )
pw = new PrintWriter( fos )
pw.write("Customized message\n")
testStepResult.writeTo( pw )
pw.close()
fos.close()
TestSuiteRunListener.beforeTestCase
def smi_test_root_dir = context.expand( '${smi_test_root_dir}' )
filePath = smi_test_root_dir + '/Reports/'
fos = new FileOutputStream( filePath + 'Report.txt', true )
pw = new PrintWriter( fos )
pw.write("Customized message\n")
testStepResult.writeTo( pw )
pw.close()
fos.close()
Related Content
- 6 years ago_Oliver_
- 5 years agoJonathanRoux