TestProject Forum

Exception in Custom AddOn [SOLVED]

I have created a custom add to interact with Android Element. When using that Add on in my test case i get the following exception -
java.util.concurrent.ExecutionException: java.lang.NullPointerException
Caused by java.lang.NullPointerException at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)

Can somebody help me with this ?

Hi,
A NullPointerException is a very generic exception and it’s almost impossible to detect the root cause of the issue from this exception alone,
Please contact us on support@testproject.io with the source code of the addon and provide a document on how to use the addon or a runner with supported input values for the action.
We will try to assist in anyway possible.