# "undefined method \`jid’ for nil:NilClass" when ordering SIM

**URL:** <https://hub.soprani.ca/t/undefined-method-jid-for-nil-nilclass-when-ordering-sim/557>\
**Category:** Issues\
**Tags:** closed, sgx-jmp\
**Created:** [November 7, 2025, 4:31pm UTC](https://hub.soprani.ca/t/undefined-method-jid-for-nil-nilclass-when-ordering-sim/557 "2025-11-07T16:31:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phdavis1027](https://hub.soprani.ca/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@phdavis1027](https://hub.soprani.ca/u/phdavis1027)\
**Post date:** [November 7, 2025, 4:31pm UTC](https://hub.soprani.ca/t/undefined-method-jid-for-nil-nilclass-when-ordering-sim/557/1 "2025-11-07T16:31:17Z")

</div>

happens when registered and not enough balance

---

<div class="post-metadata">

**Author:** ![phdavis1027](https://hub.soprani.ca/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@phdavis1027](https://hub.soprani.ca/u/phdavis1027)\
**Post date:** [December 1, 2025, 8:21pm UTC](https://hub.soprani.ca/t/undefined-method-jid-for-nil-nilclass-when-ordering-sim/557/2 "2025-12-01T20:21:31Z")

</div>

I think I already fixed this, so the task is actually just to test.

---

<div class="post-metadata">

**Author:** ![phdavis1027](https://hub.soprani.ca/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@phdavis1027](https://hub.soprani.ca/u/phdavis1027)\
**Post date:** [December 2, 2025, 6:08pm UTC](https://hub.soprani.ca/t/undefined-method-jid-for-nil-nilclass-when-ordering-sim/557/3 "2025-12-02T18:08:50Z")

</div>

Fixed by: [https://git.sr.ht/~singpolyma/sgx-jmp/commit/a5feabef36dd083ec40ec4e6a824c446cf954f6d](https://git.sr.ht/~singpolyma/sgx-jmp/commit/a5feabef36dd083ec40ec4e6a824c446cf954f6d)
