Grail

3M Downloads

Error in _AnyEvaluateTrue() in Grail, v098 with Wholly, v068

luis-ortiz opened this issue ยท 9 comments

commented
Date: 2018-10-24 16:14:49
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Grail\Grail.lua line 3391:
   attempt to index field '?' (a nil value)
Debug:
   (tail call): ?
   [C]: ?
   Grail\Grail.lua:3391: _AnyEvaluateTrue()
   Grail\Grail.lua:6533: IsInvalidated()
   Grail\Grail.lua:9508: StatusCode()
   Grail\Grail.lua:5820: f()
   Grail\Grail.lua:3342: _AllEvaluateTrueS()
   Grail\Grail.lua:3441:
      Grail\Grail.lua:3422
   (tail call): ?
   Grail\Grail.lua:3359: AncestorStatusCode()
   Grail\Grail.lua:9505: StatusCode()
   Grail\Grail.lua:5820: f()
   Grail\Grail.lua:3342: _AllEvaluateTrueS()
   Grail\Grail.lua:3441:
      Grail\Grail.lua:3422
   (tail call): ?
   Grail\Grail.lua:3359: AncestorStatusCode()
   Grail\Grail.lua:9505: StatusCode()
   Grail\Grail.lua:5820: f()
   Grail\Grail.lua:3342: _AllEvaluateTrueS()
   Grail\Grail.lua:3441:
      Grail\Grail.lua:3422
   (tail call): ?
   Grail\Grail.lua:3359: AncestorStatusCode()
   Grail\Grail.lua:9505: StatusCode()
   Grail\Grail.lua:3808: ClassificationOfQuestCode()
   Wholly\Wholly.lua:1351: _ClassifyQuestsInMap()
   Wholly\Wholly.lua:3266: _RecordTooltipNPCs()
   Wholly\Wholly.lua:898: ?()
   Wholly\Wholly.lua:2398: _OnEvent()
   Wholly\Wholly.lua:2541:
      Wholly\Wholly.lua:2541
Locals:
(*temporary) = <function> defined =[C]:-1

AddOns:
  BlizzBugsSuck, v7.0.3.1
  Swatter, v7.3.1 (<%codename%>)
  AltsMail, v2.07
  ArmoryScraper, vv50400-1.6
  AskMrRobot, v64
  Auctionator, v5.0.5
  BankItems, v8.0.1.1
  BankStack, vv39
  Bartender4, v4.8.1
  CensusPlus, v8.0.
  DBMCore, v8.0.13
  DBMDefaultSkin, v
  DBMStatusBarTimers, v
  GarrisonCommanderBroker, v3.0.0 1.1.0
  Grail, v098
  GrailQuestsenUS, v27178
  GrailReputations, v007
  Identity2, v4.0.1
  ImprovedOptionsFrames, v1.5.6
  LibExtraTip, v5.12.DEV.435(/embedded)
  LuaBrowser, v18.08.12
  NoItsNot, v8.0.1.3
  Overachiever, v1.0.4
  OverachieverCache, v1.0.4
  Pawn, v2.2.30
  PetBattleTeams, v3.3.10
  PetTracker, v8.0.6
  PetTrackerBreeds, v8.0.6
  PetTrackerSwitcher, v8.0.6
  PetTrackerUpgrades, v8.0.6
  Quartz, v3.4.0-3-g65bcdc4
  QuestsChanged, vv7
  RandomMountContinued, v6.0.7
  Rubbish, vv7.3.0-1.11
  Skada, v1.7.5
  TextureBrowser, v18.08.20
  TheUndermineJournal, v5.4.20181023
  TomTom, v@project-version@
  TradeSkillMaster, vv4.4.6
  TradeSkillMasterAppHelper, vv4.0
  Wholly, v068
  WowLua, vv80000-1.0.0
  WoWPro, v8.0.1M
  WoWProAchievements, v8.0.1M
  WoWProDailies, v8.0.1M
  WoWProLeveling, v8.0.1M
  WoWProProfession, v8.0.1M
  WoWProWorldEvents, v8.0.1M
  BlizRuntimeLib_enUS v8.0.1.80000 <none>
  (ck=4dd)
commented

Do you happen to know what you were doing at the time (like zone or map, etc.)?

commented

It just happened right now on a Blood DK about his mail in Stormwind near the Dwarven District AH.
Right after login.

commented

Were you playing on a European server by any chance?

commented

Nope. NA, Garrosh.

commented

That's definitely it. I was never able to debug that since none of my characters fell into that pitfall. Perhaps I should have started a new character. At least now I can track down what the fix is. I should be updating GitHub soon. Thanks a ton.

commented

The latest release should fix this from both removing the bogus questId and checking for nil.

commented

BTW, I threw this line in just before the bad access:

print(string.format("questId=%q, codePrefix=%q, quests[questId]=%s",questId,codePrefix,tostring(self.quests[questId])))

And the last thing printed on my Alliance DK was:
questId="48602", codePrefix="I", quests[questId]=nil
The same last line was printed on my void elf on the same server.

That questId is not valid, but I see it in:
Grail-Quests.lua:G[49787]='FA K0000 L110 N120 A:126321 T:130919 P:50239+48602'

And indeed, all I can cause the error on all my alliance toons, by enabling Wholly.

commented

It is fixed, thanks!

commented

Cool.