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

Update contrib version to 1.19 #2611

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Update contrib version to 1.19 #2611

wants to merge 1 commit into from

Conversation

trask
Copy link
Member

@trask trask commented Oct 20, 2022

No description provided.

@trask
Copy link
Member Author

trask commented Oct 20, 2022

@jeanbisutti can you look into the smoke test failure for SpringBootAttachInMain?

Exception in thread "main" java.lang.reflect.InvocationTargetException
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
    	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
    	at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
    	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
    Caused by: io.opentelemetry.contrib.attach.RuntimeAttachException: A problem has occurred during the runtime attachment of the Java agent.
    	at io.opentelemetry.contrib.attach.CoreRuntimeAttach.handleByteBuddyException(CoreRuntimeAttach.java:105)
    	at io.opentelemetry.contrib.attach.CoreRuntimeAttach.attachJavaagentToCurrentJVM(CoreRuntimeAttach.java:54)
    	at com.microsoft.applicationinsights.attach.ApplicationInsights.attach(ApplicationInsights.java:61)
    	at com.microsoft.applicationinsights.smoketestapp.SpringBootApp.main(SpringBootApp.java:16)
    	... 8 more
    Caused by: java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
    	at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
    	at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:717)
    	at java.base/java.time.LocalDate.of(LocalDate.java:[269](https://github.com/microsoft/ApplicationInsights-Java/actions/runs/3293251211/jobs/5429603434#step:4:271))
    	at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336)
    	at org.springframework.boot.loader.jar.CentralDirectoryFileHeader.decodeMsDosFormatDateTime(CentralDirectoryFileHeader.java:127)
    	at org.springframework.boot.loader.jar.CentralDirectoryFileHeader.getTime(CentralDirectoryFileHeader.java:116)
    	at org.springframework.boot.loader.jar.JarEntry.<init>(JarEntry.java:58)
    	at org.springframework.boot.loader.jar.JarFileEntries.getEntry(JarFileEntries.java:316)
    	at org.springframework.boot.loader.jar.JarFileEntries.getEntry(JarFileEntries.java:300)
    	at org.springframework.boot.loader.jar.JarFileEntries.doGetEntry(JarFileEntries.java:288)
    	at org.springframework.boot.loader.jar.JarFileEntries.getEntry(JarFileEntries.java:243)
    	at org.springframework.boot.loader.jar.JarFileEntries.getEntry(JarFileEntries.java:203)
    	at org.springframework.boot.loader.jar.JarFile.getEntry(JarFile.java:225)
    	at org.springframework.boot.loader.LaunchedURLClassLoader.lambda$definePackage$0(LaunchedURLClassLoader.java:137)
    	at java.base/java.security.AccessController.doPrivileged(AccessController.java:783)
    	at org.springframework.boot.loader.LaunchedURLClassLoader.definePackage(LaunchedURLClassLoader.java:129)
    	at org.springframework.boot.loader.LaunchedURLClassLoader.definePackageIfNecessary(LaunchedURLClassLoader.java:111)
    	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:81)
    	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1074)
    	at io.opentelemetry.contrib.attach.CoreRuntimeAttach.attachJavaagentToCurrentJVM(CoreRuntimeAttach.java:52)
    	... 10 more

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

Successfully merging this pull request may close these issues.

1 participant