Intents framework throws exception when setting vocabulary strings on INVocabulary
| Originator: | mark.adams86 | ||
| Number: | rdar://28484178 | Date Originated: | 09/26/2016 |
| Status: | Duplicate of 28470397 | Resolved: | |
| Product: | iOS SDK | Product Version: | 10.0 |
| Classification: | Crash | Reproducible: | Unable |
Summary: Our application will occasionally crash when attempting to set vocabulary strings on INVocabulary using -setVocabularyStrings:ofType: We have not yet been able to reproduce. On very rare occasions, the Intents framework will invoke -[_INVocabulary _THROW_EXCEPTION_FOR_ATTEMPT_TO_PROVIDE_VOCABULARY_OF_TYPE_THAT_APP_DOES_NOT_HANDLE_:] which raises an exception and crashes our application. Our app supports INSendPaymentIntent and INRequestPaymentIntent. We also take care to not set or remove vocabulary strings unless the user has authorized our application to use the shared vocabulary. The SiriKit integration works successfully for most users. Steps to Reproduce: We are not yet able to reproduce. The issue occurs rarely when we attempt to set new vocabulary strings for Siri using INVocabulary. Expected Results: The application should not crash when updating the vocabulary with types that our application can handle and the user has authorized the application to work with the Siri vocabulary. Actual Results: The application occasionally crashes. Version: iOS 10.0+ Notes: Configuration: Affects all devices Attachments: 'CrashLogs.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!