java.lang.NullPointerException: lock == null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Thrown when an application is trying to use or access an object whose reference equals to null but if you are getting no message, try using the option -XX:-OmitStackTraceInFastThrow.

java.lang.NullPointerException: lock == null
at java.io.Reader.(Reader.java:64)
at java.io.InputStreamReader.(InputStreamReader.java:122)
at java.io.InputStreamReader.(InputStreamReader.java:59)
at com.robotium.solo.WebUtils.getJavaScriptAsString(WebUtils.java:354)
at com.robotium.solo.WebUtils.prepareForStartOfJavascriptExecution(WebUtils.java:162)
at com.robotium.solo.WebUtils.executeJavaScriptFunction(WebUtils.java:276)
at com.robotium.solo.WebUtils.executeJavaScript(WebUtils.java:238)
at com.robotium.solo.WebUtils.getWebElements(WebUtils.java:111)
at com.robotium.solo.Searcher.searchForWebElement(Searcher.java:238)
at com.robotium.solo.Waiter.waitForWebElement(Waiter.java:498)
at com.robotium.solo.Solo.waitForWebElement(Solo.java:672)

Users with the same issue

Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
3 times, 3 months ago
Once, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.