Crashes with certain classes. #6


  • New
  • Defect
Open
Assigned to _ForgeUser18754
  • _ForgeUser2177042 created this issue Apr 27, 2009

    Using Spellbinder R5 (the latest version) I get the following error if I try to use it while playing a Paladin, Warrior, Druid and Priest. Does NOT crash when the class is Death Knight, Mage and Hunter. Can't speak for the Rogue, Shaman and Warlock classes. Tested with a fresh install of WoW 3.1.1 with no other addons running.

    Error occured in: Global
    Count: 1
    Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua line 1656:
    AceConfigRegistry-3.0:ValidateOptionsTable(): SpellBinder.args.school4.name: expected a string or funcref, got 'nil'
    Debug:
    [C]: ?
    [C]: error()
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:42:
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:37
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:173:
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:168
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:207:
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:217:
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:248: ValidateOptionsTable()
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:294: app()
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1656: Open()
    SpellBinder\SpellBinder.lua:30: value()
    ..\FrameXML\ChatFrame.lua:3231: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:2930: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2951: ChatEdit_OnEnterPressed()
    [string "*:OnEnterPressed"]:1:
    [string "*:OnEnterPressed"]:1

  • _ForgeUser2177042 added the tags New Defect Apr 27, 2009
  • lachian posted a comment Apr 3, 2010

    I can reproduce this too. It believe the root of the problem is at Spellbinder.lua line 401 where it tries to call a function to look at the "4th tab" in your spellbook. The author assumed that every player has 4 tabs in their spellbook, which isn't always the case. If the player has no spells trained in that school (like a fresh druid with no feral abilities trained) they won't have a 4th tab until they train an ability in that tree.

    I don't know Lua that well, but this probably could be patched by some code that checks to see if "school4" exists before it tries to access it.

  • _ForgeUser220372 posted a comment May 2, 2010

    Fix committed. Download r6 from files section or Curse Updater


To post a comment, please login or register a new account.