After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751664 - gstjniutils.c - JNI method IDs not set for android platform causing app to crash during runtime.
gstjniutils.c - JNI method IDs not set for android platform causing app to cr...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other other
: Normal normal
: 1.5.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 752324 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-06-29 16:23 UTC by Milos Pesic
Modified: 2015-08-16 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milos Pesic 2015-06-29 16:23:33 UTC
initialize_classes not invoked from gst_amc_jni_initialize_java_vm.

reason:
   if (java_vm) {
     GST_DEBUG ("Java VM already provided by the application");	
     return TRUE;
   }

the following fix works fine:
if (java_vm) {
     GST_DEBUG ("Java VM already provided by the application");
     return initialize_classes ();
}
Comment 1 Sebastian Dröge (slomo) 2015-06-29 16:51:33 UTC
Thanks!

commit d5a676aec8cd95f76888ae253b0a9976816a41b6
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Jun 29 18:50:09 2015 +0200

    androidmedia: Call initialize_classes() also when we got the Java VM from the app
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751664
Comment 2 Sebastian Dröge (slomo) 2015-08-13 16:21:16 UTC
*** Bug 752324 has been marked as a duplicate of this bug. ***