Menu

#6 RuntimeException in setup() of Suite class

open
nobody
None
5
2006-06-20
2006-06-20
No

This exception should be catched otherwise jetif
stopped:
java.lang.NullPointerException
at test.TestSuite.setup(TestSuite.java:70)
at jetif.SuiteRunner.run(SuiteRunner.java:78)
at jetif.SuiteController$1.run
(SuiteController.java:69)
----
This situation is reproduced in cleanUp() method.

Discussion

  • Jetif Administrator

    Logged In: YES
    user_id=1452752

    The exception occurs in your custom code, so do you means
    the framework should catch all exception from custom code?
    Can you simply fix it in your own code?

     
  • Alexey Sadykov

    Alexey Sadykov - 2006-06-30

    Logged In: YES
    user_id=1250793

    Java code can contain errors - it's normal. But in anycase
    jetif shouldn't stop precess.
    If RuntimeException was detected in setup() method then
    jetif should skip this suite and continue with another one.

     

Log in to post a comment.

MongoDB Logo MongoDB