Lua error with "Send bugs" button
n0proxy opened this issue ยท 0 comments
Describe the problem
Accidentally clicked the 'send bugs' button when viewing some other addon's lua error, and I got 2 lua errors back to back for BugSack itself.
Did this happen on PTR/Beta or the live version of WoW?
Live
What steps will reproduce the problem?
- Get lua error from something else
- Click 'send bugs' button
- Immediate errors
Attach a screenshot below to help describe your issue (Attach directly, do not link to other websites)
What version of the addon are you using? (Stating 'latest' is not useful)
11.2.1
Do you have an error log of what happened?
First lua error:
1x BugSack/core.lua:100: attempt to index field 'button1' (a nil value)
[BugSack/core.lua]:100: in function 'OnShow'
[Blizzard_StaticPopup/StaticPopup.lua]:559: in function 'StaticPopup_OnShow'
[Blizzard_StaticPopup_Game/GameDialog.lua]:666: in function <...faceBlizzard_StaticPopup_Game/GameDialog.lua:665>
[C]: in function 'Show'
[Blizzard_StaticPopup/StaticPopup.lua]:390: in function <Blizzard_StaticPopup/StaticPopup.lua:277>
[C]: ?
[C]: ?
[C]: in function 'StaticPopup_Show'
[BugSack/sack.lua]:394: in function <BugSack/sack.lua:392>
Locals:
self = StaticPopup1 {
TopSpacer = FontString {
}
visibleButtons =
}
CoverFrame = Frame {
}
previousRegionKey = "ButtonContainer"
ProgressBarSpacer = Texture {
}
DarkOverlay = Frame {
}
timeleft = 0
ButtonContainer = Frame {
}
dialogInfo =
}
which = "BugSackSendBugs"
hideOnEscape = true
ItemFrame = Frame {
}
MoneyInputFrame = StaticPopup1MoneyInputFrame {
}
AlertIcon = Texture {
}
ProgressBarFill = Texture {
}
ExtraButton = StaticPopup1ExtraButton {
}
Buttons =
}
BG = Frame {
}
EditBox = StaticPopup1EditBox {
}
ProgressBarBorder = Texture {
}
Dropdown = Button {
}
SubText = FontString {
}
heightPadding = 16
Spinner = Frame {
}
enterClicksFirstButton = true
numButtons = 2
MoneyFrame = StaticPopup1MoneyFrame {
}
Text = StaticPopup1Text {
}
CloseButton = StaticPopup1CloseButton {
}
Separator = Texture {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'button1' (a nil value)"
Second error:
1x BugSack/core.lua:107: attempt to index field 'button1' (a nil value)
[BugSack/core.lua]:107: in function 'EditBoxOnTextChanged'
[Blizzard_StaticPopup/SharedTemplates.lua]:66: in function <...faceBlizzard_StaticPopup/SharedTemplates.lua:62>
Locals:
self = StaticPopup1EditBox {
owningDialog = StaticPopup1 {
}
hasAutoComplete = false
Instructions = FontString {
}
autoCompleteParams =
}
baseWidth = 130
NineSlice = Frame {
}
desiredWidth = 130
useScaleWeight = true
addHighlightedText = true
baseHeight = 24
layoutType = "TooltipDefaultLayout"
}
t = ""
(*temporary) = nil
(*temporary) = nil
(*temporary) = StaticPopup1 {
TopSpacer = FontString {
}
dirty = false
visibleButtons =
}
CoverFrame = Frame {
}
minimumWidth = 320
previousRegionKey = "ButtonContainer"
data = 1576
widthPadding = 0
ProgressBarSpacer = Texture {
}
DarkOverlay = Frame {
}
timeleft = 0
ButtonContainer = Frame {
}
dialogInfo =
}
which = "BugSackSendBugs"
hideOnEscape = true
ItemFrame = Frame {
}
MoneyInputFrame = StaticPopup1MoneyInputFrame {
}
AlertIcon = Texture {
}
ProgressBarFill = Texture {
}
ExtraButton = StaticPopup1ExtraButton {
}
Buttons =
}
BG = Frame {
}
EditBox = StaticPopup1EditBox {
}
ProgressBarBorder = Texture {
}
Dropdown = Button {
}
SubText = FontString {
}
heightPadding = 16
Spinner = Frame {
}
enterClicksFirstButton = true
numButtons = 2
MoneyFrame = StaticPopup1MoneyFrame {
}
Text = StaticPopup1Text {
}
CloseButton = StaticPopup1CloseButton {
}
Separator = Texture {
}
}
(*temporary) = "attempt to index field 'button1' (a nil value)"