StaleObjectException


class StaleObjectException : RuntimeException


A StaleObjectException exception is thrown when a UiObject2 is used after the underlying android.view.View has been destroyed. In this case, it is necessary to call findObject to obtain a new UiObject2 instance.

Summary

Public constructors

Public constructors

StaleObjectException

Added in 2.2.0
StaleObjectException()