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

Megazord crashes when initiating Dialog #8

Open
thanksmister opened this issue Oct 26, 2018 · 1 comment
Open

Megazord crashes when initiating Dialog #8

thanksmister opened this issue Oct 26, 2018 · 1 comment

Comments

@thanksmister
Copy link

thanksmister commented Oct 26, 2018

I have an application in Google Play (beta release) that seems to be crashing when starting the dialog. I didn't see this error when testing the application locally on different devices.

The same error occurred on multiple devices, running Android 8.0 , Android 9.0, and Android 6.0. The application running Snips v0.58.3. Out of 13 installs, I have a 4 reported devices crashing.

Since the error reported is "caused by: data provided contains a nul byte" with a misspelled "nul" word, I assume this is an internal reported error. The error is also identical across all devices.

java.lang.RuntimeException: Dialogue failed to start
-> caused by: could not open file "\u{0}\u{5}\u{0}\u{0}\xDD\u{3}\u{0}\u{0}\u{16})\xA1?L\u{8}\u{0}\u{0}\u{7}\u{6}\u{0}\u{0}\x8C\u{5}\u{0}\u{0}\xB3\xBA\xA8?O\u{4}\u{0}\u{0}r\t\u{0}\u{0}\u{0}\u{0}\u{0}\u{0}\u{16}7\xC3>\xCC\u{2}\u{0}\u{0}L\n\u{0}\u{0}N\n\u{0}\u{0}\u{0}\u{0}`@/assistant.json"
-> caused by: data provided contains a nul byte
at ai.snips.platform.Megazord$Companion.parseError(Megazord.kt
  at ai.snips.platform.Megazord$Companion.access$parseError (Megazord.kt:36)
  at ai.snips.platform.Megazord.start (Megazord.kt:73)
  at ai.snips.platform.SnipsProcessingService$registerClient$1.invoke (SnipsProcessingService.kt:108)
  at ai.snips.platform.SnipsProcessingService$registerClient$1.invoke (SnipsProcessingService.kt:27)
  at kotlin.concurrent.ThreadsKt$thread$thread$1.run (Thread.kt:30)

I am not sure how to reproduce the error in development, so any insight as to the issue would be great. My concern is that the Snips APK has stability issues and its not production ready, so I would be able to fully publish an Android application built with the Snips SDK.

The application can be side-loaded using the release section of project page https://github.com/thanksmister/voice-panel-android.

@thanksmister thanksmister changed the title Megazord crashes Megazord crashes when initiating Dialog Oct 26, 2018
@sanyaade-machine-learning
Copy link

sanyaade-machine-learning commented Oct 27, 2018

Hi All,

I have the same problems testing the App just now. The app compiles and install into mobile phone device. I unzip snips weather assistant into an SDcard folder named --> snips_android_assistant pop it into my Tablet phone. Next run the App and crashes on the open dialog.

Any help or tips?

God blesses!!!

Best regards,
Sanyaade

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