Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Lua error after clicking request entry #245

Open
juemrami opened this issue Jun 8, 2024 · 3 comments
Open

Random Lua error after clicking request entry #245

juemrami opened this issue Jun 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working question Further information is requested stale No longer relevant

Comments

@juemrami
Copy link
Collaborator

juemrami commented Jun 8, 2024

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.

@juemrami juemrami added the bug Something isn't working label Jun 8, 2024
@juemrami juemrami self-assigned this Jun 8, 2024
@juemrami
Copy link
Collaborator Author

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

@juemrami juemrami added the question Further information is requested label Jun 20, 2024
@Gerrik-Flamelash
Copy link

Gerrik-Flamelash commented Jul 19, 2024

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```

@juemrami
Copy link
Collaborator Author

juemrami commented Jul 20, 2024

@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.

@juemrami juemrami added the stale No longer relevant label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested stale No longer relevant
Projects
None yet
Development

No branches or pull requests

2 participants