MountsJournal_Classic

MountsJournal_Classic

23.9k Downloads

[Cata] nil error after 4.4.1 patch

Road-block opened this issue ยท 5 comments

commented

Environment

  • Addon version: 4.4.27
  • WoW version: Cataclysm Classic 4.4.1

Steps to reproduce

Try use MJ mount buttons

Expected Behaviour

Actual Behaviour

Debug Output

1x MountsJournal/Journal.lua:1744: attempt to compare string with nil
[string "@MountsJournal/Journal.lua"]:1744: in function <MountsJournal/Journal.lua:1691>
[string "=[C]"]: ?
[string "@MountsJournal/Journal.lua"]:1691: in function `?'
[string "@MountsJournal/Journal.lua"]:1124: in function `init'
[string "@MountsJournal/Journal.lua"]:1188: in function <MountsJournal/Journal.lua:1182>
[string "=[C]"]: in function `Show'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:603: in function `SetUIPanel'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:448: in function `ShowUIPanel'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:316: in function <...PanelManager/Classic/UIParentPanelManager_Shared.lua:312>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1091: in function <...PanelManager/Classic/UIParentPanelManager_Shared.lua:1070>
[string "=[C]"]: ?
[string "=[C]"]: in function `ShowUIPanel'
[string "@Blizzard_UIParent/Cata/UIParent.lua"]:589: in function `SetCollectionsJournalShown'
[string "@Blizzard_UIParent/Cata/UIParent.lua"]:579: in function `ToggleCollectionsJournal'
[string "@Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.lua"]:241: in function <.../Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.lua:239>

Locals:
a = <table> {
 description = "Drop to all fours to run as fast as a wild animal."
 icon = 514641
 selfMount = true
 expansion = 4
 sourceText = "Racial"
 macro = "/cast Running Wild(Racial)"
 modelSceneID = 4
 name = "Running Wild"
 mountType = 230
 dragonriding = false
 creatureID = 34344
 spellID = 87840
}
b = <table> {
 description = "Summons and dismisses a rideable magical broom!  This mount changes depending on your Riding skill and location."
 icon = 236552
 selfMount = false
 expansion = 2
 sourceText = ""
 macro = "/use item:37011"
 isShown = true
 modelSceneID = 4
 itemID = 37011
 mountType = 248
 creatureID = 21939
 spellID = 47977
}
ma = <table> {
 1 = "Running Wild"
 3 = true
 4 = 87840
 5 = false
 6 = true
}
mb = <table> {
 3 = true
 4 = 47977
 5 = false
 6 = true
}
needFanfareA = false
needFanfareB = false
nameA = "Running Wild"
nameB = nil
reverse = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare string with nil"
mCache = <table> {
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 11 = <table> {
 }
 12 = <table> {
 }
 13 = <table> {
 }
 14 = <table> {
 }
 15 = <table> {
 }
 17 = <table> {
 }
 18 = <table> {
 }
 19 = <table> {
 }
 20 = <table> {
 }
 21 = <table> {
 }
 22 = <table> {
 }
 24 = <table> {
 }
 25 = <table> {
 }
 26 = <table> {
 }
 27 = <table> {
 }
 28 = <table> {
 }
 31 = <table> {
 }
 1769 = <table> {
 }
 190 = <table> {
 }
 1770 = <table> {
 }
 254 = <table> {
 }
 317 = <table> {
 }
 159 = <table> {
 }
 191 = <table> {
 }
 223 = <table> {
 }
 255 = <table> {
 }
 318 = <table> {
 }
 40 = <table> {
 }
 56 = <table> {
 }
 64 = <table> {
 }
 319 = <table> {
 }
 96 = <table> {
 }
 160 = <table> {
 }
 256 = <table> {
 }
 320 = <table> {
 }
 257 = <table> {
 }
 321 = <table> {
 }
 129 = <table> {
 }
 161 = <table> {
 }
 225 = <table> {
 }
 258 = <table> {
 }
 322 = <table> {
 }
 259 = <table> {
 }
 323 = <table> {
 }
 97 = <table> {
 }
 130 = <table> {
 }
 162 = <table> {
 }
 226 = <table> {
 }
 324 = <table> {
 }
 1806 = <table> {
 }
 1807 = <table> {
 }
 131 = <table> {
 }
 163 = <table> {
 }
 262 = <table> {
 }
 326 = <table> {
 }
 41 = <table> {
 }
 57 = <table> {
 }
 263 = <table> {
 }
 327 = <table> {
 }
 98 = <table> {
 }
 132 = <table> {
 }
 164 = <table> {
 }
 196 = <table> {
 }
 264 = <table> {
 }
 328 = <table> {
 }
 265 = <table> {
 }
 1823 = <table> {
 }
 133 = <table> {
 }
 165 = <table> {
 }
 197 = <table> {
 }
 266 = <table> {
 }
 330 = <table> {
 }
 267 = <table> {
 }
 331 = <table> {
 }
 99 = <table> {
 }
 1832 = <table> {
 }
 134 = <table> {
 }
 166 = <table> {
 }
 230 = <table> {
 }
 268 = <table> {
 }
 332 = <table> {
 }
 269 = <table> {
 }
 333 = <table> {
 }
 135 = <table> {
 }
 167 = <table> {
 }
 199 = <table> {
 }
 2147 = <table> {
 }
 270 = <table> {
 }
 1843 = <table> {
 }
 34 = <table> {
 }
 42 = <table> {
 }
 50 = <table> {
 }
 58 = <table> {
 }
 271 = <table> {
 }
 335 = <table> {
 }
 100 = <table> {
 }
 116 = <table> {
 }
 136 = <table> {
 }
 168 = <table> {
 }
 272 = <table> {
 }
 336 = <table> {
 }
 273 = <table> {
 }
 337 = <table> {
 }
 137 = <table> {
 }
 169 = <table> {
 }
 201 = <table> {
 }
 274 = <table> {
 }
 338 = <table> {
 }
 275 = <table> {
 }
 85 = <table> {
 }
 101 = <table> {
 }
 117 = <table> {
 }
 138 = <table> {
 }
 170 = <table> {
 }
 202 = <table> {
 }
 276 = <table> {
 }
 340 = <table> {
 }
 1869 = <table> {
 }
 1870 = <table> {
 }
 277 = <table> {
 }
 341 = <table> {
 }
 1872 = <table> {
 }
 139 = <table> {
 }
 1873 = <table> {
 }
 203 = <table> {
 }
 278 = <table> {
 }
 1875 = <table> {
 }
 35 = <table> {
 }
 1877 = <table> {
 }
 51 = <table> {
 }
 1878 = <table> {
 }
 279 = <table> {
 }
 343 = <table> {
 }
 102 = <table> {
 }
 1880 = <table> {
 }
 140 = <table> {
 }
 1881 = <table> {
 }
 204 = <table> {
 }
 1882 = <table> {
 }
 280 = <table> {
 }
 1883 = <table> {
 }
 1884 = <table> {
 }
 1885 = <table> {
 }
 1886 = <table> {
 }
 1887 = <table> {
 }
 1888 = <table> {
 }
 141 = <table> {
 }
 173 = <table> {
 }
 205 = <table> {
 }
 1890 = <table> {
 }
 1892 = <table> {
 }
 1893 = <table> {

Screenshots

commented

Error seems related to Magical Broom having no .name member

commented

Might have been a caching isssue? I can't reproduce after a couple /reloadui

commented

Hi I added the broom to the cache, so mb that'll fix it

commented

I had it happen again on a cold login (with the previous version) so I'll definitely check the new one.

commented

Looks ok with latest package, thanks ๐Ÿ‘๐Ÿป