-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello!
We've been using Transifex for a few months in our open-source Android app:
https://github.com/ThePalaceProject/android-core
We're seeing a few crashes in Crashlytics along these lines:
Fatal Exception: android.content.res.Resources$NotFoundException
Unable to find resource ID #0x2140054
android.content.res.ResourcesImpl.getResourcePackageName (ResourcesImpl.java:263)
android.content.res.Resources.getResourcePackageName (Resources.java:1970)
com.transifex.txnative.TxResources.isAndroidStringResource (TxResources.java:103)
com.transifex.txnative.NativeCore.internalTranslate (NativeCore.java:198)
com.transifex.txnative.NativeCore.translate (NativeCore.java:152)
com.transifex.txnative.TxResources.getText (TxResources.java:63)
android.content.res.Resources.getString (Resources.java:441)
android.content.Context.getString (Context.java:578)
org.chromium.android_webview.AwActionModeCallback.onCreateActionMode (AMAZON_VERSION.json:code):41)
com.android.internal.policy.DecorView$ActionModeCallback2Wrapper.onCreateActionMode (DecorView.java:2397)
com.android.internal.policy.DecorView.startActionMode (DecorView.java:897)
com.android.internal.policy.DecorView.startActionModeForChild (DecorView.java:853)
android.view.ViewGroup.startActionModeForChild (ViewGroup.java:985)
android.view.ViewGroup.startActionModeForChild (ViewGroup.java:985)
android.view.ViewGroup.startActionModeForChild (ViewGroup.java:985)
android.view.ViewGroup.startActionModeForChild (ViewGroup.java:985)
android.view.ViewGroup.startActionModeForChild (ViewGroup.java:985)
android.view.ViewGroup.startActionModeForChild (ViewGroup.java:985)
android.view.View.startActionMode (View.java:6796)
org.chromium.content.browser.selection.SelectionPopupControllerImpl.showActionModeOrClearOnFailure (AMAZON_VERSION.json:code):66)
org.chromium.content.browser.selection.SelectionPopupControllerImpl$2.onClassified (AMAZON_VERSION.json:code):38)
org.chromium.content.browser.selection.SmartSelectionProvider$ClassificationTask.onPostExecute (AMAZON_VERSION.json:code):7)
org.chromium.base.task.AsyncTask$$ExternalSyntheticLambda1.run (AMAZON_VERSION.json:code):15)
android.os.MessageQueue.nativePollOnce (MessageQueue.java)
android.os.MessageQueue.next (MessageQueue.java:326)
android.os.Looper.loop (Looper.java:178)
android.app.ActivityThread.main (ActivityThread.java:6775)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
The obvious answer is that we're somehow missing a translated string somewhere, but even then... That shouldn't cause a crash, right? I'm at a bit of a loss as to how to track down exactly what's going wrong.
Is this a common occurrence with Transifex? Is there a bug here?
Metadata
Metadata
Assignees
Labels
No labels