crash when open submit ticket page
complete
H
Hui Jin
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
Log In
Mislav Stanic
complete
Fixed with Shake 16.2.1
Peter Simic
in progress
Update: Patching this now 👍
Mislav Stanic
planned
Mislav Stanic
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
H
Hui Jin
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)
Mislav Stanic
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?
H
Hui Jin
Mislav Stanic: happened several times. So when plan to fix this?
Mislav Stanic
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.
H
Hui Jin
Mislav Stanic: thx a lot.
Borna Spanic
Mislav Stanic can you please see what is the issue here? Thanks
Borna Spanic
under review
Borna Spanic
Hi Hui Jin,
Thanks for the report. Shake team will see what happened, and we will update you here.
Stay Tuned,
Shake Team 🐛
H
Hui Jin
Borna Spanic: Thanks for your quick apply,
if need more detail info to help debug, feel free to reach out to me
H
Hui Jin
Borna Spanic: Any update?