FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
06/15/15 09:50 AM (9 years ago)

Crash at startup

Hi guys, im having problem with app in eclipse, it keeps crashing at startup, no errors, tried lots of things but dont know where to start as theres no errors, heres the logcat, if one of you gurus that can read this stuff (im hopeless) that would be great, thanks Sean 06-15 17:39:25.568: E/AndroidRuntime(25234): FATAL EXCEPTION: main 06-15 17:39:25.568: E/AndroidRuntime(25234): Process: com.theearlofdoncaster, PID: 25234 06-15 17:39:25.568: E/AndroidRuntime(25234): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.theearlofdoncaster/com.theearlofdoncaster.BT_activity_host}: java.lang.NullPointerException 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2235) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2285) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.ActivityThread.access$800(ActivityThread.java:138) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1236) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.os.Handler.dispatchMessage(Handler.java:102) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.os.Looper.loop(Looper.java:149) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.ActivityThread.main(ActivityThread.java:5061) 06-15 17:39:25.568: E/AndroidRuntime(25234): at java.lang.reflect.Method.invokeNative(Native Method) 06-15 17:39:25.568: E/AndroidRuntime(25234): at java.lang.reflect.Method.invoke(Method.java:515) 06-15 17:39:25.568: E/AndroidRuntime(25234): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) 06-15 17:39:25.568: E/AndroidRuntime(25234): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603) 06-15 17:39:25.568: E/AndroidRuntime(25234): at dalvik.system.NativeStart.main(Native Method) 06-15 17:39:25.568: E/AndroidRuntime(25234): Caused by: java.lang.NullPointerException 06-15 17:39:25.568: E/AndroidRuntime(25234): at com.theearlofdoncaster.BT_screen_menuButtons.onCreateView(BT_screen_menuButtons.java:175) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.Fragment.performCreateView(Fragment.java:1700) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.BackStackRecord.run(BackStackRecord.java:684) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.Activity.performStart(Activity.java:5240) 06-15 17:39:25.568: E/AndroidRuntime(25234): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2208) 06-15 17:39:25.568: E/AndroidRuntime(25234): ... 11 more 06-15 17:39:25.578: W/ActivityManager(480): Force finishing activity com.theearlofdoncaster/.BT_activity_host 06-15 17:39:25.638: E/IMGSRV(151): :0: PVRDRMOpen: TP3, ret = 50 06-15 17:39:26.078: W/ActivityManager(480): Activity pause timeout for ActivityRecord{21b726d0 u0 com.theearlofdoncaster/.BT_activity_host t32 f} 06-15 17:39:26.138: E/IMGSRV(151): :0: PVRDRMOpen: TP3, ret = 52 06-15 17:39:26.178: W/ResourceType(480): Skipping entry 0x7f040002 in package table 0 because it is not complex! 06-15 17:39:26.188: W/ResourceType(480): Skipping entry 0x7f040003 in package table 0 because it is not complex! 06-15 17:39:26.198: I/ActivityManager(480): Killing 25198:com.acer.ccd/u0a4 (adj 15): empty #17 06-15 17:39:26.608: E/IMGSRV(151): :0: PVRDRMOpen: TP3, ret = 55 06-15 17:39:26.668: E/IMGSRV(151): :0: PVRDRMOpen: TP3, ret = 41 06-15 17:39:26.828: E/IMGSRV(151): :0: PVRDRMOpen: TP3, ret = 43 06-15 17:39:27.428: I/WifiHW(480): CMD: IFNAME=wlan0 SIGNAL_POLL 06-15 17:39:27.428: D/wpa_supplicant(524): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c 06-15 17:39:27.428: D/wpa_supplicant(524): wlan0: Control interface command 'SIGNAL_POLL' 06-15 17:39:27.448: D/wpa_supplicant(524): nl80211: survey data missing! 06-15 17:39:27.448: E/wpa_supplicant(524): recvfrom(ctrl_iface): Try again 06-15 17:39:27.448: I/WifiHW(480): REPLY: RSSI=-32 06-15 17:39:27.448: I/WifiHW(480): REPLY: LINKSPEED=65 06-15 17:39:27.448: I/WifiHW(480): REPLY: NOISE=9999 06-15 17:39:27.448: I/WifiHW(480): REPLY: FREQUENCY=2452 06-15 17:39:28.238: I/ConfigService(21785): onDestroy 06-15 17:39:29.138: I/Process(25234): Sending signal. PID: 25234 SIG: 9 06-15 17:39:29.158: D/InputMethodManagerService(480): --- calledFromForegroundUserOrSystemProcess ? calling uid = 10024 system uid = 1000 calling userId = 0, foreground user id = 0, calling pid = 730com.android.server.InputMethodManagerService.windowGainedFocus(InputMethodManagerService.java:1907) 06-15 17:39:29.158: V/InputMethodManagerService(480): windowGainedFocus: android.os.BinderProxy@21fcaf24 controlFlags=#104 softInputMode=#120 windowFlags=#1910100 06-15 17:39:29.168: V/InputMethodManagerService(480): Unspecified window will hide input 06-15 17:39:29.168: E/JavaBinder(480): !!! FAILED BINDER TRANSACTION !!! 06-15 17:39:29.168: E/JavaBinder(480): !!! FAILED BINDER TRANSACTION !!! 06-15 17:39:29.168: I/Keyboard.Facilitator(23350): onFinishInput() 06-15 17:39:29.168: V/InputMethodManagerService(480): unbindCurrentInputLocked: client = android.os.BinderProxy@221a41b8 06-15 17:39:29.168: W/InputMethodManagerService(480): Got RemoteException sending setActive(false) notification to pid 25234 uid 10136 06-15 17:39:29.168: V/InputMethodManagerService(480): Hide switching menu 06-15 17:39:29.168: V/InputMethodManagerService(480): switching to client: client = android.os.BinderProxy@21fcaf24 keyguard=false 06-15 17:39:29.168: V/InputMethodManagerService(480): Disabling: SessionState{uid 10136 pid 25234 method 220aa320 session 221d1fc0 channel ClientState{21aad470 uid 10136 pid 25234} (server)} 06-15 17:39:29.168: V/InputMethodManagerService(480): Enabling: SessionState{uid 10024 pid 730 method 220aa320 session 2209a218 channel ClientState{21c2e860 uid 10024 pid 730} (server)} 06-15 17:39:29.258: W/InputDispatcher(480): channel '21e02668 com.theearlofdoncaster/com.theearlofdoncaster.BT_activity_start (server)' ~ Consumer closed input channel or an error occurred. events=0x9 06-15 17:39:29.258: E/InputDispatcher(480): channel '21e02668 com.theearlofdoncaster/com.theearlofdoncaster.BT_activity_start (server)' ~ Channel is unrecoverably broken and will be disposed! 06-15 17:39:29.258: W/InputDispatcher(480): Attempted to unregister already unregistered input channel '21e02668 com.theearlofdoncaster/com.theearlofdoncaster.BT_activity_start (server)'
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/15/15 12:51 PM (9 years ago)
If you've recently downloaded this project package, you'll probably have to start using Android Studio. I know David made changes to the project file structures, so that might have something to do with it. Mark
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/15 11:25 PM (9 years ago)
ok mark thanks and i have used studio thanks to your guide, so will give that try :) Sean ps just realized this is for self hosting and it didn't happen to an app i updated last week, so i don't think its that, but i will try studio just to be sure.
 

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.