rockingmaster / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

OI Safe: NullPointerException in AskPassword.checkUserPassword() #400

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Reported by Isaac P-J.

The current version of OI Safe 1.2.9 is crashing with the below null
pointer exception when I try to use it to store encrypted passwords.
The first time I try to retrieve a password, I type in the correct
password, the service starts and I'm all happily logged in, but then
OI Safe crashes.

You can try it out here:

http://animate-innovations.com/content/animate-login-demo

--------------------------

E/AndroidRuntime( 2249): FATAL EXCEPTION: main
E/AndroidRuntime( 2249): java.lang.NullPointerException
E/AndroidRuntime( 2249):        at
org.openintents.safe.AskPassword.checkUserPassword(AskPassword.java:484)
E/AndroidRuntime( 2249):        at
org.openintents.safe.AskPassword.handleContinue(AskPassword.java:274)
E/AndroidRuntime( 2249):        at
org.openintents.safe.AskPassword.access$000(AskPassword.java:58)
E/AndroidRuntime( 2249):        at
org.openintents.safe.AskPassword$3.onEditorAction(AskPassword.java:203)
E/AndroidRuntime( 2249):        at
android.widget.TextView.onEditorAction(TextView.java:3169)
E/AndroidRuntime( 2249):        at
com.android.internal.widget.EditableInputConnection.performEditorAction(Editable
InputConnection.java:83)
E/AndroidRuntime( 2249):        at
com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectio
nWrapper.java:291)
E/AndroidRuntime( 2249):        at
com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInput
ConnectionWrapper.java:75)
E/AndroidRuntime( 2249):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2249):        at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 2249):        at
android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 2249):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2249):        at 
java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2249):        at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 2249):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 2249):        at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by peli0...@googlemail.com on 20 Nov 2011 at 12:15

GoogleCodeExporter commented 8 years ago
Committed revision 3754 to at least catch this NPE.   It may just push the 
issue to another area.

Original comment by rmce...@gmail.com on 23 Nov 2011 at 11:18