View Bug Report
Error popped when completing missions
Bug #: 8310
File: All Your Base
Date: 03-12-15 03:46 AM
By: Barleduq
Status: Fixed
I use Garrison Mission Manager and Master Plan - I don't know which one has the single button to complete all missions without clicking through the animation, opening the chest, clicking next...

I logged into my second toon of the day - has been in draenor shorter than longest toon, but longer than shortest toon (i only have 3 in draenor at the moment). I had the following missions ready to complete, with none pending: Clearing the Caches, Nevermore, Raiding (something, covered by the mission gains pane), Rolkor, and I think three more, which I've lost because I clicked 'done' on the mission gains pane to get it out of the way, and now it's just the available missions. I beleive there were 7.

Somewhere in the middle the ... not sure what to call it. When they complete there's a timing to it, I presume whatever speed Blizz permits. There was a noticeable lag for at least one of them, maybe two, I wasn't looking completely at the screen. As soon as the *last* one finished, this error showed up on the screen.

TO be honest, I don't know if I'd remember to disable everything but your code before I went in and clicked 'complete'. It's a bit difficult to recreate the situation due to the changing nature of the various missions.

Date: 2015-03-12 06:04:05
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\AllYourBase\AllYourBase.lua line 603:
   attempt to index field '?' (a nil value)
   AllYourBase\AllYourBase.lua:603: RemoveCompletedMission()
