View Issue Details

IDProjectCategoryLast Update
0009390Valley 1Bug - OtherAug 31, 2012 4:43 pm
Reporterkhadgar Assigned ToChris_McElligottPark  
Status assignedResolutionopen 
Product Version1.206 
Summary0009390: Attempting to make a copy of an empty inventory square produces error text in the message log.
DescriptionRepro:
1) Open the inventory
2) Hold down the ALT key
3) Click and drag an empty inventory square to another empty inventory square

Result:
The following error text is output to the message log;

System.NullReferenceException: Object reference not set to an instance of an object
  at Inventory.SwapUsableItemSlots (ArcenPoint OriginPoint, ArcenPoint TargetPoint, Int32 InsertNewInventorySlotRowAtIndex, InventoryMode InventoryMode, Boolean CreateGhostCopyInsteadOfMove, .GameEntity UsingEntity, .AbilityUseResult Result) [0x00000] in <filename unknown>:0

  at Inventory.SwapUsableItemSlots (ArcenPoint OriginPoint, ArcenPoint TargetPoint, Int32 InsertNewInventorySlotRowAtIndex, InventoryMode InventoryMode, Boolean CreateGhostCopyInsteadOfMove, .GameEntity UsingEntity, .AbilityUseResult Result) [0x00000] in <filename unknown>:0

   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.Exception Exception)
   at Inventory.SwapUsableItemSlots(ArcenPoint OriginPoint, ArcenPoint TargetPoint, Int32 InsertNewInventorySlotRowAtIndex, InventoryMode InventoryMode, Boolean CreateGhostCopyInsteadOfMove, .GameEntity UsingEntity, .AbilityUseResult Result)
   at Ability.TryExecuteInner(.GameEntity UsingEntity, .GameEntity TargetEntity, .QueuedAbilityUse QueuedAbilityUse, .AbilityUseResult Result)
   at Ability.TryExecute(.GameEntity UsingEntity, .GameEntity TargetEntity, .QueuedAbilityUse QueuedAbilityUse, .AbilityUseResult Result)
   at QueuedAbilityUse.TryExecute()
   at Game.ProcessSimStep()
   at Game.RunNextCycle(Boolean DoRendering)
   at Game.RunFrame()
   at MainCameraLogic.MainUpdateLogic()
   at MainCameraLogic.Update()

Expected:
No debug error text is displayed when the user attempts to take an illegal action. The error beep sound is played.
TagsNo tags attached.
Internal WeightFix Before Major Release

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
Aug 28, 2012 2:31 am khadgar New Issue
Aug 31, 2012 4:43 pm tigersfan Internal Weight => Fix Before Major Release
Aug 31, 2012 4:43 pm tigersfan Assigned To => Chris_McElligottPark
Aug 31, 2012 4:43 pm tigersfan Status new => assigned