Closed
Bug 67741
Opened 24 years ago
Closed 24 years ago
JSObject.getWindow(....) always return NULL?
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
People
(Reporter: joe.chou, Assigned: joe.chou)
Details
sting@itri.org.tw reported the following: I am almost finishing my personal java OJI on Mozilla M18, and I am now debugging LiveConnect for my pjava OJI, I've found that there seems to be bugs in JSObject.getWindow(....), The following is the clling sequence: (1)jsj_JSObject.c(1278) Java_netscape_javascript_JSObject_getWindow(....) .... jsj_env = jsj_enter_js(jEnv, java_applet_obj, NULL, &cx, NULL, &saved_reporter, NULL, 0, NULL); ...... (2)jsj_JSObject.c(690) jsj_enter_js(....) .... #ifdef OJI if (!JSJ_callbacks->enter_js_from_java(jEnv, &err_msg, pNSIPrincipaArray, numPrincipals, pNSISecurityContext)) // now pNSISecurityContext is NULL #else .... #endif .... (3)lcglue.cpp(372) enter_js_from_java_impl(JNIEnv *jEnv, char **errp, void **pNSIPrincipaArray, int numPrincipals, void *pNSISecurityContext) { // now pNSISecurityContext is NULL .... if (pNSISecurityContext != NULL) { .... .... }else { return PR_FALSE; } .... The calling sequence above causes the JSObject.getWindow(....) always return NULL Does anyone know how to solve this problem????? Sting
Reassign to myself.
Assignee: edburns → joe.chou
Summary: JSObject.getWindow(....) always
return NULL → JSObject.getWindow(....) always return NULL?
Comment 2•24 years ago
|
||
Marking NEW to get it off our unconfirmed radar.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•24 years ago
|
||
cc :jst
Comment 4•24 years ago
|
||
This is a duplicate of bug # 63466. The problem is that the registration of the NS_CLIVECONNECT_CID class was removed by a check-in done by valeski back in December. *** This bug has been marked as a duplicate of 63466 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•