[infinispan-issues] [JBoss JIRA] (ISPN-8843) Running Hot Rod client tests from IDE results in CompletionFailure

Galder Zamarreño (JIRA) issues at jboss.org
Tue Feb 20 04:44:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-8843:
-----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.2.0.CR3
       Resolution: Done


> Running Hot Rod client tests from IDE results in CompletionFailure
> ------------------------------------------------------------------
>
>                 Key: ISPN-8843
>                 URL: https://issues.jboss.org/browse/ISPN-8843
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 9.1.0.CR1
>         Environment: * OpenJDK Runtime Environment (build 1.8.0_161-b14)
> * Fedora, kernel 4.14.16-200.fc26.x86_64
> * Apache Maven 3.5.0 
> * IntelliJ IDEA 2017.3.4 (Community Edition)
> Build #IC-173.4548.28, built on January 30, 2018
> JRE: 1.8.0_152-release-1024-b11 amd64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Linux 4.14.16-200.fc26.x86_64
>            Reporter: Sebastian Łaskawiec
>            Assignee: Sebastian Łaskawiec
>             Fix For: 9.2.0.CR3
>
>
> After migrating from Netty Uber Jar to small jars approach we were able to fine-tune the artifacts we depend on. This however caused some very unexpected errors when running testsuite from IDE (see the steps to reproduce):
> {code}
> Error:java: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.conscrypt.AllocatedBuffer not found
> {code}
> Everything works absolutely fine with Maven, so there must be something with the IDE. So far I noticed that {{server/core}} module seems to be the best suspect in this case. The class the IDE is complaining about might be found [here|https://github.com/netty/netty/blob/5a6ee27cee9df99404016f124d3768f9793dff59/handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java#L35]. Note that this is an optional dependency of the handler module ([see the pom.xml|https://github.com/netty/netty/blob/5a6ee27cee9df99404016f124d3768f9793dff59/handler/pom.xml#L77]). Why does IntelliJ is trying to compile it? 



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list