You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/08/30 10:58:00 UTC

[jira] [Resolved] (CAMEL-18441) Incompatible versions of Spring Boot and Apache Camel

     [ https://issues.apache.org/jira/browse/CAMEL-18441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-18441.
---------------------------------
    Resolution: Information Provided

> Incompatible versions of Spring Boot and Apache Camel 
> ------------------------------------------------------
>
>                 Key: CAMEL-18441
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18441
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.18.1
>            Reporter: Sofiia Vynnytska
>            Priority: Minor
>
> We have an issue after upgrading version of apache camel to the latest one (3.18.1). We use 2.7.1 version of spring boot and after upgrading apache camel (starting from 3.12.0) we are not able to run a docker image of the app because of an exception:
>  
> Exception in thread "main" 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)
>         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.access$400(JarFileEntries.java:48)
>         at org.springframework.boot.loader.jar.JarFileEntries$EntryIterator.next(JarFileEntries.java:366)
>         at org.springframework.boot.loader.jar.JarFileEntries$EntryIterator.next(JarFileEntries.java:350)
>         at org.springframework.boot.loader.jar.JarFile$2.nextElement(JarFile.java:204)
>         at org.springframework.boot.loader.jar.JarFile$2.nextElement(JarFile.java:195)
>         at org.springframework.boot.loader.archive.JarFileArchive$EntryIterator.next(JarFileArchive.java:189)
>         at org.springframework.boot.loader.archive.JarFileArchive$EntryIterator.next(JarFileArchive.java:174)
>         at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchives(JarFileArchive.java:85)
>         at org.springframework.boot.loader.PropertiesLauncher.addNestedEntries(PropertiesLauncher.java:560)
>         at org.springframework.boot.loader.PropertiesLauncher.getClassPathArchives(PropertiesLauncher.java:464)
>         at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
>         at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:597)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)