#1414 mod_vcard_muc: attempt to index nil value

Reporter bert
Owner Nobody
Created
Updated
Stars ★★ (2)
Tags
  • Component-Community
  • Difficulty-Easy
  • Type-Defect
  • Status-Accepted
  • Priority-Medium
  1. bert on

    What steps will reproduce the problem? 1. Log into account 2. Observe log What is the expected output? No error What do you see instead? c2s31632a0 error Traceback[c2s]: .../lib/prosody/modules/mod_vcard_muc/mod_vcard_muc.lua:65: attempt to index local 'room' (a nil value) stack traceback: .../lib/prosody/modules/mod_vcard_muc/mod_vcard_muc.lua:65: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? (tail call): ? /usr/lib/prosody/modules/mod_iq.lua:38: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? /usr/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/lib/prosody/modules/mod_c2s.lua:281: in function 'func' /usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125> What version of the product are you using? On what operating system? recent trunk, recent mod_vcard_muc

  2. Zash on

    Thanks for the report. This is a community module, not maintained by the Prosody team.

    Changes
    • tags Component-Community Status-Accepted
  3. Zash on

    Guessing that it happens when a vcard query is sent to a room that does not exist. Should be easy to fix *hint* *wink* ;)

    Changes
    • tags Difficulty-Easy

New comment

Not published. Used for spam prevention and optional update notifications.