LFG Group Bulletin Board

LFG Group Bulletin Board

5M Downloads

Random Lua error after clicking request entry

juemrami opened this issue ยท 3 comments

commented

Describe the bug
Error when clicking a request.

1x LFGBulletinBoard/RequestList.lua:1030: attempt to index local 'req' (a nil value)
[string "@LFGBulletinBoard/RequestList.lua"]:1030: in function `ClickRequest'
[string "*GroupBulletinBoard.xml:307_OnMouseDown"]:1: in function <[string "*GroupBulletinBoard.xml:307_OnMouseDown"]:1>

Locals:
self = GBB.Item_64 {
 0 = <userdata>
 Time = GBB.Item_64_time {
 }
 Name = GBB.Item_64_name {
 }
 Message = GBB.Item_64_message {
 }
}
button = "LeftButton"
id = "64"
req = nil
(*temporary) = <function> defined @LFGBulletinBoard/RequestList.lua:398
(*temporary) = false
(*temporary) = 64
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'req' (a nil value)"

To Reproduce
Unsure, happened randomly trying to click a linked specific profession craft.

commented

Still, have not been able to reproduce this. Keeping the issue open just incase tho

commented

I'm getting this frequently but can't figure out what's causing it. One thing I've noticed is that is has always been a Deathknight writing a message which has caused my lua error.

Stack trace from BugSack:

[string "@LFGBulletinBoard/RequestList.lua"]:440: in function `Clear'
[string "@LFGBulletinBoard/RequestList.lua"]:478: in function `UpdateList'
[string "@LFGBulletinBoard/GroupBulletinBoard.lua"]:900: in function `Entry'
[string "@LFGBulletinBoard/LibGPIToolBox.lua"]:125: in function <LFGBulletinBoard/LibGPIToolBox.lua:123>

Locals:
newRequest = <table> {
 1 = <table> {
 }
 [... omited ...]
 99 = <table> {
 }
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 1 = <table> {
 }
 [... omited ...]
 101 = <table> {
 }
}
(for control) = 101
i = 101
req = <table> {
 dungeon = "DFC"
 IsPastPlayer = false
 guid = "Player-4467-0423B7D5"
 start = 1721071098.999000
 class = "DEATHKNIGHT"
 IsFriend = false
 IsGuildMember = false
}
(*tempor```
commented

@Gerrik-Flamelash
Just based on inspecting the error log, your issue is likely more related to #281.

Check If you can get your addon to error out by typing in "lfg dm", if so then download the latest beta version on CF/Wago (v3.35-beta2) and see if you can still cause the error, it should be fixed.