Author Topic: [v1.7.2.24] "Wait for spoken Response" crashes VoiceAttack if phrase is blank  (Read 1778 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Now that the "Wait For Spoken Response" accepts tokens, it can be passed a blank "Responses" phrase.
E.G.
Code: [Select]
{EXP:''}
This will make VoiceAttack crash when the action executes.


Quote from: VoiceAttackFault.txt
System.NullReferenceException: Object reference not set to an instance of an object.
   at VoiceAttack.frmMain.(HashSet`1 , Command2 )
   at VoiceAttack.frmMain.(Command2 , Process , Boolean , Boolean , Int32 , Boolean , Nullable`1 , Guid , Guid , List`1 )
   at VoiceAttack.frmMain..()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

EDIT: Fixed in v1.7.2.26
« Last Edit: October 22, 2018, 01:08:28 AM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
That's a feature.

Edit-  I know I tested with a blank variable... but I found that the variable was being concatenated down below in my test command o_O

All fixed.  Thank you!
« Last Edit: October 13, 2018, 08:26:04 PM by Gary »