missionID = 373
(*temporary) = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2203
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = "Acreswild-Shu'halo"
(*temporary) = "attempt to index field '?' (a nil value)"
me = "Acreswild-Shu'halo"
AYB = <table> {
 StatusButton_OnEnter = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2122
 RemoveCompletedMission = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:599
 RaceIDs = <table> {
 Blacklist = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1273
 DisplayCompletedSingleMission = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:706
 CompareLoginTimes = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1356
 Indices = <table> {
 SettingsMap = <table> {
 SearchAllForCompleteMissions = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:656
 RemoveCharacter = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1292
 SearchAllForCompleteBuildings = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:753
 CharHasOpenShipments = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1044
 SearchAllForResourceLimit = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:876
 CharHasOpenIdleMissions = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1059
 SliderWindow = AllYourBaseResourceLimitSliderWindow {
 DoSavedNotifications = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1311
 CharHasOpenResources = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1078
 UpNext = <table> {
 ResetDailyInformation = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1375
 DecrementNode = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1422
 StatusButton = AllYourBaseStatusButton {
 CreateReportPageItemList = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1146
 BuildingIDsToNames = <table> {
 FakeWhisper = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1301
 DailyResetFrame = <unnamed> {
 DisplayCompletedSingleBuilding = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:803
 CharHasOpenBuildings = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1029
 WhichCrafter = AllYourBaseDetermineCrafter {
 ReportItem_OnMouseWheel = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1514
 NextToComplete = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:621
 SearchAllForCompleteShipments = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:815
 CharHasOpenMissions = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1014
 StatusIntros = <table> {
 Tooltip = AllYourBaseTooltip {
 HashLength = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2216
 ReportItem_OnLeave = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2103
 PrintAtPEW = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2209
 DisplayResourceLimitReached = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:902
 AddAnyMissing = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:553
 Slider = AllYourBaseResourceSlider {
 Print = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2199
 StartShipment = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:360
 UpdateHasGarrisonStatus = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:1617
 OptionsDropdown_OnLoad = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2079
 TextToSecs = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2162
 Sync = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:377
 ProperCase = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2182
 SecsToText = <function> defined @Interface\AddOns\AllYourBase\AllYourBase.lua:2177
  Swatter, v5.0.0 (<%codename%>)
  WowheadLooter, v60005
  ACP, v3.4.15 
  AdvancedXPBar, v2.0.1
  AllYourBase, v1.0.3
  Altoholic, vr155
  Analyst, v1.3.0
  Archy, v6.1.0.10
  Armory, vv12.4.1
  ArmoryGuildBank, vv12.4.1
  AucAdvanced, v5.21c.5521 (SanctimoniousSwamprat)
  AucFilterBasic, v5.21c.5521 (SanctimoniousSwamprat)
  AucFilterOutlier, v5.21c.5521.5459(5.21c/embedded)
  AucMatchUndercut, v5.21c.5521.5507(5.21c/embedded)
  AucStatHistogram, v5.21c.5521 (SanctimoniousSwamprat)
  AucStatiLevel, v5.21c.5521 (SanctimoniousSwamprat)
  AucStatPurchased, v5.21c.5521 (SanctimoniousSwamprat)
  AucStatSales, v5.21c.5521.5476(5.21c/embedded)
  AucStatSimple, v5.21c.5521 (SanctimoniousSwamprat)
  AucStatStdDev, v5.21c.5521 (SanctimoniousSwamprat)
  AucStatWOWEcon, v5.21c.5521.5323(5.21c/embedded)
  AucUtilAHWindowControl, v5.21c.5521.5347(5.21c/embedded)
  AucUtilAppraiser, v5.21c.5521.5495(5.21c/embedded)
  AucUtilAskPrice, v5.21c.5521.5447(5.21c/embedded)
  AucUtilAutoMagic, v5.21c.5521.5443(5.21c/embedded)
  AucUtilCompactUI, v5.21c.5521.5496(5.21c/embedded)
  AucUtilEasyBuyout, v5.21c.5521.5507(5.21c/embedded)
  AucUtilFixAH, v5.21c.5521 (SanctimoniousSwamprat)
  AucUtilItemSuggest, v5.21c.5521.5417(5.21c/embedded)
  AucUtilPriceLevel, v5.21c.5521.5458(5.21c/embedded)
  AucUtilScanButton, v5.21c.5521.5403(5.21c/embedded)
  AucUtilScanFinish, v5.21c.5521.5515(5.21c/embedded)
  AucUtilScanProgress, v5.21c.5521.4979(5.21c/embedded)
  AucUtilScanStart, v5.21c.5521.5347(5.21c/embedded)
  AucUtilSearchUI, v5.21c.5521.5515(5.21c/embedded)
  AucUtilSimpleAuction, v5.21c.5521.5514(5.21c/embedded)
  AucUtilVendMarkup, v5.21c.5521.4828(5.21c/embedded)
  AutoRepair, v
  Awwwww, v2.0.1
  Babylonian, v5.1.DEV.332(/embedded)
  BadBoy, v12.532
  BadBoyCCleaner, v
  BadBoyHistory, v1.31
  BeanCounter, v5.21c.5521 (SanctimoniousSwamprat)
  BelowAverageItems, v1.13
  BetterTooltips, vv1.4b
  BindsWhen, v6.1.0.3
  BOPCraftConfirm, v1.2.0
  BulkOrder, vv1.15
  ChatLoot, v1.5
  Compass, v1.0.5
  Configator, v5.1.DEV.376(/embedded)
  CritterEmote, v1.8
  DarkmoonProfessional, v6.0.3.2
  DataStore, vr53
  DataStoreAchievements, vr39
  DataStoreAgenda, vr21
  DataStoreAuctions, v6.0.001
  DataStoreCharacters, vr31
  DataStoreContainers, vr49
  DataStoreCrafts, vr65
  DataStoreCurrencies, vr28
  DataStoreGarrisons, vr9
  DataStoreInventory, vr42
  DataStoreMails, vr42
  DataStorePets, vr37
  DataStoreQuests, vr34
  DataStoreReputations, vr35
  DataStoreSpells, vr25
  DataStoreStats, vr24
  DataStoreTalents, vr50
  DebugLib, v5.1.DEV.337(/embedded)
  DragEmAll, v1.0.6
  Dresser, v6.0.0.141016
  Elephant, v3.4.2
  Enchantrix, v5.21c.5521 (SanctimoniousSwamprat)
  Engravings, v6.0.0.30
  Exonumist, v6.1.0.16
  FactionAddict, v1.28
  FishingBuddy, v1.4w
  FlightMapEnhanced, v1.5.55
  GarrisonMissionManager, vv27
  Gatherer, v5.0.0
  GemHelper, v6.0.6
  GoFish, v6.1.0.12
  Grail, v068
  GrailAchievements, v011
  GrailReputations, v007
  GrailWhen, v001
  GuildRosterButtons, v4.0
  IgnoreMore, v1.1.1-40300
  InFlightLoad, v6.0.001
  Informant, v5.21c.5521 (SanctimoniousSwamprat)
  KeepingTabs, v1.4.2
  LagBar, v3.3
  LegacyQuest, vv1.0
  LibExtraTip, v5.12.DEV.363(/embedded)
  LightHeaded, vwowi:revision
  Linkerize, v006
  Livestock, v2.3.7
  MasterPlan, v0.32
  MerchantFilterButtons, v2.2
  MetaMap, v6.1.0.1
  MetaMapBWP, v6.1.0
  MetaMapFWM, v6.1.0
  MetaMapNBK, v6.1.0
  MetaMapQST, v6.1.0
  MetaMapTRK, v6.1.0.1
  MetaMapWKB, v6.1.0
  MicroMenu, v1.2.1
  Overachiever, v0.82
  OverachieverTrade, v0.82
  Pawn, v1.9.15
  PetLeash, v3.0.5
  Postal, v3.5.4
  QuestPlates, v0.8
  QuickQuestItem, v3.0
  RangeDisplay, vv4.3.2
  SanityCheck, vv1.67
  SilverDragon, vv3.1.5
  SimpleDing, v0.8
  SimpleGold, v5.4.3
  SlideBar, v5.0.0 (<%codename%>)
  SpeedyGonzales, v1.7.1
  Squirrels, vr09
  StoreBeGone, v1.2
  Stubby, v5.21c.5521 (SanctimoniousSwamprat)
  SwindlerPreventer, v5.0.1 (15799) BETA
  TabardAddict, v2.28
  TinyPad, v2.0.4
  TipHelper, v5.12.DEV.351(/embedded)
  TipTop, v2.14.2
  TomTom, vv60000-1.1.1-2dddf66
  TrackOMatic, v1.7.0
  TradeSkillDW, v1.98
  WhoFramedWatcherWabbit, v2.1.1
  Wholly, v050
  WowheadGarrisonTimer, v1.0.9
  ZoneAchievementTracker, v6.1.0.15
  BlizRuntimeLib_enUS v6.1.0.60100 <none>

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Recompense - 03-13-15 09:21 PM
Confirmed, this is from poor code structure on my part.

The only way this could have happened, to my knowledge, is if you accepted a mission on a previous log-in, and then that mission completed but you had crashed or force-quit the game in between.
By: Recompense - 03-13-15 11:00 PM
Fixed in v 1.0.4