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

Application error when no string entered #2

Closed
bubal93 opened this issue Apr 24, 2018 · 2 comments
Closed

Application error when no string entered #2

bubal93 opened this issue Apr 24, 2018 · 2 comments

Comments

@bubal93
Copy link

bubal93 commented Apr 24, 2018

If you write or draw nothing inside the Editor view and hit "Convert" button, application will close with this error:
18886-18886/com.myscript.iink.getstarted E/AndroidRuntime: FATAL EXCEPTION: main Process: com.myscript.iink.getstarted, PID: 18886 java.lang.RuntimeException: internal error at com.myscript.iink.NativeFunctions.convert(Native Method) at com.myscript.iink.Editor.convert(Editor.java:839) at com.myscript.iink.getstarted.MainActivity.onOptionsItemSelected(MainActivity.java:173) at android.app.Activity.onMenuItemSelected(Activity.java:3380) at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:368) at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:195) at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:108) at android.support.v7.app.AppCompatDelegateImplV9.onMenuItemSelected(AppCompatDelegateImplV9.java:674) at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822) at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:171) at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:973) at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:963) at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:624) at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:150) at android.view.View.performClick(View.java:5619) at android.view.View$PerformClick.run(View.java:22298) at android.os.Handler.handleCallback(Handler.java:754) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6360) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:880) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)

And if you will enter something, then erase it and hit Convert - the error won't occur.

@q707172686
Copy link

an error occurred when building
Gradle sync failed: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 407"
Consult IDE log for more details (Help | Show Log) (1s 849ms)

@MyScriptSupport
Copy link

Dear Bubal,
can you please try to upgrade to the latest version of iink?
Best regards,
Olivier

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

4 participants