patreek / marketbilling

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

NullPointerException in com.prime31.GoogleIABProxyActivity.onCreate #107

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Run my app(IABTestScene) and click "Initialize IAB"
2. click "Test Purchase with Test Product", jump to test product page in google 
play
3. purchase the test product id "android.test.purchased" in google play

EXPECTED OUTPUT:
back to my app after purchasing.

ACTUAL OUTPUT:
my app crash

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:
4.0.4

MARKET/MYAPPS VERSION:
Play Store 3.10.14

DEVICE:
Sony Xperia LT26W

OUTPUT FROM ADB BUGREPORT ATTACHED:
(Note: The output from "adb bugreport" is required for all bug reports.)
03-01 15:55:01.589 I/Prime31-Proxy( 7924): proxy received action. sku: 
android.test.purchased
03-01 15:55:01.599 I/Prime31-Proxy( 7924): unhandled exception while attempting 
to purchase item: null
03-01 15:55:01.599 I/Prime31-Proxy( 7924): going to end the async operation 
with null data to clear out the queue
03-01 15:55:01.599 D/AndroidRuntime( 7924): Shutting down VM
03-01 15:55:01.599 W/dalvikvm( 7924): threadid=1: thread exiting with uncaught 
exception (group=0x40adf210)
03-01 15:55:01.609 E/AndroidRuntime( 7924): FATAL EXCEPTION: main
03-01 15:55:01.609 E/AndroidRuntime( 7924): java.lang.RuntimeException: Unable 
to start activity 
ComponentInfo{com.foo.foo/com.prime31.GoogleIABProxyActivity}: 
java.lang.NullPointerException
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.ActivityThread.access$600(ActivityThread.java:127)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.os.Looper.loop(Looper.java:137)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.ActivityThread.main(ActivityThread.java:4441)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
java.lang.reflect.Method.invoke(Method.java:511)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
dalvik.system.NativeStart.main(Native Method)
03-01 15:55:01.609 E/AndroidRuntime( 7924): Caused by: 
java.lang.NullPointerException
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
com.prime31.GoogleIABProxyActivity.onCreate(GoogleIABProxyActivity.java:40)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.Activity.performCreate(Activity.java:4465)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
03-01 15:55:01.609 E/AndroidRuntime( 7924):     ... 11 more
03-01 15:55:01.609 W/ActivityManager(  337):   Force finishing activity 
com.foo.foo/com.prime31.GoogleIABProxyActivity

NOTES:
most android devices work fine

Original issue reported on code.google.com by a...@happylatte.com on 1 Mar 2013 at 8:04

GoogleCodeExporter commented 8 years ago
sorry, report to the wrong place, please help close it. thanks.

Original comment by a...@happylatte.com on 1 Mar 2013 at 8:18