Our team intervenes within 48 hours, we recommend you submit a public ticket so that other developers can help to fix the issue as soon as possible.

If you purchased the item 6 months ago, please read the Item Support Policy carefully before submitting a ticket.

Note: don’t share item or server credentials on public, use the private option.

Okay
  Public Ticket #2832183
The "book" Features can't use
Closed

Comments

  •  1
    jeremy6412 started the conversation

    When I touch "book" button, The app will crash.

    logs:

    2021-07-23 01:04:10.390 312-312/com.SUGOI.apps.sugoi E/REALM_JNI: jni: ThrowingException 2, Out of range  in /Users/Nabil/Dev/realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsList.cpp line 135(requested: 0 valid: 0), .
    2021-07-23 01:04:10.390 312-312/com.SUGOI.apps.sugoi E/REALM_JNI: Exception has been thrown: Out of range  in /Users/Nabil/Dev/realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsList.cpp line 135(requested: 0 valid: 0)
    2021-07-23 01:04:10.390 312-312/com.SUGOI.apps.sugoi D/AndroidRuntime: Shutting down VM
    2021-07-23 01:04:10.390 312-312/com.SUGOI.apps.sugoi E/AndroidRuntime: FATAL EXCEPTION: main
        Process: com.SUGOI.apps.sugoi, PID: 312
        java.lang.ArrayIndexOutOfBoundsException: Out of range  in /Users/Nabil/Dev/realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsList.cpp line 135(requested: 0 valid: 0)
            at io.realm.internal.OsList.nativeGetRow(Native Method)
            at io.realm.internal.OsList.getUncheckedRow(OsList.java:48)
            at io.realm.RealmModelListOperator.get(RealmList.java:1449)
            at io.realm.RealmList.get(RealmList.java:419)
            at com.droideve.apps.sugoi.booking.views.fragments.ServiceOptionsFragment.onCreateView(ServiceOptionsFragment.java:133)
            at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2600)
            at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
            at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
            at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
            at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439)
            at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079)
            at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869)
            at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
            at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
            at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2663)
            at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManagerImpl.java:2613)
            at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:246)
            at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:542)
            at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:210)
            at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1433)
            at android.app.Activity.performStart(Activity.java:7862)
            at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3300)
            at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
            at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
            at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
            at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2022)
            at android.os.Handler.dispatchMessage(Handler.java:107)
            at android.os.Looper.loop(Looper.java:235)
            at android.app.ActivityThread.main(ActivityThread.java:7441)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

  •  1
    jeremy6412 replied

    My database structure:

  •  2
    Khalid replied

    create service for the shop i.e. update the store and create service for it. 

  •  1
    jeremy6412 replied

    Thanks, the problem is solved.