question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An unknown server-side error occurred while processing the command. Original error: java.lang.NullPointerException: Attempt to invoke interface method 'int android.widget.Adapter.getCount()' on a null object reference

See original GitHub issue

Hi, I found An unknown server-side error occurred while processing the command. Original error: java.lang.NullPointerException: Attempt to invoke interface method 'int android.widget.Adapter.getCount()' on a null object reference while sending a get source method. Somehow after changing to “this screen”, it will throw this error.

Environment

  • AVD android 9
  • appium 1.9.2 beta 2
  • Capabilities
&{CAPS}     platformName=Android
...                 platformVersion=9.0
...                 udid=emulator-5554
...                 deviceName=Emulator
...                 appActivity=com.presentation.feature.LifeSplashActivity
...                 autoGrantPermissions=True
...                 automationName=Espresso

Link to appium log

Click here

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Nov 14, 2018

Wait until it is published or built the server from sources

0reactions
dpgrahamcommented, Dec 11, 2018

Closing this. If this is still a problem, I’ll re-open.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attempt to invoke interface method 'int java.util.List.size()' on a ...
In the Spielereingabe.java class initialize the list: private final List<Spieler> spielerList = new Arraylist<>();. Best to do the same in ...
Read more >
NullPointerException Attempt to invoke virtual method int java ...
I'm a newbie to Fragments and custom ListView adapters. ... to invoke virtual method int java util ArrayList size on a null object...
Read more >
Diff - platform/frameworks/base - Google Git
frameworks/base/api/7.xml 7 \ -error 1 -error 2 -warning 3 -error 4 -error ... When attempting to connect two Android devices, one device will...
Read more >
New Feature - Release Notes - Java Bug System
createTempFile() throws IOException "Access is denied"; [JDK-6326210] - SAJDI: Null pointer exception while reading address of sender sp.
Read more >
Showing posts for tag "java" - frostillic.us
Jakarta NoSQL. The improvements to the JNoSQL driver come from some needs I came across when moving older lotus.domino/ODA-based code to using JNoSQL ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found