Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reading JArray from JsonReader #85

Closed
davidskeen opened this issue Oct 31, 2019 · 3 comments
Closed

Error reading JArray from JsonReader #85

davidskeen opened this issue Oct 31, 2019 · 3 comments

Comments

@davidskeen
Copy link

Ran a report pulling all SIM metrics on a prod controller for 1 hour. Hit this error:

ExtractSIMEntities(21): [1/2], https://karauctionservices-nonprod.saas.appdynamics.com Server & Infrastructure Monitoring duration 00:06:05.3753495 (365375 ms)
ExtractSIMEntities(21): [2/2], https://karauctionservices-prod.saas.appdynamics.com Server & Infrastructure Monitoring(29) [SIM]
List of Tiers
List of Nodes
List of Groups
List of Service Availability
Service Availability Details (0 entities)
Completed 0 Service Availabilities
List of Machines
Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Path '', line 0, position 0.
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JArray.Parse(String json, JsonLoadSettings settings)
at AppDynamics.Dexter.ProcessingSteps.ExtractSIMEntities.Execute(ProgramOptions programOptions, JobConfiguration jobConfiguration) in C:\appdynamics\AppDynamics.DEXTER\src\ProcessingSteps\Extract\ExtractSIMEntities.cs:line 145
ExtractSIMEntities(21): [2/2], https://karauctionservices-prod.saas.appdynamics.com Server & Infrastructure Monitoring duration 00:01:10.4383512 (70438 ms)
ExtractSIMEntities(21): total duration 00:07:15.8349648 (435834 ms)
If you need support, please check how to get it at https://github.com/Appdynamics/AppDynamics.DEXTER/wiki#getting-support
Application execution took 00:08:01.5795372 (481579 ms)
logs.zip

all-sim-1031-1300.txt

@danielodievich
Copy link
Contributor

danielodievich commented Oct 31, 2019

That call retrieves a LOT of machines 7580 items. The code ran in debugger and parses the list just great. Strange. I'll investigate deeper

@danielodievich
Copy link
Contributor

I can't make it break.
But I added some error handling around it for times when it breaks

@davidskeen
Copy link
Author

I reduced the number of machines and generated a report successfully; not sure if there's anything further to do on this issue.
all-sim-1101-0700.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants