Closed Bug 1073540 Opened 10 years ago Closed 10 years ago

crash in java.lang.UnsatisfiedLinkError: Native method not found: org.mozilla.gecko.util.NativeJSObject.optString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; at org.mozilla.gecko.util.NativeJSObject.optString(Native Method)

Categories

(Firefox for Android Graveyard :: General, defect)

35 Branch
All
Android
defect
Not set
critical

Tracking

(fennec35+)

RESOLVED WORKSFORME
Tracking Status
fennec 35+ ---

People

(Reporter: aaronmt, Assigned: jchen)

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-bbe139a8-74d4-45f2-8485-40c982140925.
=============================================================

java.lang.UnsatisfiedLinkError: Native method not found: org.mozilla.gecko.util.NativeJSObject.optString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
	at org.mozilla.gecko.util.NativeJSObject.optString(Native Method)
	at org.mozilla.gecko.EventDispatcher.dispatchEvent(EventDispatcher.java:145)
	at org.mozilla.gecko.GeckoAppShell.handleGeckoMessage(GeckoAppShell.java:2327)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:365)
	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:186)
Weird. I see the right native method in mozglue:

typedef jstring (*Java_org_mozilla_gecko_util_NativeJSObject_optString_t)(JNIEnv *, jobject, jstring, jstring);
static Java_org_mozilla_gecko_util_NativeJSObject_optString_t f_Java_org_mozilla_gecko_util_NativeJSObject_optString;
extern "C" NS_EXPORT jstring JNICALL
Java_org_mozilla_gecko_util_NativeJSObject_optString(JNIEnv * arg0, jobject arg1, jstring arg2, jstring arg3) {
    if (!f_Java_org_mozilla_gecko_util_NativeJSObject_optString) {
        arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
                       "JNI Function called before it was loaded");
        return nullptr;
    }
    return f_Java_org_mozilla_gecko_util_NativeJSObject_optString(arg0, arg1, arg2, arg3);
}
#endif

#ifdef JNI_BINDINGS
  xul_dlsym("Java_org_mozilla_gecko_util_NativeJSObject_optString", &f_Java_org_mozilla_gecko_util_NativeJSObject_optString);
#endif


nchen, could you take a look or reassign?
Assignee: nobody → nchen
Status: NEW → ASSIGNED
tracking-fennec: --- → 35+
Besides this one report, there hasn't been any other reports in the last few weeks.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.