End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

New Poster

iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

Hi guys,

 

I am seeing multiple crases for AppDynamicsAgent (50.1.1616) while calling 

ADEumInstrumentation.initWith(config). 

 

let config = ADEumAgentConfiguration(appKey: appDynamicsKey)

 config.crashReportingEnabled = false

 config.screenshotsEnabled = false

 ADEumInstrumentation.initWith(config)

 

Screen Shot 2019-05-08 at 1.54.50 PM.png

 

Can someone please take a look? AppD is very powerful tool to measure the network performace and I hate to turn it off because of this crash. Let me know if I can use some workaround (previous version?) in the meanwhile. 

Tags (1)
iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore
6 REPLIES 6
AppDynamics Team

Re: iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

Hi Pallavi,

 

Are you using any other crash tools alongside? Multiple crash tools on iOS could cause a crash because they often use the same resources.

 

AJ

New Poster

Re: iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

Yes we are using firebase for crash reposting. Thats the reason we are using configuration to disable crash reposting for APPD (config.crashReportingEnabled = false). What are the recommended settings to use APPD only for network performance management? 

AppDynamics Team

Re: iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

You are doing it right. I had missed that detail in your post. Let us look into it and get back to you.

Highlighted
New Poster

Re: iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

Great. Thanks Anupam!

AppDynamics Team

Re: iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

Pallavi,

 

We just released a fix for the issue on version 50.1.1663.

 

AJ

New Poster

Re: iOS Application crashes with NSInvalidArgumentException when AppDynamicsAgent trying to loadFromPersistentStore

Thanks AJ. Let me try and let you know.