You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception occurred while executing:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)' on a null object reference
at android.app.LoadedApk.createAppFactory(LoadedApk.java:224)
at android.app.LoadedApk.(LoadedApk.java:152)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2043)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1998)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1970)
at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2054)
at com.android.server.AttributeCache.get(AttributeCache.java:135)
at com.android.server.am.ActivityRecord.(ActivityRecord.java:903)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:804)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:528)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1057)
at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:473)
at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:4841)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:458)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:139)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:15478)
at android.os.Binder.shellCommand(Binder.java:631)
at android.os.Binder.onTransact(Binder.java:529)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4397)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3114)
at android.os.Binder.execTransact(Binder.java:726)
Command: /private/var/root/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true one.tokendex.app/one.tokendex.app.MainActivity
I don't see any of my classes in the error log! I think you need to file this issue to the official Flutter repository (https://github.com/flutter/flutter/issues) and not here.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
ProcessException: ProcessException: Process "/private/var/root/Library/Android/sdk/platform-tools/adb" exited abnormally:
Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=one.tokendex.app/.MainActivity (has extras) }
Exception occurred while executing:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)' on a null object reference
at android.app.LoadedApk.createAppFactory(LoadedApk.java:224)
at android.app.LoadedApk.(LoadedApk.java:152)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2043)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1998)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1970)
at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2054)
at com.android.server.AttributeCache.get(AttributeCache.java:135)
at com.android.server.am.ActivityRecord.(ActivityRecord.java:903)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:804)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:528)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1057)
at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:473)
at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:4841)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:458)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:139)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:15478)
at android.os.Binder.shellCommand(Binder.java:631)
at android.os.Binder.onTransact(Binder.java:529)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4397)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3114)
at android.os.Binder.execTransact(Binder.java:726)
Command: /private/var/root/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true one.tokendex.app/one.tokendex.app.MainActivity
The text was updated successfully, but these errors were encountered: