Skip to content

indefinite NullPointerException after single timeout #1927

Closed
@Hr0bar

Description

@Hr0bar

Expected behavior

Connection polling cycle is retried successfully after it fails once

Actual behavior

ApplicationInsights fail permanently with null pointer exception after connection timeouts once

System information

Please provide the following information:

  • SDK Version: ApplicationInsights 3.2.0
  • OS type and version: Docker container openjdk:11.0.13-jre
  • Application Server type and version (if applicable): Spring Boot 2.5.6
  • Using spring-boot? Yes

Logs

After Insights are running successfully for random time, this occurs randomly:
image

after that this:
image

and from then every polling cycle indefinitely:
image

Config

Pretty much default:

ENTRYPOINT ["java","-javaagent:/app/applicationinsights-agent-3.2.0.jar","-jar",".............


{
  "connectionString": "InstrumentationKey=CENSORED;IngestionEndpoint=https://eastus2-0.in.applicationinsights.azure.com/",
  "role": {
    "name": "CENSORED"
  },
  "sampling": {
    "percentage": 50
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions