Thread Tools Display Modes
11-08-15, 03:18 PM   #1
darkancient
A Murloc Raider
Join Date: Sep 2011
Posts: 7
[8.1 14g][Bug] Tabs.lua:53 nil value

It occurs when a chat tab is selected.

Code:
18x nibRealUI\Modules\Chat\Tabs.lua:53: attempt to index local 'tab' (a nil value)
nibRealUI\Modules\Chat\Tabs.lua:53: in function 'UpdateTab'
nibRealUI\Modules\Chat\Tabs.lua:111: in function <nibRealUI\Modules\Chat\Tabs.lua:105>
[C]:: in function 'FCF_OpenTemporaryWindow'
...Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:149: in function 'PetBattleFrame_Display'
...Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:95: in function <...Blizzard_PetBattleUI\Blizzard_PetBattleUI.lua:92>
  Reply With Quote
11-08-15, 06:02 PM   #2
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
The next time you see this, could you type into chat
Code:
/realdebug Chat_Tabs
then post the output text in a reply (if it's large, please use pastebin)
__________________
Knowledge = Power; Be OP

  Reply With Quote
11-12-15, 03:39 PM   #3
darkancient
A Murloc Raider
Join Date: Sep 2011
Posts: 7
It happened again today. Currently using version 8.1 r14h
Reproduction info: simply start a pet battle.

http://pastebin.com/7cTUBrJN

Last edited by darkancient : 11-12-15 at 03:47 PM. Reason: Version and reproduction info
  Reply With Quote
11-14-15, 02:43 PM   #4
Sleaker
A Murloc Raider
Join Date: Nov 2006
Posts: 8
Also getting this issue. I installed PetTracker and Rarity so I'm not sure if it's related to them being installed. Right now I just added a return if tab is nil to the ChatTab function and that seems to bypass the error.
  Reply With Quote
11-14-15, 10:00 PM   #5
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
Check your PhanxChat settings. There is an option that prevents the pet battle combat log from be created, this is what causes the error.
__________________
Knowledge = Power; Be OP

  Reply With Quote
11-15-15, 02:29 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Well, I'd have to argue that my addon isn't actually causing the error -- your (?) addon shouldn't just assume that someone calling the "make a new chat tab" function always means a new chat tab is actually made.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
11-15-15, 08:23 PM   #7
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
Originally Posted by Phanx View Post
Well, I'd have to argue that my addon isn't actually causing the error -- your (?) addon shouldn't just assume that someone calling the "make a new chat tab" function always means a new chat tab is actually made.
True, it just wasn't a case that was considered before.
__________________
Knowledge = Power; Be OP

  Reply With Quote
11-15-15, 09:16 PM   #8
Sleaker
A Murloc Raider
Join Date: Nov 2006
Posts: 8
Originally Posted by Gethe View Post
Check your PhanxChat settings. There is an option that prevents the pet battle combat log from be created, this is what causes the error.
It looks like it's disabled already. Are you saying that when it's disabled the function call happens and it causes it to error since the tab doesn't actually get created?
  Reply With Quote
11-15-15, 10:20 PM   #9
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
Originally Posted by Sleaker View Post
It looks like it's disabled already. Are you saying that when it's disabled the function call happens and it causes it to error since the tab doesn't actually get created?
Correct, an update will be available soon.
__________________
Knowledge = Power; Be OP

  Reply With Quote
11-15-15, 11:13 PM   #10
Sleaker
A Murloc Raider
Join Date: Nov 2006
Posts: 8
Originally Posted by Gethe View Post
Correct, an update will be available soon.
Sweet, thanks!

Also I've been creating a bunch of issues on github, not sure if you'd rather I throw them up there or here.
  Reply With Quote
11-16-15, 09:18 AM   #11
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
Originally Posted by Sleaker View Post
Also I've been creating a bunch of issues on github, not sure if you'd rather I throw them up there or here.
Putting them on github is great, that's why it's there.
__________________
Knowledge = Power; Be OP

  Reply With Quote

WoWInterface » Featured Projects » RealUI » [8.1 14g][Bug] Tabs.lua:53 nil value


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