Vadim Pakhnushev created IGNITE-19027:
-----------------------------------------

             Summary: Update micronaut versions
                 Key: IGNITE-19027
                 URL: https://issues.apache.org/jira/browse/IGNITE-19027
             Project: Ignite
          Issue Type: Task
          Components: build
            Reporter: Vadim Pakhnushev
            Assignee: Vadim Pakhnushev


IDEA test runner puts all of the different versions of the same artifact in the 
test classpath. Apparently, if version in the versions file is lower than in 
some transitive dependency, IDEA adds both versions to the libraries list and 
puts them on the classpath, leading to all sorts of problems.

One example of this is running 
{{org.apache.ignite.internal.cli.commands.ItClusterCommandTest#initClusterWithNodesOfDifferentRoles}}
 from IDEA leading to the failure due to the exception:
{code:java}
Caused by: java.nio.file.FileSystemAlreadyExistsException
        at 
jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:102)
        at 
java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:337)
        at 
java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:286)
        at io.micronaut.core.io.IOUtils.eachFile(IOUtils.java:88)
        at 
io.micronaut.core.io.service.SoftServiceLoader.computeServiceTypeNames(SoftServiceLoader.java:277)
        at 
io.micronaut.core.io.service.SoftServiceLoader.access$1100(SoftServiceLoader.java:68)
        at 
io.micronaut.core.io.service.SoftServiceLoader$MicronautMetaServicesLoader.compute(SoftServiceLoader.java:565)
        at 
java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
        ... 5 more {code}
Let's update micronaut and netty versions to upper common version.



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

Reply via email to