User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Feedback on Crash java.lang.NullPointerException

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    721
    Mentioned
    35 Post(s)
    Tagged
    0 Thread(s)

    Feedback on Crash java.lang.NullPointerException

    Crash report from Google Play in case this is meaningful or fixable information. There's only 1 report - so the problem is specific to this device.

    Code:
    Today, 6:08 AM on app version 4
    
    
    Coolpad 1904 (1904), 1024MB RAM, Android 9
    
    
    Report 1 of 1
    java.lang.NullPointerException: 
    
      at Runtime.MMFRuntime.HideKeyboard (MMFRuntime.java:1797)
    
    
      at Extensions.CRunAndroid.destroyRunObject (CRunAndroid.java:186)
    
    
      at Objects.CExtension.kill (CExtension.java:157)
    
    
      at RunLoop.CRun.f_KillObject (CRun.java:1696)
    
    
      at RunLoop.CRun.killFrameObjects (CRun.java:964)
    
    
      at RunLoop.CRun.killRunLoop (CRun.java:700)
    
    
      at Application.CRunApp.endFrame (CRunApp.java:1076)
    
    
      at Application.CRunApp.playApplication (CRunApp.java:803)
    
    
      at Application.CRunTimerTask.run (CRunTimerTask.java:52)
    
    
      at android.os.Handler.handleCallback (Handler.java:873)
    
    
      at android.os.Handler.dispatchMessage (Handler.java:99)
    
    
      at android.os.Looper.loop (Looper.java:224)
    
    
      at android.app.ActivityThread.main (ActivityThread.java:7070)
    
    
      at java.lang.reflect.Method.invoke (Native Method)
    
    
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:536)
    
    
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:928)
    
    
    Info on the phone from Google:

    Code:
    
    1904
    
    
    RAM 1024MB (TotalMem: 930MB) Form factor Phone
    System on Chip Mediatek MT6580 Screen size 720 x 1520 (normal)
    CPU 4x ARM Cortex-A7 (1500 Mhz) Screen density (DPI) 320
    ABI armeabi-v7a armeabi SDK Android 9 (SDK 28)
    GPU ARM Mali 400 (500 Mhz) OpenGL ES version 2.0
    ]System features (51 features) android.hardware.audio.low_latency, android.hardware.audio.output, android.hardware.bluetooth, android.hardware.bluetooth_le, android.hardware.camera, android.hardware.camera.any, android.hardware.camera.autofocus, android.hardware.camera.capability.manual_post_processing, android.hardware.camera.capability.manual_sensor, android.hardware.camera.flash, android.hardware.camera.front, android.hardware.faketouch, android.hardware.fingerprint, android.hardware.location, android.hardware.location.gps, android.hardware.location.network, android.hardware.microphone, android.hardware.ram.low, android.hardware.screen.landscape, android.hardware.screen.portrait, android.hardware.sensor.accelerometer, android.hardware.sensor.light, android.hardware.sensor.proximity, android.hardware.telephony, android.hardware.telephony.gsm, android.hardware.touchscreen, android.hardware.touchscreen.multitouch, android.hardware.touchscreen.multitouch.distinct, android.hardware.touchscreen.multitouch.jazzhand, android.hardware.usb.accessory, android.hardware.wifi, android.hardware.wifi.direct, android.software.adoptable_storage, android.software.autofill, android.software.backup, android.software.cant_save_state, android.software.companion_device_setup, android.software.connectionservice, android.software.cts, android.software.device_admin, android.software.device_id_attestation, android.software.file_based_encryption, android.software.home_screen, android.software.input_methods, android.software.print, android.software.securely_removes_users, android.software.verified_boot, android.software.webview, com.coolpad.hardware.display.camera_notch, com.google.android.apps.dialer.GO_EXPERIENCE, com.google.android.feature.WELLBEING
    OpenGL extensions (45 extensions) GL_ARM_mali_program_binary, GL_ARM_mali_shader_binary, GL_ARM_rgba8, GL_ARM_shader_framebuffer_fetch, GL_ARM_shader_framebuffer_fetch_depth_stencil, GL_EXT_blend_minmax, GL_EXT_compressed_ETC1_RGB8_sub_texture, GL_EXT_debug_marker, GL_EXT_discard_framebuffer, GL_EXT_multisampled_render_to_texture, GL_EXT_robustness, GL_EXT_shader_texture_lod, GL_EXT_texture_format_BGRA8888, GL_KHR_debug, GL_KHR_no_error, GL_OES_EGL_image, GL_OES_EGL_image_external, GL_OES_EGL_sync, GL_OES_byte_coordinates, GL_OES_compressed_ETC1_RGB8_texture, GL_OES_compressed_paletted_texture, GL_OES_depth24, GL_OES_depth_texture, GL_OES_depth_texture_cube_map, GL_OES_draw_texture, GL_OES_extended_matrix_palette, GL_OES_fixed_point, GL_OES_framebuffer_object, GL_OES_get_program_binary, GL_OES_mapbuffer, GL_OES_matrix_get, GL_OES_matrix_palette, GL_OES_packed_depth_stencil, GL_OES_point_size_array, GL_OES_point_sprite, GL_OES_query_matrix, GL_OES_read_format, GL_OES_rgb8_rgba8, GL_OES_single_precision, GL_OES_standard_derivatives, GL_OES_stencil8, GL_OES_texture_cube_map, GL_OES_texture_npot, GL_OES_vertex_array_object, GL_OES_vertex_half_float
    Shared libraries (13 libraries) android.ext.services, android.ext.shared, android.test.base, android.test.mock, android.test.runner, com.android.future.usb.accessory, com.android.location.provider, com.android.media.remotedisplay, com.android.mediadrm.signer, com.google.android.gms, com.google.android.maps, javax.obex, org.apache.http.legacy
    Users of this device model can install and upgrade your app.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    yes some device have this issue. For this a change was made that should address this error.

    let me know if you want to try new beta
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    721
    Mentioned
    35 Post(s)
    Tagged
    0 Thread(s)
    None of the devices I test on had this error. So I can't test if it's fixed - because I wouldn't know.

    This version, that this crash is on, was whatever version was current in September 2019. If there's an error in that version onwards, then I must update all my games which I wouldn't do on a beta, it's too much work. I'll wait for the next stable release.

    But, if you're worried that the fix causes a problem on other devices, I can test that it works on my current devices.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    Oh, thanks for your offer

    this fix was checked already in a huaweii and seems Ok, now
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    938
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Is anybody else seeing the "signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)" in "memcpy" error?
    A few versions ago didn't have this issue. I think maybe 292.17 or something like that was fine.
    I am using a bunch of custom extensions, but i am not using CImage etc, so i think it's related to a standard extension, maybe the active picture object or something.

    #00 pc 00000000000174bc /system/lib/libc.so (memcpy+100)
    #01 pc 00000000000130d3 .../lib/arm/libES3Renderer.so (CImage::imageFillData(void*, int, int)+62)
    #02 pc 0000000000013f65 .../lib/arm/libES3Renderer.so (Java_Banks_CImage_allocNative5+1260)

    This only seems to happen on Android 7.0 and 7.1

    I am also seeing a different crash which is only on Y5 2017 (HWMYA-L6737) Android 6.0: (common enough that it impacted 12 users tho)
    #00 pc 000000000006a868 /system/lib64/libc.so (tgkill+8)
    #01 pc 00000000000680b8 /system/lib64/libc.so (pthread_kill+68)
    #02 pc 0000000000023a38 /system/lib64/libc.so (raise+28)
    #03 pc 000000000001e1d8 /system/lib64/libc.so (abort+60)
    #04 pc 0000000000433298 /system/lib64/libart.so (art::Runtime::Abort()+324)
    #05 pc 0000000000138004 /system/lib64/libart.so (art::LogMessage::~LogMessage()+3136)
    #06 pc 000000000030fe64 /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+2284)
    #07 pc 0000000000310430 /system/lib64/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+224)
    #08 pc 000000000034e4ac /system/lib64/libart.so (art::JNI::GetIntArrayElements(_JNIEnv*, _jintArray*, unsigned char*)+772)
    #09 pc 00000000000f72f4 /system/lib64/libandroid_runtime.so (doDecode(_JNIEnv*, SkStreamRewindable*, _jobject*, _jobject*)+700)
    #10 pc 00000000000f7d50 /system/lib64/libandroid_runtime.so
    #11 pc 000000000386af00 /system/framework/arm64/boot.oat (offset 0x2941000)

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    mm is possible this is from APO some devices may crash readying the buffer from picture, not sure why, but a change was made for this and was tested with one of the crashing device with no more crash, if happen to have a device where this can be reproduced, please let eme know teh device and if you want ot test a new runtime and objects from next beta
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    938
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately i don't have a device where this crash can be reproduced, but i did get some strange artifacts when loading some images from URL into the active picture object on an Android 7.1.2 device.

    Google Play reports these devices crashing: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR).png "signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)"

    If you have a new beta update that could resolve this crash i would be very happy if you could send it to me, i can see if i still get the graphical artifacts on my 7.1 device, and i can possibly also email a new .apk update to some users affected by the crash for them to try.
    I always compile through Android Studio manually, so you could also give me the .java files/directories that should be replaced if it's easier.

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    OK, i think new version should help, I will PM you
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    938
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sent you a PM back, still got issues, i also saw this in the logcat if it might help:

    A/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x74832000
    A/DEBUG: backtrace:
    A/DEBUG: #00 pc 000000000001ac60 /system/lib64/libc.so (memcpy+344)
    A/DEBUG: #01 pc 000000000001055c /data/app/clickteam.softwarewolf.package-1/lib/arm64/libES3Renderer.so (_ZN6CImage13imageFillDataEPvii+112)
    A/DEBUG: #02 pc 0000000000011fa8 /data/app/clickteam.softwarewolf.package-1/lib/arm64/libES3Renderer.so (Java_Banks_CImage_allocNative6+648)
    A/DEBUG: #03 pc 00000000009ffd88 /data/app/clickteam.softwarewolf.package-1/oat/arm64/base.odex (offset 0x97b000)

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    938
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Oh, i think it happens when i load an animated .gif, i am now trying to filter out .gif files from being displayed, then i'll see in a day if it makes the crash go away from the 'last 24 hours' report on Google Play.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Android Crash reports java.lang.ArrayIndexOutOfBoundsException
    By Dobermann in forum Android Export Module 2.5
    Replies: 16
    Last Post: 24th January 2020, 09:10 PM
  2. In-App Purchases causes Crashes java.lang.NullPointerException
    By Anton in forum Android Export Module 2.5
    Replies: 1
    Last Post: 14th November 2018, 02:03 PM
  3. app crash after update. java.lang.IllegalStateException
    By Perry in forum Android Export Module 2.5
    Replies: 6
    Last Post: 19th October 2017, 04:09 PM
  4. Users Crash report - java.lang.UnsatisfiedLinkError:
    By macca02 in forum Android Export Module 2.5
    Replies: 4
    Last Post: 2nd November 2014, 07:32 AM
  5. [CRASH] Google Play Crash Report: java.lang.NullPointerException
    By tom79 in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 1st August 2013, 04:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •