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

android.content.res.Resources$NotFoundException: String resource ID #0x290 #155

Closed
galadril opened this issue Dec 30, 2015 · 7 comments
Closed

Comments

@galadril
Copy link
Owner

android.content.res.Resources$NotFoundException: String resource ID #0x290
    at android.content.res.Resources.getText(Resources.java:312)
    at android.widget.TextView.setText(TextView.java:4422)
    at nl.hnogames.domoticz.UI.WeatherInfoDialog.show(WeatherInfoDialog.java:85)
    at nl.hnogames.domoticz.Fragments.Weather.showInfoDialog(Weather.java:127)
    at nl.hnogames.domoticz.Fragments.Weather.access$500(Weather.java:29)
    at nl.hnogames.domoticz.Fragments.Weather$1$1.onItemLongClick(Weather.java:98)
    at android.widget.AbsListView.showContextMenuForChild(AbsListView.java:3194)
    at android.view.View.showContextMenu(View.java:5298)
    at android.view.View.performLongClick(View.java:5246)
    at android.view.View$CheckForLongPress.run(View.java:21127)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
@galadril
Copy link
Owner Author

I don't really get how this crash could happen...
It's like a string resource id was not available on runtime??

@galadril
Copy link
Owner Author

I think it has something to do with the french translation not being complete (or contains wrong strings..)

http://stackoverflow.com/questions/29843131/android-content-res-resourcesnotfoundexception-string-array-resource-id-0x7f0

@galadril
Copy link
Owner Author

Maybe we should remove the current French translation and do it again via Crowndin..

@RoadXY
Copy link
Contributor

RoadXY commented Dec 31, 2015

I agree.

@galadril
Copy link
Owner Author

@fchauveau sorry we're going to remove the french translations for now...
They are causing crashes...

We're going to use a translation service, RoadXY wil guide you!

galadril added a commit that referenced this issue Dec 31, 2015
#155 Temporarily removed French translation because of resource string
exceptions on runtime
(see issue)
@fchauveau
Copy link
Contributor

Okay I'll look further on how this bug could append.

@RoadXY
Copy link
Contributor

RoadXY commented Dec 31, 2015

We have Crowdin almost ready now:
https://crowdin.com/project/domoticz-for-android

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

No branches or pull requests

3 participants