Forum Discussion
13 years ago
Hi
I am still getting the below error message when executing the below code from command prompt.
[Cannot get property 'projectList'
on null object], see error log for details
java.lang.NullPointerException: Cannot get property 'projectList' on null object
for(project in com.eviware.soapui.SoapUI.workspace.projectList) {
if(project.open && project.name != testRunner.testCase.testSuite.project.name) {
log.info "Running project: " + project.name
// project.run( null, false )
}
}
I am still getting the below error message when executing the below code from command prompt.
[Cannot get property 'projectList'
on null object], see error log for details
java.lang.NullPointerException: Cannot get property 'projectList' on null object
for(project in com.eviware.soapui.SoapUI.workspace.projectList) {
if(project.open && project.name != testRunner.testCase.testSuite.project.name) {
log.info "Running project: " + project.name
// project.run( null, false )
}
}