Hi Team ,

I was downloaded the Pushwoosh Native Amazon Sample Project , running in Amazon Fire Phone Addons SDK it getting force closed .Logcat Error located the "pushManager.registerForPushNotifications();" .

Logcat Error :

06-23 12:46:53.341: E/Trace(1449): error opening trace file: No such file or directory (2) 06-23 12:46:53.591: I/System.out(1449): Tried to get instance of PushManager with no Pushwoosh App ID or Project Id set 06-23 12:46:53.611: D/AndroidRuntime(1449): Shutting down VM 06-23 12:46:53.611: W/dalvikvm(1449): threadid=1: thread exiting with uncaught exception (group=0x40a71930) 06-23 12:46:53.621: E/AndroidRuntime(1449): FATAL EXCEPTION: main 06-23 12:46:53.621: E/AndroidRuntime(1449): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.arellomobile.sample.admmessenger/com.arellomobile.sample.admmessenger.MainActivity}: java.lang.NullPointerException 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.ActivityThread.access$600(ActivityThread.java:141) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.os.Handler.dispatchMessage(Handler.java:99) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.os.Looper.loop(Looper.java:137) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.ActivityThread.main(ActivityThread.java:5041) 06-23 12:46:53.621: E/AndroidRuntime(1449): at java.lang.reflect.Method.invokeNative(Native Method) 06-23 12:46:53.621: E/AndroidRuntime(1449): at java.lang.reflect.Method.invoke(Method.java:511) 06-23 12:46:53.621: E/AndroidRuntime(1449): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 06-23 12:46:53.621: E/AndroidRuntime(1449): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 06-23 12:46:53.621: E/AndroidRuntime(1449): at dalvik.system.NativeStart.main(Native Method) 06-23 12:46:53.621: E/AndroidRuntime(1449): Caused by: java.lang.NullPointerException 06-23 12:46:53.621: E/AndroidRuntime(1449): at com.arellomobile.sample.admmessenger.MainActivity.onCreate(MainActivity.java:60) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.Activity.performCreate(Activity.java:5104) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) 06-23 12:46:53.621: E/AndroidRuntime(1449): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) 06-23 12:46:53.621: E/AndroidRuntime(1449): ... 11 more

asked 23 Jun '14, 13:32
AmazonApp's gravatar image

AmazonApp
111

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×445
×326
×8

question asked: 23 Jun '14, 13:32

question was seen: 869 times

last updated: 23 Jun '14, 13:32