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

Crashing on Android #8

Open
zaynyatyi opened this issue Jul 28, 2015 · 2 comments
Open

Crashing on Android #8

zaynyatyi opened this issue Jul 28, 2015 · 2 comments

Comments

@zaynyatyi
Copy link

Hi,
i have exception on android when trying to open url
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gomadkids.turmali/extensions.webview.WebViewActivity}: java.lang.NullPointerException

unfortunately i can't build extension with -debug flag to provide more information.
Tried different url's (on iOs working perfectly)

@zaynyatyi
Copy link
Author

E/AndroidRuntime(21883): Caused by: java.lang.NullPointerException
E/AndroidRuntime(21883): at extensions.webview.WebViewActivity.initUI(WebViewActivity.java:163)
E/AndroidRuntime(21883): at extensions.webview.WebViewActivity.onCreate(WebViewActivity.java:53)
E/AndroidRuntime(21883): at android.app.Activity.performCreate(Activity.java:5277)
E/AndroidRuntime(21883): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
E/AndroidRuntime(21883): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2322)

That's what i got from debug view.
callback.call("onURLChanging", new Object[] {url}); crashes here, but onUrlChanging callback assigned in haxe app.

@fbricker
Copy link
Contributor

fbricker commented Jun 1, 2016

Hi people, is this situation still happening?
Are you testing with openfl next or legacy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants