Thread Tools Display Modes
01/01/21, 07:11 AM   #1
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
[bug] error after excavation

i fuully excavated item with bonuses and ESC to skip reward animation
after this when i press J to open leadlist again i received error, also all my skill bar gone

Code:
EsoUI/Ingame/Antiquities/Keyboard/AntiquityJournal_Keyboard.lua:661: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Antiquities/Keyboard/AntiquityJournal_Keyboard.lua:661: in function '(anonymous)'
(tail call): ?
EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:327: in function 'GetKeybindDescriptorDebugIdentifier'
|caaaaaa<Locals> keybindButtonDescriptor = [table:1]{keybind = "UI_SHORTCUT_NEGATIVE", alignment = 3} </Locals>|r
EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:340: in function 'ZO_KeybindStrip:HandleDuplicateAddKeybind'
|caaaaaa<Locals> self = [table:2]{allowDefaultExit = T, batchUpdating = T, insertionId = 147}, existingButtonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:1], currentSceneName = "antiquityJournalKeyboard", existingDescriptor = [table:3]{keybind = "UI_SHORTCUT_NEGATIVE", name = "Undo Changes", addedForSceneName = "antiquityDigging"}, existingSceneName = "antiquityDigging", existingDescriptorIdentifier = "Undo Changes" </Locals>|r
EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:374: in function 'ZO_KeybindStrip:AddKeybindButton'
|caaaaaa<Locals> self = [table:2], keybindButtonDescriptor = [table:1], currentSceneName = "antiquityJournalKeyboard", existingButtonOrEtherealDescriptor = ud </Locals>|r
EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:548: in function 'ZO_KeybindStrip:AddKeybindButtonGroup'
|caaaaaa<Locals> self = [table:2], keybindButtonGroupDescriptor = [table:4]{}, i = 3, keybindButtonDescriptor = [table:1] </Locals>|r
EsoUI/Ingame/Antiquities/Keyboard/AntiquityJournal_Keyboard.lua:834: in function 'callback'
|caaaaaa<Locals> oldState = "hiding", newState = "showing" </Locals>|r
EsoUI/Libraries/Utility/ZO_CallbackObject.lua:116: in function 'ZO_CallbackObject:FireCallbacks'
|caaaaaa<Locals> self = [table:5]{wasRequestedToShowInGamepadPreferredMode = F, disallowEvaluateTransitionCompleteCount = 3, restoresHUDSceneToggleUIMode = F, restoresHUDSceneToggleGameMenu = F, wasShownInGamepadPreferredMode = F, state = "showing", fireCallbackDepth = 3, name = "antiquityJournalKeyboard"}, eventName = "StateChange", registry = [table:6]{}, callbackInfoIndex = 1, callbackInfo = [table:7]{3 = F}, callback = EsoUI/Ingame/Antiquities/Keyboard/AntiquityJournal_Keyboard.lua:831, deleted = F </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:276: in function 'ZO_Scene:SetState'
|caaaaaa<Locals> self = [table:5], newState = "showing", oldState = "hiding", name = "antiquityJournalKeyboard" </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Base.lua:213: in function 'ZO_SceneManager_Base:ShowScene'
|caaaaaa<Locals> self = [table:8]{hudUISceneName = "hudui", numTopLevelShown = 0, hudSceneName = "hud", numRemoteTopLevelShown = 0, exitUIModeOnChatFocusLost = F, fireCallbackDepth = 0, hudUISceneHidesAutomatically = T, remoteSceneSequenceNumber = 261, initialized = F}, scene = [table:5], sequenceNumber = 261 </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Leader.lua:291: in function 'ZO_SceneManager_Leader:ShowScene'
|caaaaaa<Locals> self = [table:8], scene = [table:5] </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Leader.lua:265: in function 'ZO_SceneManager_Leader:Show'
|caaaaaa<Locals> self = [table:8], sceneName = "antiquityJournalKeyboard", nextSceneClearsSceneStack = T, numScenesNextScenePops = 0, currentScene = [table:5], nextScene = [table:5], oldNextScene = [table:9]{wasRequestedToShowInGamepadPreferredMode = F, disallowEvaluateTransitionCompleteCount = 1, restoresHUDSceneToggleUIMode = F, restoresHUDSceneToggleGameMenu = F, state = "hidden", wasShownInGamepadPreferredMode = F, fireCallbackDepth = 0, name = "hud"} </Locals>|r
EsoUI/Ingame/MainMenu/Keyboard/ZO_MainMenu_Keyboard.lua:720: in function 'callback'
EsoUI/Libraries/ZO_MenuBar/ZO_MenuBar.lua:286: in function 'MenuBarButton:Release'
|caaaaaa<Locals> self = [table:10]{m_state = 1, m_highlightHidden = T, m_locked = T}, upInside = T, skipAnimation = T, playerDriven = F, buttonData = [table:11]{categoryName = 7622, pressed = "EsoUI/Art/Journal/journal_tabI...", normal = "EsoUI/Art/Journal/journal_tabI...", highlight = "EsoUI/Art/Journal/journal_tabI...", descriptor = "antiquityJournalKeyboard"} </Locals>|r
EsoUI/Libraries/ZO_MenuBar/ZO_MenuBar.lua:602: in function 'MenuBar:SelectDescriptor'
|caaaaaa<Locals> self = [table:12]{m_buttonPadding = 20, m_point = 2, m_normalSize = 51, m_relativePoint = 8, m_clickSound = "Click_MenuBar", m_animationDuration = 200, m_downSize = 64}, descriptor = "antiquityJournalKeyboard", skipAnimation = T, reselectIfSelected = T, buttonObject = [table:10] </Locals>|r
(tail call): ?
EsoUI/Ingame/MainMenu/Keyboard/ZO_MainMenu_Keyboard.lua:802: in function 'MainMenu_Keyboard:ShowSceneGroup'
|caaaaaa<Locals> self = [table:13]{sceneShowGroupName = "journalSceneGroup", ignoreCallbacks = F, lastCategory = 9, fireCallbackDepth = 0}, sceneGroupName = "journalSceneGroup", specificScene = "antiquityJournalKeyboard", sceneGroup = [table:14]{state = "scene_group_showing", fireCallbackDepth = 0, activeScene = 2}, skipAnimation = T, RESELECT_IF_SELECTED = T </Locals>|r
EsoUI/Ingame/MainMenu/Keyboard/ZO_MainMenu_Keyboard.lua:820: in function 'MainMenu_Keyboard:ToggleSceneGroup'
|caaaaaa<Locals> self = [table:13], sceneGroupName = "journalSceneGroup", sceneGroupInfo = [table:15]{category = 7} </Locals>|r
EsoUI/Ingame/MainMenu/Keyboard/ZO_MainMenu_Keyboard.lua:883: in function 'ZO_MainMenuManager_ToggleCategoryInternal'
|caaaaaa<Locals> self = [table:13], category = 7, categoryLayoutInfo = [table:16]{disabled = "EsoUI/Art/MainMenu/menuBar_jou...", normal = "EsoUI/Art/MainMenu/menuBar_jou...", descriptor = 7, binding = "TOGGLE_JOURNAL", categoryName = 6604, highlight = "EsoUI/Art/MainMenu/menuBar_jou...", pressed = "EsoUI/Art/MainMenu/menuBar_jou..."}, categoryState = 0, categoryInfo = [table:17]{lastSceneGroupName = "journalSceneGroup"} </Locals>|r
EsoUI/Ingame/MainMenu/Keyboard/ZO_MainMenu_Keyboard.lua:902: in function 'MainMenu_Keyboard:ToggleCategory'
|caaaaaa<Locals> self = [table:13], category = 7, categoryLayoutInfo = [table:16] </Locals>|r
:1: in function '(main chunk)'
|caaaaaa<Locals> keybind = "TOGGLE_JOURNAL" </Locals>|r

Last edited by Marazota : 08/03/22 at 01:39 AM.
  Reply With Quote
01/01/21, 07:19 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
All addons disabled as this error happens?

I know ZOs already said there "was" (or is?) a bug in the excavation code and they try to find and fix it.
Maybe it's this one.

Last edited by Baertram : 01/01/21 at 10:48 AM.
  Reply With Quote
01/01/21, 07:50 AM   #3
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
yes, had few addons active
will try without it
  Reply With Quote
01/02/21, 06:02 AM   #4
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
So far, I have seen three bugs with excavation:
  1. The one above: ANTIQUITY_JOURNAL_KEYBOARD:GetMouseOverTile() can be nil. But is used without checking for getting the keystrip button text. (ZOS code)
    I guess it is caused by the duplicate name check.
  2. A chatter update event with a high chatter options value.
    This error seems to get more and more rare, if you digged up more than three pieces of an item, so that the item story is not shown anymore. (Hard to say, may or may not relate)
  3. A scry exit dialog popping up. (After a dig cascade??) No Lua code seems to call it???

Last edited by votan : 01/02/21 at 01:36 PM.
  Reply With Quote
07/30/22, 06:12 AM   #5
Marcus Brody
AddOn Author - Click to view addons
Join Date: Jul 2022
Posts: 3
To whoever end up here, 100% accurate way to reproduce (and therefore to avoid) this issue:
open the antiquity journal, hover an antiquity (it causes a description tooltip of the antiquity to pop), press J to close the journal, press J to reopen the journal => UI crash, reloadui needed.

To avoid this just make sure the mouse is not hovering the antiquity journal before closing it.

Too bad the users need to patch themselves instead of applying a oneliner patch to the private ui code of teso, for an issue reported like 2 years ago.
  Reply With Quote
07/30/22, 10:59 AM   #6
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
@Marcus Brody thank you for the info.

If this is a 100% reproducable bug please use the chat command /bug ingame and write the steps to reproduce to ZOs so they officially know and are able to fix it.
The more report it the faster it will be fixed, if it's constantly reproducable with all addons off!
Thank you
  Reply With Quote
08/01/22, 08:35 PM   #7
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 171
I just tried this repro and it did not cause an error for me. Can you be more specific in your steps?
  Reply With Quote
08/02/22, 08:02 AM   #8
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 626
Originally Posted by Marazota View Post
i fuully excavated item with bonuses and ECS to skip reward animation
after this when i press J to open leadlist again i received error, also all my skill bar all gone.
What are the bonuses, and what mod is ECS. Provide a link please.
  Reply With Quote
08/02/22, 08:28 AM   #9
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Marazota's post was old, ZOsDanBatson refers to Marcus Brody's post from 2022-07-30.

And I guess ECS is no addon but a typo: the ESC key, because he wrote "to skip animation".
We should concentrate on Marcus Brody's post and an answer with more detailed steps.
  Reply With Quote
08/02/22, 02:49 PM   #10
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 626
Originally Posted by Marcus Brody
1. open the antiquity journal
2. hover an antiquity (it causes a description tooltip of the antiquity to pop), press J to close the journal
3. press J to reopen the journal

Result, UI crash, reloadui needed.
I was not able to reproduce the issue either.

https://sir.insidi.at/or/logviewer/

Please go to the above link with your normal mods installed that you use and reproduce the error. Then reload the UI after you reproduce the error so it saves the information and then drag and drop a copy of your LibDebugLogger.lua to that page and provide a link please.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » [bug] error after excavation

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off