User Tag List

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

Thread: Android Crash with java.lang.NullPointerException

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    122
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Android Crash with java.lang.NullPointerException

    I always get crash in my app:
    Code:
    E/AndroidRuntime: FATAL EXCEPTION: main
        Process: ru.gkproduction.fvsm2, PID: 10135
        java.lang.NullPointerException: Attempt to read from field 'int Movements.CRMvt.rmMvtNum' on a null object reference
            at Expressions.EXP_EXTNMOVE.evaluate(EXP_EXTNMOVE.java:38)
            at RunLoop.CRun.getExpression(CRun.java:6320)
            at RunLoop.CRun.get_EventExpressionAny_WithoutNewValue(CRun.java:6190)
            at Conditions.CND_COMPARE.eva2(CND_COMPARE.java:40)
            at Conditions.CND_COMPARE.eva1(CND_COMPARE.java:36)
            at Events.CEventProgram.computeEventList(CEventProgram.java:1756)
            at RunLoop.CRun.f_GameLoop(CRun.java:5505)
            at RunLoop.CRun.doRunLoop(CRun.java:597)
            at Application.CRunApp.loopFrame(CRunApp.java:1084)
            at Application.CRunApp.playApplication(CRunApp.java:808)
            at Application.CRunTimerTask.run(CRunTimerTask.java:53)
            at android.os.Handler.handleCallback(Handler.java:938)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:223)
            at android.app.ActivityThread.main(ActivityThread.java:7656)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
    I see that the reason could be movements or movement number, but I could not do anything to resolve this error... What should I do?

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,786
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Please post a small mfa for me to understand on how this is happening and correct this bug.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    122
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    @Fernando, okay I sent it to you in private messages

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    122
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    This is possible to resolve?

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,786
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Yes it should be, but I have a problem, first you send me the whole project which is indeed big, and it is asking for external extensions I don't have here.




    Please, you need to provide something simple that reproduce the issue that doesn't involve external extension.
    So please send em a small mfa.
    Images attachées Images attachées
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    122
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Oh, I apologize for the inconvenience.
    Okay, I remove all unnecessary from the mfa. But what should I do if I cannot reproduce this problem myself? I can't make new small mfa with this problem.
    The most I can do is send mfa with only one-two frames. Can I send you at least such mfa?

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,786
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Yes, that happens to crash BUT without any external extension
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    122
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Without any, including each of these?
    2021-04-05_18-06-56.png
    Or can I keep all these extensions from the this list?

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,786
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Yes, for all those extensions that are from Clickteam.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    122
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I sent you new mfa in private message

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Feedback on Crash java.lang.NullPointerException
    By Janette5 in forum Android Export Module 2.5
    Replies: 10
    Last Post: 6th April 2020, 05:34 AM
  2. 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
  3. 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
  4. 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
  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
  •