TestProject Forum

Java null pointer exception


I am facing problems when I call the keyword to grant permission on device location and media contents.
After calling the first keyword appears a message error like this:
“java.lang.NullPointerException at com.android.ddmlib.MonitorThread.wakeup(MonitorThread.java:504)”

Do you have an idea of what is causing this?

I just reset the mobile application, pause for some seconds and try to give the permissions I need and then this happens…

Hi @mlnogueira,
Please check the following:

  • Check with your developers that the application is actually requesting these permissions in it’s manifest
  • Make sure you are inputting a supported permissions names when calling the action.

If both did not resolve your issue, please contact us with your log files to support@testproject.io

Let me know if you managed.