Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seeing a java.lang.NullPointerException for several methods #21

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments
Closed
Labels

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. If I run my script which is the following 

import android
droid=android.Android()
print droid.sensorsReadAccelerometer()


What is the expected output? What do you see instead?
Expected to see a list of floats

I see this instead:
java.lang.NullPointerException
Result(id=1, result=None, error=u'java.lang.NullPointerException')



What version of the product are you using? On what operating system?
Running sl4a version 4
Python for Android version 5
Android 2.2.1


Please provide any additional information below.


Original issue reported on code.google.com by asharri...@gmail.com on 13 Jul 2011 at 6:15

@GoogleCodeExporter
Copy link
Contributor Author

Same problem I just had. I'm running SL4A r4 on Android 2.1

Installed Versions -- interpreter: 16, extras: 14, scripts: 13

Original comment by elimisteve on 13 Oct 2011 at 6:37

@GoogleCodeExporter
Copy link
Contributor Author

This is an sl4a issue.
Please see http://code.google.com/p/android-scripting/

Original comment by rjmatthews62 on 3 Apr 2012 at 2:02

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant