custom_rules.xml: detect NullPointerException
This commit is contained in:
parent
907bca4dec
commit
e1b9471fe2
2 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@
|
||||||
<resourcecontains resource="${output.file}" substring="Native crash" />
|
<resourcecontains resource="${output.file}" substring="Native crash" />
|
||||||
<resourcecontains resource="${output.file}" substring="longMsg=junit.framework.AssertionFailedError: View with id: '" />
|
<resourcecontains resource="${output.file}" substring="longMsg=junit.framework.AssertionFailedError: View with id: '" />
|
||||||
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.RuntimeException:" />
|
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.RuntimeException:" />
|
||||||
|
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.NullPointerException:" />
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<exec executable="bash" unless:set="has.crashed">
|
<exec executable="bash" unless:set="has.crashed">
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
<resourcecontains resource="${output.file}" substring="Native crash" />
|
<resourcecontains resource="${output.file}" substring="Native crash" />
|
||||||
<resourcecontains resource="${output.file}" substring="longMsg=junit.framework.AssertionFailedError: View with id: '" />
|
<resourcecontains resource="${output.file}" substring="longMsg=junit.framework.AssertionFailedError: View with id: '" />
|
||||||
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.RuntimeException:" />
|
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.RuntimeException:" />
|
||||||
|
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.NullPointerException:" />
|
||||||
</or>
|
</or>
|
||||||
|
|
||||||
</condition>
|
</condition>
|
||||||
<exec executable="bash" unless:set="has.crashed">
|
<exec executable="bash" unless:set="has.crashed">
|
||||||
<arg value="-c"/>
|
<arg value="-c"/>
|
||||||
|
|
Loading…
Reference in a new issue