Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

com.parasoft.jtest.database.entities.GSpringBean.getConstructorArgs don't check constructorArgs

zrlw
zrlw Posts: 2

When constructorArgs is Null, the code 'this.constructorArgs.split' in getConstructorArgs will throw NullPointerException like this:
com.parasoft.jtest.standards.rules.framework.java.JtestRule.startRun(JtestRule.java:605)
java.lang.NullPointerException
at com.parasoft.jtest.database.entities.GSpringBean.getConstructorArgs(GSpringBean.java:118)
at com.parasoft.jtest.standards.utils.ioc.frameworks.IOCXMLSpringInject.postProcess(IOCXMLSpringInject.java:115)

Version: Jtest 10.4.0

Comments

  • Tomasz
    Tomasz Posts: 22

    Hi zrlw,

    Thanks for reaching out to us. We are aware of the issue and it will be fixed in the 10.4.2 release of Jtest. If you have any further questions, feel free to contact Parasoft Support at support@parasoft.com.