vladortegab opened a new issue, #1659:
URL: https://github.com/apache/cordova-android/issues/1659

   # Feature Request
   I try to load the application with the cordova run command, and the 
application installs on the cell phone but it does not open, it is an 
application that I am updating the Android, I passed the files from the www 
folder, I installed the plugins one by one, but even so it does not work
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   2023-09-03 23:33:37.113 31509-31509 AndroidRuntime          co.com.prueba    
                    D  Shutting down VM
   2023-09-03 23:33:37.113 31509-31509 QarthLog                co.com.prueba    
                    I  [PatchStore] createDisableExceptionQarthFile
   2023-09-03 23:33:37.114 31509-31509 QarthLog                co.com.prueba    
                    I  [PatchStore] create disable file for co.com.prueba uid 
is 10468
   2023-09-03 23:33:37.124 31509-31509 AndroidRuntime          co.com.prueba    
                    E  FATAL EXCEPTION: main
                                                                                
                       Process: co.com.prueba, PID: 31509
                                                                                
                       java.lang.RuntimeException: Unable to start activity 
ComponentInfo{co.com.prueba/co.com.prueba.MainActivity}: 
java.lang.NullPointerException: Attempt to invoke virtual method 'void 
org.apache.cordova.CordovaPlugin.privateInitialize(java.lang.String, 
org.apache.cordova.CordovaInterface, org.apache.cordova.CordovaWebView, 
org.apache.cordova.CordovaPreferences)' on a null object reference
                                                                                
                        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4060)
                                                                                
                        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4247)
                                                                                
                        at 
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
                                                                                
                        at 
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
                                                                                
                        at 
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
                                                                                
                        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2613)
                                                                                
                        at android.os.Handler.dispatchMessage(Handler.java:110)
                                                                                
                        at android.os.Looper.loop(Looper.java:219)
                                                                                
                        at 
android.app.ActivityThread.main(ActivityThread.java:8668)
                                                                                
                        at java.lang.reflect.Method.invoke(Native Method)
                                                                                
                        at 
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
                                                                                
                        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
                                                                                
                       Caused by: java.lang.NullPointerException: Attempt to 
invoke virtual method 'void 
org.apache.cordova.CordovaPlugin.privateInitialize(java.lang.String, 
org.apache.cordova.CordovaInterface, org.apache.cordova.CordovaWebView, 
org.apache.cordova.CordovaPreferences)' on a null object reference
                                                                                
                        at 
org.apache.cordova.PluginManager.getPlugin(PluginManager.java:187)
                                                                                
                        at 
org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:110)
                                                                                
                        at 
org.apache.cordova.PluginManager.init(PluginManager.java:98)
                                                                                
                        at 
org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:119)
                                                                                
                        at 
org.apache.cordova.CordovaActivity.init(CordovaActivity.java:156)
                                                                                
                        at 
org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:234)
                                                                                
                        at 
co.com.prueba.MainActivity.onCreate(MainActivity.java:40)
                                                                                
                        at 
android.app.Activity.performCreate(Activity.java:8214)
                                                                                
                        at 
android.app.Activity.performCreate(Activity.java:8202)
                                                                                
                        at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
                                                                                
                        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4033)
                                                                                
                        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4247) 
                                                                                
                        at 
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
 
                                                                                
                        at 
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
 
                                                                                
                        at 
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
 
                                                                                
                        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2613) 
                                                                                
                        at android.os.Handler.dispatchMessage(Handler.java:110) 
                                                                                
                        at android.os.Looper.loop(Looper.java:219) 
                                                                                
                        at 
android.app.ActivityThread.main(ActivityThread.java:8668) 
                                                                                
                        at java.lang.reflect.Method.invoke(Native Method) 
                                                                                
                        at 
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
 
                                                                                
                        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109) 
   
   
   ## Feature Description
   <!--
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would 
look like
   Are there any drawbacks? Will this break anything for existing users?
   -->
   
   
   
   ## Alternatives or Workarounds
   <!--
   Describe alternatives or workarounds you are currently using
   Are there ways to do this with existing functionality?
   -->
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to