Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with launching the release version of the app with plugin #276

Closed
dmvasheka opened this issue Feb 3, 2020 · 3 comments
Closed

Issue with launching the release version of the app with plugin #276

dmvasheka opened this issue Feb 3, 2020 · 3 comments
Labels

Comments

@dmvasheka
Copy link

I encountered the problem of launching a release version of an application with this plugin.

Environment

Flutter version: 1.12.13+hotfix.5
Plugin version: 2.1.0+1
Android version: Platform android-29, build-tools 28.0.3
iOS version:
Xcode version:
Device information:

Description

Expected behavior: app was launched

Current behavior: app wasnt launched

Steps to reproduce

Images

image

LOG

02-03 12:43:49.273 18441 18441 E AndroidRuntime: FATAL EXCEPTION: main
02-03 12:43:49.273 18441 18441 E AndroidRuntime: Process: com.example.rrr2, PID: 18441
02-03 12:43:49.273 18441 18441 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rrr2/com.example.rrr2.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'd.a.b.a.d d.a.b.a.p$d.e()' on a null object reference
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2919)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3054)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.os.Looper.loop(Looper.java:198)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6732)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'd.a.b.a.d d.a.b.a.p$d.e()' on a null object reference
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at com.pichillilorenzo.flutter_inappwebview.j.(Unknown Source:23)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at com.pichillilorenzo.flutter_inappwebview.q.a(Unknown Source:4)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at io.flutter.embedding.engine.e.a(Unknown Source:33)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(Unknown Source:26)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at com.example.rrr2.MainActivity.a(Unknown Source:5)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at d.a.a.a.h.a(Unknown Source:64)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at d.a.a.a.e.onCreate(Unknown Source:22)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7173)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7164)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2899)
02-03 12:43:49.273 18441 18441 E AndroidRuntime: ... 11 more

@wwwdata
Copy link
Contributor

wwwdata commented Mar 3, 2020

Made a fix for this, it was caused by using reflection, which doesn't work in prod, look here: #295

This was referenced Jul 6, 2020
Copy link

github-actions bot commented Oct 7, 2024

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

@github-actions github-actions bot added the stale label Oct 7, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants