Closed
Bug 46518
Opened 24 years ago
Closed 23 years ago
Javascript call Java and Java callback to Javascript fails
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rpallath, Assigned: stanley.ho)
References
Details
(Keywords: crash, Whiteboard: oji_escalation, jpibug)
Attachments
(1 file)
28.00 KB,
application/x-tar
|
Details |
This particular Test when invoked on Mozilla (7/25/2000 nighlty build). using latest XPinstall Java Plugin (to be shipped with Netscape 6 PR2). would throw an Exception and throw a java Plugin Exception Dialog box and hangs the browser. java.security.PriveledgedActionException:java.lang.reflectInvocationTargetException at JavaToJS.doCallTest(javaToJs.java:146) at JavaToJS.CallTest(javaToJs.java:113) at java.lang.refelct.Method.invoke (Native Method) at sun.plugin.liveconnect.PriviledgedCallMethodAction.run (Secure.. at java.security.AccessController.doPrivleged(Native Method) at sun.plugin.liveconnect.Secureinvocation.CallMethod( The test is faulty as it catches theException but then does not return. It continues and that 's when it fails. But then this could be very common in many of the pages out there, and it should not hang the browser. It does prompt the dilaog correctly but should not hang. See Attchmt for the Tar (contains HTML , .class file and .java file).
Revised summary, not a security bug.
Summary: LiveCOnnect Test throws Security Exception and fails. → Object passed through Liveconnect is collected twice.
Verified with nighlty build of mozilla (10/20/2000) with FCs bits of JRE (1.3.0_01) on WinNT/98 It no longer hangs the browser
Reassigning to Joe. May not be a bug.
Assignee: jeff.dyer → joe.chou
Status: ASSIGNED → NEW
Comment 10•23 years ago
|
||
*** Bug 59447 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 11•23 years ago
|
||
Testcase executes on win32, then crashes.
Comment 12•23 years ago
|
||
Shouldn't this be a P1 or P2 at least?
Comment 13•23 years ago
|
||
Adding appropriate status to the Status Whiteboard.
Whiteboard: oji_escalation
Comment 14•23 years ago
|
||
We(Stanley and me) figured out a fix in Plugin side and the bug will be fixed in Java plugin 1.4.
Comment 15•23 years ago
|
||
Is there any coding work to be done in the Mozilla code base on this bug? If not, please re-assign to Stanley or close this as not-a-Mozilla bug, please with the appropriate justification.
Updated•23 years ago
|
Whiteboard: oji_escalation → oji_escalation, jpibug
Comment 16•23 years ago
|
||
Stanley: Would you mind to own this bug?
Comment 17•23 years ago
|
||
I filed a bugtraq bug against this. The number is 4475438. Reassign this to you.
Assignee: xiaobin.lu → stanley.ho
Status: ASSIGNED → NEW
Comment 18•23 years ago
|
||
*** Bug 65250 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Summary: Object passed through Liveconnect is collected twice. → Javascript call Java and Java callback to Javascript fails
Comment 19•23 years ago
|
||
The fix will be intergrated with JRE1.4 Beta2 release. Bugtraq 4475438 has been fixed by Stanley Ho.
Status: NEW → ASSIGNED
Comment 20•23 years ago
|
||
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac
Comment 21•23 years ago
|
||
*** Bug 95930 has been marked as a duplicate of this bug. ***
Comment 22•23 years ago
|
||
Just another test case: http://www.highscore.de/mozilla/socket.html The error described in bug 95930 also happens when trying to create a java.net.Socket object (again access denied).
Comment 23•23 years ago
|
||
http://www.highscore.de/mozilla/socket.html does work (no exception) with mozilla 0.9.5 and jdk 1.4 beta2 on win2k ;-) output: Here we go! Trying new Socket() ... OK! Trying new DataOutputStream() ... OK! Trying new DataInputStream() ... OK! Trying new BufferedReader(new InputStreamReader()) ... OK! Let's notify the thread to wait for input ... Now we send HTTP request to get robots.txt of www.highscore.de Here is the thread: Now we are waiting for input! HTTP/1.1 200 OK Date: Sun, 21 Oct 2001 11:49:57 GMT Server: Apache/1.3.12 (Unix) PHP/3.0.14 Last-Modified: Sun, 22 Jul 2001 18:54:49 GMT ETag: "653bd-19-3b5b2179" Accept-Ranges: bytes Content-Length: 25 Content-Type: text/plain User-agent: * Disallow: connection closed
Comment 24•23 years ago
|
||
This bug has been fixed by Stanley Ho (fixed in Sun internal bug 4475438), and the last comment seemed to confirm the fix. Mark fixed.
Comment 25•23 years ago
|
||
This bug has been fixed by Stanley Ho (fixed in Sun internal bug 4475438), and the last comment seemed to confirm the fix. Mark fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•