FtcRobotController icon indicating copy to clipboard operation
FtcRobotController copied to clipboard

Crash when launching the app

Open Daltz333 opened this issue 3 years ago • 1 comments

Hope this helps! Running on a very unsupported platform, but it looks like the app crashed due to a software bug, so it's probably still valid.

// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.qualcomm.ftcrobotcontroller/org.firstinspires.ftc.robotcontroller.internal.FtcRobotControllerActivity } in package com.qualcomm.ftcrobotcontroller
    // Rejecting start of Intent { cmp=com.microsoft.windows.userapp/.PlaceholderActivity } in package com.microsoft.windows.userapp
:Sending Trackball (ACTION_MOVE): 0:(3.0,4.0)
// CRASH: com.qualcomm.ftcrobotcontroller (pid 1393)
// Short Msg: java.lang.NullPointerException
// Long Msg: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.HashMap android.hardware.usb.UsbManager.getDeviceList()' on a null object reference
// Build Label: Windows/windows_x86_64/windows_x86_64:11/RD2A.210905.003/eng.latteu.20211008.000710:user/release-keys
// Build Changelist: eng.latteu.20211008.000710
// Build Time: 1633651472000
// java.lang.RuntimeException: Unable to create application org.firstinspires.ftc.robotcore.internal.system.RobotApplication: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.HashMap android.hardware.usb.UsbManager.getDeviceList()' on a null object reference
//      at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6724)
//      at android.app.ActivityThread.access$1300(ActivityThread.java:237)
//      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
//      at android.os.Handler.dispatchMessage(Handler.java:106)
//      at android.os.Looper.loop(Looper.java:223)
//      at android.app.ActivityThread.main(ActivityThread.java:7664)
//      at java.lang.reflect.Method.invoke(Native Method)
//      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
//      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
// Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.HashMap android.hardware.usb.UsbManager.getDeviceList()' on a null object reference
//      at org.firstinspires.ftc.robotcore.internal.system.AppUtil.getUsbFileSystemRoot(AppUtil.java:493)
//      at org.firstinspires.ftc.robotcore.internal.system.AppUtil.initialize(AppUtil.java:224)
//      at org.firstinspires.ftc.robotcore.internal.system.AppUtil.onApplicationStart(AppUtil.java:200)
//      at org.firstinspires.ftc.robotcore.internal.system.RobotApplication.onCreate(RobotApplication.java:50)
//      at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
//      at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6719)
//      ... 8 more
//
** Monkey aborted due to error.
Events injected: 14

Daltz333 avatar Oct 21 '21 03:10 Daltz333