peti446 / CompanionsTracker

GNU General Public License v3.0
0 stars 1 forks source link

[BUG] Lua error #13

Open keflatbn opened 3 weeks ago

keflatbn commented 3 weeks ago

Describe the bug After disconnect, when logging in I get this lua error on the addon.

To Reproduce Get disconnect error WOW51900319 and log in again on same character then this lua error occurs

Addon version:

Lua eror (if any):

keflatbn commented 3 weeks ago

1x ...cker/Modules/DataCollectors/GarrionDataCollector.lua:59: bad argument #1 to 'insert' (table expected, got nil) string "=[C]": in function insert' [string "@CompanionsTracker/Modules/DataCollectors/GarrionDataCollector.lua"]:59: in functionRegisterExpansion' [string "@CompanionsTracker/GlobalEvents.lua"]:36: in function `?' [string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

[string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@AllTheThings/lib/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@BattlePetCompletionist/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...ePetCompletionist/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (temporary) = nil (temporary) = 2 (*temporary) = "table expected, got nil"

peti446 commented 3 weeks ago

Thanks for the report, I see in the callstack the AllTheThings and the PetCompletionists, could you disable them and try to reproduce it ?

keflatbn commented 3 weeks ago

Hi again, I disabled all addons except for Companions Tracker and BugGrabber/BugSack. Got below error: image

Its quite easy to reproduce: Prepare by opening you device manager and find the network adapter you currently have internet connection on. Go back to wow enable only these 3 addons, while in the game alt-tab to device manager and righclick to disable adapter. Click Yes and your internet connection is lost and Wow will freeze and kick you out to menu with WOW51900319. Alt-tab back to device manager and enable network adapter again, wait till you have internet again. Alt-tab back to wow and close the WOW51900319 error and click reconnect. Log into same character again and the error will appear.

peti446 commented 3 weeks ago

okey thanks, I will look at it over the days ^^ as I am away currently