Bugs

crash when open submit ticket page

4y agoCompleted

device info:

Huawei P30 Pro Android 10

Issue:

When user open submit ticket page, it crashed and throw java.lang.InstantiationException - java.lang.Class<com.shakebugs.shake.internal.w7> has no zero argument constructor

  • img/i_sq7g4q2zuzsfa74zawymf1hx

12 comments

  1. Fixed with Shake 16.2.1

  2. Update: Patching this now 👍

  3. Hui Jin It would be helpful if you can copy/paste while stack trace and write a version of Shake you are using

    Monika Marovic

    1. Hui Jin4y ago

      Mislav Stanic:

      Version: 15.3.0

      Stack trace:

      Caused by java.lang.InstantiationException: java.lang.Class<com.shakebugs.shake.internal.w7> has no zero argument constructor

      at java.lang.Class.newInstance(Class.java)

      at androidx.lifecycle.ViewModelProvider$NewInstanceFactory.create(ViewModelProvider.java:2)

      at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:37)

      at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:23)

      at com.shakebugs.shake.internal.x8.onViewCreated(x8.java:60)

      at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:4)

      at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:271)

      at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:124)

      at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:230)

      at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:81)

      at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:21)

      at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:3)

      at android.os.Handler.handleCallback(Handler.java:900)

      at android.os.Handler.dispatchMessage(Handler.java:103)

      at android.os.Looper.loop(Looper.java:219)

      at android.app.ActivityThread.main(ActivityThread.java:8668)

      at java.lang.reflect.Method.invoke(Method.java)

      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)

      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

    2. Hui Jin: I have found a time to check this. It looks like it happens when user navigates from New ticket screen to the Bug mark screen. Is this continuous bug for you or just a single instance?

    3. Hui Jin4y ago

      Mislav Stanic: happened several times. So when plan to fix this?

    4. Hui Jin: We didn't manage to reproduce this issue. But we have a clue from the stack trace and will release a fix that should work with the next version.

      It would be helpful if you can record this issue.

    5. Hui Jin4y ago

      Mislav Stanic: thx a lot.

  4. Mislav Stanic can you please see what is the issue here? Thanks

  5. Hi Hui Jin,

    Thanks for the report. Shake team will see what happened, and we will update you here.

    Stay Tuned,

    Shake Team 🐛

    1. Hui Jin4y ago

      Borna Spanic: Thanks for your quick apply,

      if need more detail info to help debug, feel free to reach out to me

    2. Hui Jin4y ago

      Borna Spanic: Any update?