The same project runs with APM 1.8 Javaclient but with 1.9.0 the JVM crashes without any information from program
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.7.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo</name>
<description>Demo project for Spring Boot</description>
<properties>
<version.elastic.apm>1.9.0</version.elastic.apm>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-agent-attach</artifactId>
<version>${version.elastic.apm}</version>
</dependency>
<dependency>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-agent-api</artifactId>
<version>${version.elastic.apm}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Starter class
public static void main(String[] args) {
Map<String, String> options = new HashMap<>();
options.put("service_name", simulation");
options.put("application_packages", "eu.amova,com.siemag,pas.core");
options.put("elastic.apm.stack_trace_limit", "0");
options.put("elastic.apm.span_frames_min_duration", "0ms");
options.put("disable_instrumentations", "elasticsearch-restclient,concurrent,executor,jax-rs,jax-ws,jdbc,scheduled");
options.put("server_urls", apm_server_urls);
ElasticApmAttacher.attach(options);
SpringApplication.run(DemoApplication.class, args);
}