Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 88

Maryke
Aspiring developer
Profile
Posts: 12
Reg: Oct 27, 2012
Klerksdorp, Sou...
2,570
10/30/12 04:52 AM (13 years ago)

Quiz problem

Thanks for all the help so far. I have a problem with the quiz plugin. My app shows up in the emulator, but when I answer the fist question, it crashes and I have to 'force close'. What could the problem be?
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
10/30/12 08:11 AM (13 years ago)
Is this for iOS or Android? If you can...can you post the error that you are receiving? (you should see it in the console for iOS and cat log in Android).
 
Maryke
Aspiring developer
Profile
Posts: 12
Reg: Oct 27, 2012
Klerksdorp, Sou...
2,570
like
10/30/12 12:56 PM (13 years ago)
Errors 10-30 17:10:19.469: E/AndroidRuntime(308): FATAL EXCEPTION: main 10-30 17:10:19.469: E/AndroidRuntime(308): java.lang.NullPointerException 10-30 17:10:19.469: E/AndroidRuntime(308): at com.lisensie.BT_activity_root.transitionToAppHomeScreen(BT_activity_root.java:198) 10-30 17:10:19.469: E/AndroidRuntime(308): at com.lisensie.BT_activity_root$1.handleMessage(BT_activity_root.java:307) 10-30 17:10:19.469: E/AndroidRuntime(308): at android.os.Handler.dispatchMessage(Handler.java:99) 10-30 17:10:19.469: E/AndroidRuntime(308): at android.os.Looper.loop(Looper.java:123) 10-30 17:10:19.469: E/AndroidRuntime(308): at android.app.ActivityThread.main(ActivityThread.java:4627) 10-30 17:10:19.469: E/AndroidRuntime(308): at java.lang.reflect.Method.invokeNative(Native Method) 10-30 17:10:19.469: E/AndroidRuntime(308): at java.lang.reflect.Method.invoke(Method.java:521) 10-30 17:10:19.469: E/AndroidRuntime(308): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 10-30 17:10:19.469: E/AndroidRuntime(308): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 10-30 17:10:19.469: E/AndroidRuntime(308): at dalvik.system.NativeStart.main(Native Method)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.