[Webkit-unassigned] [Bug 12731] New: JNI conversion to Object[] array doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 10 20:46:12 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12731

           Summary: JNI conversion to Object[] array doesn't work
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: LayoutTestFailure
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org
                CC: dacarson at gmail.com
 BugsThisDependsOn: 12636


The "Send object array" test from Bug 12636 throws an exception:

/path/to/WebKit/JavaScriptCore/bindings/jni/jni_instance.cpp:126 --
invokeMethod:  call objectFunction ([Ljava/lang/Object;)V on 0xfc0fd7c
/path/to/WebKit/JavaScriptCore/bindings/jni/jni_instance.cpp:137 --
invokeMethod:  arg[0] = 0.1,0.1,0.2
objectArray called
java.security.PrivilegedActionException:
java.lang.reflect.InvocationTargetException
        at java.security.AccessController.doPrivileged(Native Method)
        at
sun.plugin.liveconnect.SecureInvocation$2.run(SecureInvocation.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at
sun.plugin.liveconnect.SecureInvocation.CallMethod(SecureInvocation.java:191)
        at
sun.plugin.liveconnect.SecureInvocation.access$300(SecureInvocation.java:51)
        at
sun.plugin.liveconnect.SecureInvocation$CallMethodThread.run(SecureInvocation.java:122)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.plugin.javascript.invoke.JSInvoke.invoke(JSInvoke.java:19)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.plugin.javascript.JSClassLoader.invoke(JSClassLoader.java:44)
        at
sun.plugin.liveconnect.PrivilegedCallMethodAction.run(SecureInvocation.java:580)
        ... 6 more
Caused by: java.lang.NullPointerException
        at
ArrayParameterTestApplet.objectFunction(ArrayParameterTestApplet.java:86)
        ... 17 more
(event handler):java.security.PrivilegedActionException:
java.security.PrivilegedActionException:
java.lang.reflect.InvocationTargetException

Path to manual test: 
WebCore/manual-tests/liveconnect-applet-array-parameters.html


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list