Thread Tools Display Modes
12-31-09, 02:36 AM   #1
chsmi
A Murloc Raider
Join Date: Nov 2008
Posts: 4
Intermittent Chat Frame Errors

I can't seem to determine a pattern of occurence of the following errors - they don't happen every time I logon, but eventually they do occur if I log out and log back in enough times. I'd estimate it probably happens every 3rd or 4th time.

This is on a clean install of nUI, and I've been very careful and included only a small handful of the add'l addons that have been specifically mentioned as compatible.

Anyone have an idea on these errors?

Message: Interface\FrameXML\FloatingChatFrame.lua:784: attempt to perform arithmetic on a nil value
Time: 12/31/09 00:32:24
Count: 3189
Stack: Interface\FrameXML\FloatingChatFrame.lua:784: in function `FCF_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: elapsed = 0.034000001847744
isLocked = nil
chatFrameName = "ChatFrame1"
chatTabName = "ChatFrame1Tab"
chatFrame = ChatFrame1 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
is_chat_frame = true
tellTimer = 41678.841
oldAlpha = 0
channelList = <table> {
}
init = 2
isDocked = 1
editBox = ChatFrameEditBox {
}
buttons_visible = false
isLocked = 1
name = "General"
buttonSide = "left"
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
chatTab = ChatFrame1Tab {
0 = <userdata>
textWidth = 39.822225421136
}
activeFrame = ChatFrame1 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
is_chat_frame = true
tellTimer = 41678.841
oldAlpha = 0
channelList = <table> {
}
init = 2
isDocked = 1
editBox = ChatFrameEditBox {
}
buttons_visible = false
isLocked = 1
name = "General"
buttonSide = "left"
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
showAllDockTabs = nil
hideAnyDockTabs = nil
xPos = 545.64576847303
yPos = 498.35012245335
helpFrameShown = nil
multiCastFlyoutShown = nil
multiCastFlyoutOpenButtonShown = nil
(for index) = 1
(for limit) = 7
(for step) = 1
j = 1
yOffset = 45
activeYOffset = 45
isCombatLog = false
(*temporary) = <function> defined =[C]:-1
(*temporary) = ChatFrame1 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
is_chat_frame = true
tellTimer = 41678.841
oldAlpha = 0
channelList = <table> {
}
init = 2
isDocked = 1
editBox = ChatFrameEditBox {
}
buttons_visible = false
isLocked = 1
name = "General"
buttonSide = "left"
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
(*temporary) = 45
(*temporary) = nil
(*temporary) = nil
(*temporary) = ChatFrame1 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
is_chat_frame = true
tellTimer = 41678.841
oldAlpha = 0
channelList = <table> {
}
init = 2
isDocked = 1
editBox = ChatFrameEditBox {
}
buttons_visible = false
isLocked = 1
name = "General"
buttonSide = "left"
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on a nil value"



Message: Interface\FrameXML\UIPanelTemplates.lua:365: C stack overflow
Time: 12/31/09 00:30:34
Count: 1
Stack: Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
...
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = ScriptErrorsFrameScrollFrameText {
0 = <userdata>
text = "Message: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: attempt to perform arithmetic on a nil value
Time: 12/31/09 00:30:33
Count: 1
Stack: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: in function <Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:112>

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = ChatFrameEditBox {
0 = <userdata>
language = "Common"
chatFrame = ChatFrame1 {
}
}
(*temporary) = nil
(*temporary) = ChatFrame7 {
channelList = <table> {
}
0 = <userdata>
is_chat_frame = false
editBox = ChatFrameEditBox {
}
tellTimer = 41678.916
name = "Chat 7"
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
zoneChannelList = <table> {
}
flashTimer = 0
messageTypeList = <table> {
}
}
(*temporary) = ChatFrame7BottomButton {
0 = <userdata>
}
(*temporary) = ChatFrame7DownButton {
0 = <userdata>
clickDelay = 0
}
( handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
height = 193.99998045976
range = 0
scroll = 0
size = 193.99998045976
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
(*temporary) = <function> defined =[C]:-1
(*temporary) = "Interface\FrameXML\UIPanelTemplates.lua:365: attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
(*temporary) = "C stack overflow"



Message: Interface\FrameXML\UIPanelTemplates.lua:365: attempt to perform arithmetic on field 'cursorOffset' (a nil value)
Time: 12/31/09 00:30:34
Count: 106
Stack: Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
...
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:342: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\FrameXML\UIPanelTemplates.lua:365: in function `ScrollingEdit_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = ScriptErrorsFrameScrollFrameText {
0 = <userdata>
text = "Message: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: attempt to perform arithmetic on a nil value
Time: 12/31/09 00:30:33
Count: 1
Stack: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: in function <Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:112>

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = ChatFrameEditBox {
0 = <userdata>
language = "Common"
chatFrame = ChatFrame1 {
}
}
(*temporary) = nil
(*temporary) = ChatFrame7 {
channelList = <table> {
}
0 = <userdata>
is_chat_frame = false
editBox = ChatFrameEditBox {
}
tellTimer = 41678.916
name = "Chat 7"
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
zoneChannelList = <table> {
}
flashTimer = 0
messageTypeList = <table> {
}
}
(*temporary) = ChatFrame7BottomButton {
0 = <userdata>
}
(*temporary) = ChatFrame7DownButton {
0 = <userdata>
clickDelay = 0
}
( handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
height = 193.99998045976
range = 0
scroll = 0
size = 193.99998045976
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
0 = <userdata>
offset = 0
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
 
12-31-09, 03:16 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
Grr, I hate these error messages as it doesn't specifically highlight what function call is definitely causing the internal function to go belly up.

That said. The only Update function in the nUI ChatFrame file only has a couple of numerical calculations but I can't see why they would ever be nil to cause this error.

I've not come across this myself recently and I did a fresh addon install clearing out WTF, WDB, Cache and Interface folders and whilst I get a repeatable error which has been seemingly fixed with one of Scotts quick fixes for it that I've been testing I've never seen your one itself.

I'll keep a look out though and hopefully someone else comes across the problem and we can find a similar situation to tie the problem up.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
12-31-09, 03:35 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Just to be sure -- do you have the "Simple Chat" option enabled, or perhaps the "Lock Chat Settings" option? Do you have any chat mods installed (Prat, Chatter, etc?) -- If so, are they current and if you disable the chat addon, does the problem go away?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
01-03-10, 12:07 PM   #4
chsmi
A Murloc Raider
Join Date: Nov 2008
Posts: 4
Sorry for the late response..I was away a couple of days.

As for your questions, I have not enabled "Simple Chat" nor "Lock Chat Settings".

I don't have Prat or any other chat addon installed. Here's the list of addons I currently have enabled and installed:

ArkInventory
Mapster
nUI
nUI_InfoPanel_Stats
Omen3
RatingBuster
Recount
DeadlyBossMods

These were installed one by one per your instruction page for a clean install of nUI. Strange no one else has seen this crop up. Thanks for the advice and help thus far...let me know if you have any other suggestions.
 
01-03-10, 01:16 PM   #5
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This is in another thread, as well... and as with the other thread, here's the line that's throwing the error...

local width = (ChatFrameEditBox:GetRight() - ChatFrameEditBox:GetLeft()) / ChatFrameEditBox:GetEffectiveScale();

As you can see, it's a very simple line and the only way we can get the error message [ Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: attempt to perform arithmetic on a nil value ] is if the chat frame edit box is not anchored to anything... which is usually the result of either another mod hiding it or the "simple chat" option.

Can you humor me and verify conclusively that the simple chat option hasn't been set by another mod and that no other mods are interacting with the chat frame.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/

Last edited by spiel2001 : 01-03-10 at 01:57 PM.
 
01-03-10, 01:33 PM   #6
neuralassassin
A Scalebane Royal Guard
 
neuralassassin's Avatar
Join Date: Sep 2008
Posts: 423
Remember by wiping your wtf your wow options have been set to default and last patch Blizz changed quite a few of those to be enabled by default.
I use all of those mods myself along with a whole slew of others, so there is something odd going on on your end.
__________________

 
01-03-10, 03:34 PM   #7
Carz
nUI User-Supporter
 
Carz's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 133
I had this problem lots of times but i just do a /nui rl and it all goes back to normal. I Know this may not help just my 2 cents.
 
01-03-10, 07:22 PM   #8
chsmi
A Murloc Raider
Join Date: Nov 2008
Posts: 4
Originally Posted by spiel2001 View Post
This is in another thread, as well... and as with the other thread, here's the line that's throwing the error...

local width = (ChatFrameEditBox:GetRight() - ChatFrameEditBox:GetLeft()) / ChatFrameEditBox:GetEffectiveScale();

As you can see, it's a very simple line and the only way we can get the error message [ Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: attempt to perform arithmetic on a nil value ] is if the chat frame edit box is not anchored to anything... which is usually the result of either another mod hiding it or the "simple chat" option.

Can you humor me and verify conclusively that the simple chat option hasn't been set by another mod and that no other mods are interacting with the chat frame.
Confirmed..I am actually in-game now with no errors, and should've mentioned in my prior response that I was able to confirm that both the checkboxes are disabled in-game. To my knowledge, none of the mods I have installed interact with the chat frame.

A strange problem, considering it's intermittent nature. I agree that there must be something on my end causing it, I just can't figure out for the life of me what it might be. I'll see if I can figure it out...and if not--well, I suppose since I don't get the error the majority of the time, I can live with it.

Thanks for the help, all.
 
02-05-10, 12:21 PM   #9
Raventiger
A Cyclonian
 
Raventiger's Avatar
Join Date: Mar 2009
Posts: 36
Just wanted to report that I have been getting a similar error for a while now, and like in the original report it is intermittent and a relog usually fixes the problem (though sometimes I have to relog 2 or 3 times to clear it. This morning I had to relog 10 times to clear it, and thus the motivation to make a post here).

I have nUI_5.06.07_Plus installed along with nUI_Config_GUI (v30300.1). I do have some other mods installed, but I can confirm that I don't have any chat mods and the Simple Chat option is not ticked.

As the details of the error log I'm getting is slightly different from the original poster's, I have included it here. This log is from a few days ago when I took a copy of it but I believe it is the same error I get each time.

Message: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: attempt to perform arithmetic on a nil value
Time: 01/30/10 10:55:19
Count: 1
Stack: [C]: ?
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:214: in function <Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:112>

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = ChatFrameEditBox {
0 = <userdata>
language = "Orcish"
chatFrame = ChatFrame1 {
}
}
(*temporary) = nil
(*temporary) = ChatFrame7 {
oldAlpha = 0
channelList = <table> {
}
0 = <userdata>
isInitialized = 1
is_chat_frame = false
editBox = ChatFrameEditBox {
}
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
tellTimer = 11574.478
name = "Chat 7"
isLocked = 1
zoneChannelList = <table> {
}
flashTimer = 0
messageTypeList = <table> {
}
}
(*temporary) = ChatFrame7BottomButton {
0 = <userdata>
}
(*temporary) = ChatFrame7DownButton {
0 = <userdata>
clickDelay = 0
}
(*temporary) = ChatFrame7UpButton {
0 = <userdata>
clickDelay = 0
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = ChatFrame7 {
oldAlpha = 0
channelList = <table> {
}
0 = <userdata>
isInitialized = 1
is_chat_frame = false
editBox = ChatFrameEditBox {
}
showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
tellTimer = 11574.478
name = "Chat 7"
isLocked = 1
zoneChannelList = <table> {
}
flashTimer = 0
messageTypeList = <table> {
}
}
(*temporary) = "OnMouseWheel"
(*temporary) = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:197
(*temporary) = "attempt to perform arithmetic on a nil value"
frame = nUI_ChatFrame {
applyOptions = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:433
configFrame = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:477
applyAnchor = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:399
applyScale = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:275
0 = <userdata>
texture = <unnamed> {
}
}

Any assistance would be greatly appreciated.

Regards,

Raven
 
02-05-10, 12:31 PM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
Yes, that little error can get mighty annoying. At first I only seemed to get it on characters I had logged in new after a WTF wipe but I still occasionally get it and I can't see a pattern to it but a /nui rl will correct it almost all the time.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
02-05-10, 12:31 PM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This is occurring only during login and not at odd times during game play, correct?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
02-05-10, 12:36 PM   #12
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
Yes, only when you log in each time. At least that is the only time I see it happen. On different characters, even characters I have played with for a while I think have done it as well, but less so. In my case it could very well be due to lack of WTF values if I hadn't used that character since a wtf wipe.

I am wondering though if it is something with the GuildChat or any of my addons ? If everyone getting this problem can disable the addons for a while and see if it reoccurs.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
02-05-10, 01:10 PM   #13
Raventiger
A Cyclonian
 
Raventiger's Avatar
Join Date: Mar 2009
Posts: 36
yes only during logins
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Intermittent Chat Frame Errors


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