googleapis / google-cloud-java

Google Cloud Client Library for Java
https://cloud.google.com/java/docs/reference
Apache License 2.0
1.9k stars 1.06k forks source link

Dialogflow V2, Springboot Dialogflow Library calls are failing ::: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_x86_64, netty_tcnative_linux_x86_64_fedora, netty_tcnative_x86_64, netty_tcnative] #4736

Closed ronisac closed 5 years ago

ronisac commented 5 years ago

Hi All, I have integrated Dialogflow V2 API (DetectIntend) with Springboot and it is working perfectly fine in my local machine. But the API calls are failing after deploying the same to GCP. After doing some research, I have added following dependencies which didn't help either. Have gone through directions in here , but didn't solve the issue. Please see the grpc dependencies added.


        <groupId>io.grpc</groupId>
        <artifactId>grpc-netty-shaded</artifactId>
        <version>1.18.0</version>
    </dependency>
    <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty-handler</artifactId>
        <version>4.1.32.Final</version>
    </dependency>
    <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty-tcnative-boringssl-static</artifactId>
        <version>2.0.20.Final</version>
    </dependency>
   <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-netty</artifactId>
            <version>1.18.0</version>
     </dependency>
      <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-okhttp</artifactId>
            <version>1.18.0</version>
    </dependency>```

Also please see the maven dependency tree.

```[INFO] com.sapient.cg:cg-conversationservice:jar:0.0.1-SNAPSHOT
[INFO] +- org.projectlombok:lombok:jar:1.16.16:compile
[INFO] +- io.springfox:springfox-swagger2:jar:2.8.0:compile
[INFO] |  +- io.swagger:swagger-annotations:jar:1.5.14:compile
[INFO] |  +- io.swagger:swagger-models:jar:1.5.14:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0.pr3:compile
[INFO] |  +- io.springfox:springfox-spi:jar:2.8.0:compile
[INFO] |  |  \- io.springfox:springfox-core:jar:2.8.0:compile
[INFO] |  +- io.springfox:springfox-schema:jar:2.8.0:compile
[INFO] |  +- io.springfox:springfox-swagger-common:jar:2.8.0:compile
[INFO] |  +- io.springfox:springfox-spring-web:jar:2.8.0:compile
[INFO] |  |  \- org.reflections:reflections:jar:0.9.11:compile
[INFO] |  |     \- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] |  +- com.fasterxml:classmate:jar:1.3.3:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] |  +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-beans:jar:5.0.0.RC2:compile
[INFO] |  |  +- org.springframework:spring-context:jar:5.0.0.RC2:compile
[INFO] |  |  \- org.springframework:spring-aop:jar:5.0.0.RC2:compile
[INFO] |  +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
[INFO] |  \- org.mapstruct:mapstruct:jar:1.2.0.Final:compile
[INFO] +- io.springfox:springfox-swagger-ui:jar:2.8.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.boot:spring-boot-actuator:jar:2.0.0.M2:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-config:jar:2.0.0.M2:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-starter:jar:2.0.0.M2:compile
[INFO] |  |  +- org.springframework.cloud:spring-cloud-context:jar:2.0.0.M2:compile
[INFO] |  |  \- org.springframework.security:spring-security-rsa:jar:1.0.5.RELEASE:compile
[INFO] |  |     \- org.bouncycastle:bcpkix-jdk15on:jar:1.56:compile
[INFO] |  |        \- org.bouncycastle:bcprov-jdk15on:jar:1.56:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-config-client:jar:2.0.0.M2:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.0.pr3:compile
[INFO] |     \- com.fasterxml.jackson.core:jackson-core:jar:2.9.0.pr3:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-eureka:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar:2.0.0.M2:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-web:jar:2.0.0.M2:compile
[INFO] |     |  +- org.springframework.boot:spring-boot-starter-json:jar:2.0.0.M2:compile
[INFO] |     |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.0.pr3:compile
[INFO] |     |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.0.pr3:compile
[INFO] |     |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.0.pr3:compile
[INFO] |     |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.0.M2:compile
[INFO] |     |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.15:compile
[INFO] |     |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.15:compile
[INFO] |     |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.15:compile
[INFO] |     |  +- org.hibernate:hibernate-validator:jar:5.4.1.Final:compile
[INFO] |     |  |  +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] |     |  |  \- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
[INFO] |     |  \- org.springframework:spring-webmvc:jar:5.0.0.RC2:compile
[INFO] |     +- org.springframework.cloud:spring-cloud-netflix-eureka-client:jar:2.0.0.M2:compile
[INFO] |     +- com.netflix.eureka:eureka-client:jar:1.7.0:compile
[INFO] |     |  +- org.codehaus.jettison:jettison:jar:1.3.7:runtime
[INFO] |     |  |  \- stax:stax-api:jar:1.0.1:runtime
[INFO] |     |  +- com.netflix.netflix-commons:netflix-eventbus:jar:0.3.0:runtime
[INFO] |     |  |  +- com.netflix.netflix-commons:netflix-infix:jar:0.3.0:runtime
[INFO] |     |  |  |  +- commons-jxpath:commons-jxpath:jar:1.3:runtime
[INFO] |     |  |  |  +- joda-time:joda-time:jar:2.9.9:runtime
[INFO] |     |  |  |  \- org.antlr:antlr-runtime:jar:3.4:runtime
[INFO] |     |  |  |     +- org.antlr:stringtemplate:jar:3.2.1:runtime
[INFO] |     |  |  |     \- antlr:antlr:jar:2.7.7:runtime
[INFO] |     |  |  \- org.apache.commons:commons-math:jar:2.2:runtime
[INFO] |     |  +- javax.ws.rs:jsr311-api:jar:1.1.1:runtime
[INFO] |     |  +- com.netflix.servo:servo-core:jar:0.10.1:runtime
[INFO] |     |  |  \- com.netflix.servo:servo-internal:jar:0.10.1:runtime
[INFO] |     |  +- com.sun.jersey:jersey-core:jar:1.19.1:runtime
[INFO] |     |  +- com.sun.jersey:jersey-client:jar:1.19.1:runtime
[INFO] |     |  +- com.sun.jersey.contribs:jersey-apache-client4:jar:1.19.1:runtime
[INFO] |     |  \- com.google.inject:guice:jar:4.1.0:runtime
[INFO] |     |     \- aopalliance:aopalliance:jar:1.0:runtime
[INFO] |     +- com.netflix.eureka:eureka-core:jar:1.7.0:compile
[INFO] |     |  \- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:runtime
[INFO] |     |     +- javax.xml.stream:stax-api:jar:1.0-2:runtime
[INFO] |     |     \- org.codehaus.woodstox:stax2-api:jar:3.1.4:runtime
[INFO] |     +- org.springframework.cloud:spring-cloud-starter-netflix-archaius:jar:2.0.0.M2:compile
[INFO] |     |  +- commons-configuration:commons-configuration:jar:1.8:compile
[INFO] |     |  \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |     +- com.netflix.ribbon:ribbon-eureka:jar:2.2.2:compile
[INFO] |     \- com.thoughtworks.xstream:xstream:jar:1.4.9:compile
[INFO] |        +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] |        \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-feign:jar:2.0.0.M1:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-netflix-core:jar:2.0.0.M2:compile
[INFO] |  +- org.springframework:spring-web:jar:5.0.0.RC2:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-commons:jar:2.0.0.M2:compile
[INFO] |  |  +- org.springframework.security:spring-security-crypto:jar:5.0.0.M2:compile
[INFO] |  |  \- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
[INFO] |  +- io.github.openfeign:feign-core:jar:9.5.0:compile
[INFO] |  |  \- org.jvnet:animal-sniffer-annotation:jar:1.0:compile
[INFO] |  +- io.github.openfeign:feign-slf4j:jar:9.5.0:compile
[INFO] |  +- io.github.openfeign:feign-hystrix:jar:9.5.0:compile
[INFO] |  |  +- com.netflix.archaius:archaius-core:jar:0.7.5:compile
[INFO] |  |  \- com.netflix.hystrix:hystrix-core:jar:1.5.12:compile
[INFO] |  |     \- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-archaius:jar:2.0.0.M2:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-hystrix:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-netflix-hystrix:jar:2.0.0.M2:compile
[INFO] |     +- com.netflix.hystrix:hystrix-metrics-event-stream:jar:1.5.12:compile
[INFO] |     |  \- com.netflix.hystrix:hystrix-serialization:jar:1.5.12:runtime
[INFO] |     |     \- com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.9.0.pr3:runtime
[INFO] |     \- com.netflix.hystrix:hystrix-javanica:jar:1.5.12:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-ribbon:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-netflix-ribbon:jar:2.0.0.M2:compile
[INFO] |     +- com.netflix.ribbon:ribbon:jar:2.2.2:compile
[INFO] |     |  +- com.netflix.ribbon:ribbon-transport:jar:2.2.2:runtime
[INFO] |     |  |  +- io.reactivex:rxnetty-contexts:jar:0.4.9:runtime
[INFO] |     |  |  \- io.reactivex:rxnetty-servo:jar:0.4.9:runtime
[INFO] |     |  +- javax.inject:javax.inject:jar:1:runtime
[INFO] |     |  \- io.reactivex:rxnetty:jar:0.4.9:runtime
[INFO] |     |     +- io.netty:netty-codec-http:jar:4.1.12.Final:runtime
[INFO] |     |     |  \- io.netty:netty-codec:jar:4.1.12.Final:runtime
[INFO] |     |     \- io.netty:netty-transport-native-epoll:jar:4.1.12.Final:runtime
[INFO] |     |        +- io.netty:netty-common:jar:4.1.12.Final:runtime
[INFO] |     |        +- io.netty:netty-buffer:jar:4.1.12.Final:runtime
[INFO] |     |        +- io.netty:netty-transport-native-unix-common:jar:4.1.12.Final:runtime
[INFO] |     |        \- io.netty:netty-transport:jar:4.1.12.Final:runtime
[INFO] |     |           \- io.netty:netty-resolver:jar:4.1.12.Final:runtime
[INFO] |     +- com.netflix.ribbon:ribbon-core:jar:2.2.2:compile
[INFO] |     |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO] |     +- com.netflix.ribbon:ribbon-httpclient:jar:2.2.2:compile
[INFO] |     |  +- commons-collections:commons-collections:jar:3.2.2:runtime
[INFO] |     |  \- com.netflix.netflix-commons:netflix-commons-util:jar:0.1.1:runtime
[INFO] |     +- com.netflix.ribbon:ribbon-loadbalancer:jar:2.2.2:compile
[INFO] |     |  \- com.netflix.netflix-commons:netflix-statistics:jar:0.1.1:runtime
[INFO] |     \- io.reactivex:rxjava:jar:1.3.0:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-sleuth:jar:2.0.0.M2:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-aop:jar:2.0.0.M2:compile
[INFO] |  |  \- org.aspectj:aspectjweaver:jar:1.8.10:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-sleuth-core:jar:2.0.0.M2:compile
[INFO] |     \- org.aspectj:aspectjrt:jar:1.8.10:compile
[INFO] +- org.springframework.cloud:spring-cloud-sleuth-zipkin:jar:2.0.0.M2:compile
[INFO] |  +- io.zipkin.java:zipkin:jar:1.28.0:compile
[INFO] |  \- io.zipkin.reporter:zipkin-reporter:jar:1.0.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.0.0.M2:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:2.0.0.M2:test
[INFO] |  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.0.M2:test
[INFO] |  +- com.jayway.jsonpath:json-path:jar:2.2.0:test
[INFO] |  |  \- net.minidev:json-smart:jar:2.2.1:test
[INFO] |  |     \- net.minidev:accessors-smart:jar:1.1:test
[INFO] |  +- junit:junit:jar:4.12:test
[INFO] |  +- org.assertj:assertj-core:jar:3.8.0:test
[INFO] |  +- org.mockito:mockito-core:jar:2.8.9:test
[INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.6.14:compile
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.6.14:test
[INFO] |  |  \- org.objenesis:objenesis:jar:2.5:test
[INFO] |  +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] |  +- org.hamcrest:hamcrest-library:jar:1.3:test
[INFO] |  +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] |  +- org.springframework:spring-core:jar:5.0.0.RC2:compile
[INFO] |  |  \- org.springframework:spring-jcl:jar:5.0.0.RC2:compile
[INFO] |  \- org.springframework:spring-test:jar:5.0.0.RC2:test
[INFO] +- org.springframework.boot:spring-boot-starter-data-mongodb:jar:2.0.0.M2:compile
[INFO] |  +- org.mongodb:mongodb-driver:jar:3.4.2:compile
[INFO] |  |  +- org.mongodb:bson:jar:3.4.2:compile
[INFO] |  |  \- org.mongodb:mongodb-driver-core:jar:3.4.2:compile
[INFO] |  \- org.springframework.data:spring-data-mongodb:jar:2.0.0.M4:compile
[INFO] |     +- org.springframework:spring-tx:jar:5.0.0.RC2:compile
[INFO] |     +- org.springframework:spring-expression:jar:5.0.0.RC2:compile
[INFO] |     \- org.springframework.data:spring-data-commons:jar:2.0.0.M4:compile
[INFO] +- com.ibm.watson.developer_cloud:java-sdk:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:alchemy:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:conversation:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:core:jar:4.0.0:compile
[INFO] |  |  +- com.squareup.okhttp3:okhttp:jar:3.8.1:compile
[INFO] |  |  |  \- com.squareup.okio:okio:jar:1.13.0:compile
[INFO] |  |  +- com.squareup.okhttp3:logging-interceptor:jar:3.8.1:compile
[INFO] |  |  +- com.squareup.okhttp3:okhttp-urlconnection:jar:3.8.0:compile
[INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] |  |  \- org.glassfish.jersey.bundles.repackaged:jersey-jsr166e:jar:2.25.1:compile
[INFO] |  +- com.ibm.watson.developer_cloud:discovery:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:document-conversion:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:language-translator:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:natural-language-classifier:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:natural-language-understanding:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:personality-insights:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:retrieve-and-rank:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:speech-to-text:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:text-to-speech:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:tone-analyzer:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:tradeoff-analytics:jar:4.0.0:compile
[INFO] |  \- com.ibm.watson.developer_cloud:visual-recognition:jar:4.0.0:compile
[INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:2.0.0.M2:compile
[INFO] |  \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:compile
[INFO] +- org.apache.maven.plugins:maven-shade-plugin:jar:3.2.1:compile
[INFO] |  +- org.apache.maven:maven-plugin-api:jar:3.0:compile
[INFO] |  |  \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[INFO] |  |     \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[INFO] |  |        \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[INFO] |  +- org.apache.maven:maven-model:jar:3.0:compile
[INFO] |  +- org.apache.maven:maven-core:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-settings:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-settings-builder:jar:3.2.1:compile
[INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-model-builder:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-aether-provider:jar:3.2.1:runtime
[INFO] |  |  |  +- org.eclipse.aether:aether-api:jar:1.0.2.v20150114:runtime
[INFO] |  |  |  +- org.eclipse.aether:aether-spi:jar:0.9.0.M2:runtime
[INFO] |  |  |  \- org.eclipse.aether:aether-impl:jar:1.0.2.v20150114:runtime
[INFO] |  |  +- org.sonatype.aether:aether-impl:jar:1.7:compile
[INFO] |  |  |  \- org.sonatype.aether:aether-spi:jar:1.7:compile
[INFO] |  |  +- org.sonatype.aether:aether-api:jar:1.7:compile
[INFO] |  |  +- org.sonatype.aether:aether-util:jar:1.7:compile
[INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] |  |  +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[INFO] |  |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] |  +- org.apache.maven:maven-artifact:jar:3.0:compile
[INFO] |  +- org.codehaus.plexus:plexus-utils:jar:3.1.0:compile
[INFO] |  +- org.apache.maven.shared:maven-artifact-transfer:jar:0.10.0:compile
[INFO] |  |  +- org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile
[INFO] |  |  |  \- org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[INFO] |  |  \- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  +- org.ow2.asm:asm:jar:7.0:compile
[INFO] |  +- org.ow2.asm:asm-commons:jar:7.0:compile
[INFO] |  |  +- org.ow2.asm:asm-tree:jar:7.0:compile
[INFO] |  |  \- org.ow2.asm:asm-analysis:jar:7.0:compile
[INFO] |  +- org.jdom:jdom2:jar:2.0.6:compile
[INFO] |  +- org.apache.maven.shared:maven-dependency-tree:jar:3.0.1:compile
[INFO] |  |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[INFO] |  +- commons-io:commons-io:jar:2.5:compile
[INFO] |  \- org.vafer:jdependency:jar:2.1.1:compile
[INFO] |     \- org.ow2.asm:asm-util:jar:7.0-beta:compile
[INFO] +- ai.api:libai:jar:1.6.12:compile
[INFO] |  \- com.google.code.gson:gson:jar:2.8.1:compile
[INFO] +- com.google.cloud:google-cloud-dialogflow:jar:0.84.0-alpha:compile
[INFO] |  +- com.google.cloud:google-cloud-core:jar:1.66.0:compile
[INFO] |  |  +- com.google.http-client:google-http-client:jar:1.28.0:compile
[INFO] |  |  |  +- io.opencensus:opencensus-api:jar:0.18.0:compile
[INFO] |  |  |  \- io.opencensus:opencensus-contrib-http-util:jar:0.18.0:compile
[INFO] |  |  +- com.google.api:api-common:jar:1.7.0:compile
[INFO] |  |  +- com.google.api:gax:jar:1.42.0:compile
[INFO] |  |  |  +- org.threeten:threetenbp:jar:1.3.3:compile
[INFO] |  |  |  \- com.google.auth:google-auth-library-oauth2-http:jar:0.13.0:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java-util:jar:3.6.1:compile
[INFO] |  |  +- com.google.api.grpc:proto-google-common-protos:jar:1.14.0:compile
[INFO] |  |  \- com.google.api.grpc:proto-google-iam-v1:jar:0.12.0:compile
[INFO] |  +- com.google.cloud:google-cloud-core-grpc:jar:1.66.0:compile
[INFO] |  |  +- com.google.auth:google-auth-library-credentials:jar:0.13.0:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.6.1:compile
[INFO] |  |  +- io.grpc:grpc-protobuf:jar:1.18.0:compile
[INFO] |  |  |  \- io.grpc:grpc-protobuf-lite:jar:1.18.0:compile
[INFO] |  |  +- io.grpc:grpc-context:jar:1.18.0:compile
[INFO] |  |  \- com.google.api:gax-grpc:jar:1.42.0:compile
[INFO] |  |     \- io.grpc:grpc-alts:jar:1.18.0:compile
[INFO] |  |        \- io.grpc:grpc-grpclb:jar:1.18.0:runtime
[INFO] |  +- com.google.api.grpc:proto-google-cloud-dialogflow-v2beta1:jar:0.49.0:compile
[INFO] |  +- com.google.api.grpc:proto-google-cloud-dialogflow-v2:jar:0.49.0:compile
[INFO] |  +- io.grpc:grpc-stub:jar:1.18.0:compile
[INFO] |  |  \- io.grpc:grpc-core:jar:1.18.0:compile
[INFO] |  |     \- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.18.0:compile
[INFO] |  +- io.grpc:grpc-auth:jar:1.18.0:compile
[INFO] |  \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- com.google.api-client:google-api-client:jar:1.28.0:compile
[INFO] |  +- com.google.oauth-client:google-oauth-client:jar:1.28.0:compile
[INFO] |  +- com.google.http-client:google-http-client-jackson2:jar:1.28.0:compile
[INFO] |  \- com.google.http-client:google-http-client-apache:jar:2.0.0:compile
[INFO] +- com.google.guava:guava:jar:23.6-jre:compile
[INFO] |  +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] |  +- org.checkerframework:checker-compat-qual:jar:2.0.0:compile
[INFO] |  +- com.google.errorprone:error_prone_annotations:jar:2.1.3:compile
[INFO] |  +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
[INFO] |  \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.8:compile
[INFO] +- org.conscrypt:conscrypt-openjdk-uber:jar:2.0.0:system
[INFO] +- org.mortbay.jetty.alpn:jetty-alpn-agent:jar:2.0.9:compile
[INFO] +- io.grpc:grpc-netty-shaded:jar:1.18.0:system
[INFO] +- io.netty:netty-handler:jar:4.1.32.Final:system
[INFO] +- io.netty:netty-tcnative-boringssl-static:jar:2.0.20.Final:system
[INFO] +- io.grpc:grpc-netty:jar:1.18.0:system
[INFO] +- io.grpc:grpc-okhttp:jar:1.18.0:system
[INFO] \- org.springframework.boot:spring-boot-starter:jar:2.0.0.M2:compile
[INFO]    +- org.springframework.boot:spring-boot:jar:2.0.0.M2:compile
[INFO]    +- org.springframework.boot:spring-boot-autoconfigure:jar:2.0.0.M2:compile
[INFO]    +- org.springframework.boot:spring-boot-starter-logging:jar:2.0.0.M2:compile
[INFO]    |  +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO]    |  |  \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO]    |  +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO]    |  \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
[INFO]    \- org.yaml:snakeyaml:jar:1.18:runtime```

Please see the exception

```Exception in Dialogflow V2 io.grpc.ManagedChannelProvider$ProviderNotFoundException: No functional channel service provider found. Try adding a dependency on the grpc-okhttp, grpc-netty, or grpc-netty-shaded artifact
2019-03-25 11:13:56.322 ERROR [conversationservice,,,] 1 --- [nio-9414-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null
        at com.sapient.cg.conversationservice.engines.dialogflow.v2.DialogFlowEngineV2.getResponse(DialogFlowEngineV2.java:70) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.ConversationService.converse(ConversationService.java:44) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.GenieService.converseAndHandleAllScenarios(GenieService.java:43) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.ConversationserviceController.update(ConversationserviceController.java:44) ~[classes!/:0.0.1-SNAPSHOT]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:208) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:135) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:859) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:769) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:970) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:904) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:971) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:885) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:664) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:848) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) ~[spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:161) ~[spring-cloud-sleuth-core-2.0.0.M2.jar!/:2.0.0.M2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) ~[spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]```
Please help me resolving this issue.
sduskis commented 5 years ago

Out of all of the things you listed, please only include grpc-netty-shaded, and make sure to exclude all of the others.

ronisac commented 5 years ago

Thanks for the response. I have removed all other dependencies except grpc-netty-shaded, but getting the following exception.


  : netty-tcnative unavailable (this may be normal)

java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_x86_64, netty_tcnative_linux_x86_64_fedora, netty_tcnative_x86_64, netty_tcnative]
        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:104) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:526) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:93) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.defaultSslProvider(GrpcSslContexts.java:244) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:171) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.forClient(GrpcSslContexts.java:120) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.buildTransportFactory(NettyChannelBuilder.java:385) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:435) [grpc-core-1.18.0.jar!/:1.18.0]
        at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:223) [gax-grpc-1.42.0.jar!/:1.42.0]
        at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:164) [gax-grpc-1.42.0.jar!/:1.42.0]
        at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:156) [gax-grpc-1.42.0.jar!/:1.42.0]
        at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:157) [gax-1.42.0.jar!/:1.42.0]
        at com.google.cloud.dialogflow.v2.stub.GrpcSessionsStub.create(GrpcSessionsStub.java:75) [google-cloud-dialogflow-0.84.0-alpha.jar!/:0.84.0-alpha]
        at com.google.cloud.dialogflow.v2.stub.SessionsStubSettings.createStub(SessionsStubSettings.java:100) [google-cloud-dialogflow-0.84.0-alpha.jar!/:0.84.0-alpha]
        at com.google.cloud.dialogflow.v2.SessionsClient.<init>(SessionsClient.java:132) [google-cloud-dialogflow-0.84.0-alpha.jar!/:na]
        at com.google.cloud.dialogflow.v2.SessionsClient.create(SessionsClient.java:114) [google-cloud-dialogflow-0.84.0-alpha.jar!/:na]
        at com.sapient.cg.conversationservice.engines.dialogflow.v2.DialogFlowEngineV2.getResponse(DialogFlowEngineV2.java:59) [classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.ConversationService.converse(ConversationService.java:44) [classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.GenieService.converseAndHandleAllScenarios(GenieService.java:43) [classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.ConversationserviceController.update(ConversationserviceController.java:44) [classes!/:0.0.1-SNAPSHOT]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:208) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:135) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:859) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:769) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:970) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:904) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:971) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:885) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:664) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:848) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) [spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:161) [spring-cloud-sleuth-core-2.0.0.M2.jar!/:2.0.0.M2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) [spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
        Suppressed: java.lang.UnsatisfiedLinkError: /tmp/libio_grpc_netty_shaded_netty_tcnative_linux_x86_647818355664560389388.so: Error loading shared library libcrypt.so.1: No such file or directory (needed by /tmp/libio_grpc_netty_shaded_netty_tcnative_linux_x86_647818355664560389388.so)
                at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0_191]
                at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[na:1.8.0_191]
                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[na:1.8.0_191]
                at java.lang.Runtime.load0(Runtime.java:809) ~[na:1.8.0_191]
                at java.lang.System.load(System.java:1086) ~[na:1.8.0_191]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:36) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:316) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:215) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:96) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                ... 84 common frames omitted
                Suppressed: java.lang.UnsatisfiedLinkError: /tmp/libio_grpc_netty_shaded_netty_tcnative_linux_x86_647818355664560389388.so: Error loading shared library libcrypt.so.1: No such file or directory (needed by /tmp/libio_grpc_netty_shaded_netty_tcnative_linux_x86_647818355664560389388.so)
                        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
                        at java.lang.Runtime.load0(Runtime.java:809)
                        at java.lang.System.load(System.java:1086)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:36)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        at java.lang.reflect.Method.invoke(Method.java:498)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:336)
                        at java.security.AccessController.doPrivileged(Native Method)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:328)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:306)
                        ... 86 common frames omitted
                Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_linux_x86_64 in java.library.path
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                        at java.lang.System.loadLibrary(System.java:1122)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:316)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:136)
                        ... 85 common frames omitted
                        Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_linux_x86_64 in java.library.path
                                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                                at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                                at java.lang.System.loadLibrary(System.java:1122)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                at java.lang.reflect.Method.invoke(Method.java:498)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:336)
                                at java.security.AccessController.doPrivileged(Native Method)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:328)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:306)
                                ... 86 common frames omitted
        Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: io_grpc_netty_shaded_netty_tcnative_linux_x86_64_fedora
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:233) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:96) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                ... 84 common frames omitted
        Caused by: java.io.FileNotFoundException: META-INF/native/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64_fedora.so
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:173)
                ... 85 common frames omitted
                Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_linux_x86_64_fedora in java.library.path
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                        at java.lang.System.loadLibrary(System.java:1122)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:316)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:136)
                        ... 85 common frames omitted
                        Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_linux_x86_64_fedora in java.library.path
                                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                                at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                                at java.lang.System.loadLibrary(System.java:1122)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                at java.lang.reflect.Method.invoke(Method.java:498)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:336)
                                at java.security.AccessController.doPrivileged(Native Method)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:328)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:306)
                                ... 86 common frames omitted
        Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: io_grpc_netty_shaded_netty_tcnative_x86_64
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:233) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:96) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                ... 84 common frames omitted
        Caused by: java.io.FileNotFoundException: META-INF/native/libio_grpc_netty_shaded_netty_tcnative_x86_64.so
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:173)
                ... 85 common frames omitted
                Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_x86_64 in java.library.path
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                        at java.lang.System.loadLibrary(System.java:1122)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:316)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:136)
                        ... 85 common frames omitted
                        Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_x86_64 in java.library.path
                                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                                at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                                at java.lang.System.loadLibrary(System.java:1122)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                at java.lang.reflect.Method.invoke(Method.java:498)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:336)
                                at java.security.AccessController.doPrivileged(Native Method)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:328)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:306)
                                ... 86 common frames omitted
        Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: io_grpc_netty_shaded_netty_tcnative
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:233) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:96) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
                ... 84 common frames omitted
        Caused by: java.io.FileNotFoundException: META-INF/native/libio_grpc_netty_shaded_netty_tcnative.so
                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:173)
                ... 85 common frames omitted
                Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative in java.library.path
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                        at java.lang.System.loadLibrary(System.java:1122)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:316)
                        at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:136)
                        ... 85 common frames omitted
                        Suppressed: java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative in java.library.path
                                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
                                at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                                at java.lang.System.loadLibrary(System.java:1122)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                at java.lang.reflect.Method.invoke(Method.java:498)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:336)
                                at java.security.AccessController.doPrivileged(Native Method)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:328)
                                at io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:306)
                                ... 86 common frames omitted

2019-03-26 02:47:39.363  INFO [conversationservice,59f24d737f17839ad3a8d7f110dc48b0,d3a8d7f110dc48b0,true] 1 --- [nio-9414-exec-1] i.g.n.s.io.grpc.netty.GrpcSslContexts
  : Conscrypt not found (this may be normal)
2019-03-26 02:47:39.365  INFO [conversationservice,59f24d737f17839ad3a8d7f110dc48b0,d3a8d7f110dc48b0,true] 1 --- [nio-9414-exec-1] i.g.n.s.io.grpc.netty.GrpcSslContexts
  : Jetty ALPN unavailable (this may be normal)

java.lang.ClassNotFoundException: org/eclipse/jetty/alpn/ALPN
        at java.lang.Class.forName0(Native Method) ~[na:1.8.0_191]
        at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_191]
        at io.grpc.netty.shaded.io.grpc.netty.JettyTlsUtil.isJettyAlpnConfigured(JettyTlsUtil.java:64) ~[grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.findJdkProvider(GrpcSslContexts.java:266) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.defaultSslProvider(GrpcSslContexts.java:248) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:171) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.forClient(GrpcSslContexts.java:120) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.buildTransportFactory(NettyChannelBuilder.java:385) [grpc-netty-shaded-1.18.0.jar!/:1.18.0]
        at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:435) [grpc-core-1.18.0.jar!/:1.18.0]
        at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:223) [gax-grpc-1.42.0.jar!/:1.42.0]
        at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:164) [gax-grpc-1.42.0.jar!/:1.42.0]
        at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:156) [gax-grpc-1.42.0.jar!/:1.42.0]
        at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:157) [gax-1.42.0.jar!/:1.42.0]
        at com.google.cloud.dialogflow.v2.stub.GrpcSessionsStub.create(GrpcSessionsStub.java:75) [google-cloud-dialogflow-0.84.0-alpha.jar!/:0.84.0-alpha]
        at com.google.cloud.dialogflow.v2.stub.SessionsStubSettings.createStub(SessionsStubSettings.java:100) [google-cloud-dialogflow-0.84.0-alpha.jar!/:0.84.0-alpha]
        at com.google.cloud.dialogflow.v2.SessionsClient.<init>(SessionsClient.java:132) [google-cloud-dialogflow-0.84.0-alpha.jar!/:na]
        at com.google.cloud.dialogflow.v2.SessionsClient.create(SessionsClient.java:114) [google-cloud-dialogflow-0.84.0-alpha.jar!/:na]
        at com.sapient.cg.conversationservice.engines.dialogflow.v2.DialogFlowEngineV2.getResponse(DialogFlowEngineV2.java:59) [classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.ConversationService.converse(ConversationService.java:44) [classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.GenieService.converseAndHandleAllScenarios(GenieService.java:43) [classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.ConversationserviceController.update(ConversationserviceController.java:44) [classes!/:0.0.1-SNAPSHOT]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:208) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:135) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:859) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:769) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:970) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:904) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:971) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:885) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:664) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:848) [spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) [spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:161) [spring-cloud-sleuth-core-2.0.0.M2.jar!/:2.0.0.M2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) [spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]

Exception in Dialogflow V2 java.lang.IllegalStateException: Could not find TLS ALPN provider; no working netty-tcnative, Conscrypt, or Jetty NPN/ALPN available
2019-03-26 02:47:39.398 ERROR [conversationservice,,,] 1 --- [nio-9414-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause

java.lang.NullPointerException: null
        at com.sapient.cg.conversationservice.engines.dialogflow.v2.DialogFlowEngineV2.getResponse(DialogFlowEngineV2.java:70) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.ConversationService.converse(ConversationService.java:44) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.GenieService.converseAndHandleAllScenarios(GenieService.java:43) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.ConversationserviceController.update(ConversationserviceController.java:44) ~[classes!/:0.0.1-SNAPSHOT]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:208) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:135) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:859) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:769) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:970) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:904) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:971) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:885) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:664) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:848) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) ~[spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:161) ~[spring-cloud-sleuth-core-2.0.0.M2.jar!/:2.0.0.M2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) ~[spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]

Also please find the latest dependency tree

```[INFO] com.sapient.cg:cg-conversationservice:jar:0.0.1-SNAPSHOT
[INFO] +- org.projectlombok:lombok:jar:1.16.16:compile
[INFO] +- io.springfox:springfox-swagger2:jar:2.8.0:compile
[INFO] |  +- io.swagger:swagger-annotations:jar:1.5.14:compile
[INFO] |  +- io.swagger:swagger-models:jar:1.5.14:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0.pr3:compile
[INFO] |  +- io.springfox:springfox-spi:jar:2.8.0:compile
[INFO] |  |  \- io.springfox:springfox-core:jar:2.8.0:compile
[INFO] |  +- io.springfox:springfox-schema:jar:2.8.0:compile
[INFO] |  +- io.springfox:springfox-swagger-common:jar:2.8.0:compile
[INFO] |  +- io.springfox:springfox-spring-web:jar:2.8.0:compile
[INFO] |  |  \- org.reflections:reflections:jar:0.9.11:compile
[INFO] |  |     \- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] |  +- com.fasterxml:classmate:jar:1.3.3:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] |  +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-beans:jar:5.0.0.RC2:compile
[INFO] |  |  +- org.springframework:spring-context:jar:5.0.0.RC2:compile
[INFO] |  |  \- org.springframework:spring-aop:jar:5.0.0.RC2:compile
[INFO] |  +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
[INFO] |  \- org.mapstruct:mapstruct:jar:1.2.0.Final:compile
[INFO] +- io.springfox:springfox-swagger-ui:jar:2.8.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.boot:spring-boot-actuator:jar:2.0.0.M2:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-config:jar:2.0.0.M2:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-starter:jar:2.0.0.M2:compile
[INFO] |  |  +- org.springframework.cloud:spring-cloud-context:jar:2.0.0.M2:compile
[INFO] |  |  \- org.springframework.security:spring-security-rsa:jar:1.0.5.RELEASE:compile
[INFO] |  |     \- org.bouncycastle:bcpkix-jdk15on:jar:1.56:compile
[INFO] |  |        \- org.bouncycastle:bcprov-jdk15on:jar:1.56:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-config-client:jar:2.0.0.M2:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.0.pr3:compile
[INFO] |     \- com.fasterxml.jackson.core:jackson-core:jar:2.9.0.pr3:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-eureka:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar:2.0.0.M2:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-web:jar:2.0.0.M2:compile
[INFO] |     |  +- org.springframework.boot:spring-boot-starter-json:jar:2.0.0.M2:compile
[INFO] |     |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.0.pr3:compile
[INFO] |     |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.0.pr3:compile
[INFO] |     |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.0.pr3:compile
[INFO] |     |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.0.M2:compile
[INFO] |     |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.15:compile
[INFO] |     |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.15:compile
[INFO] |     |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.15:compile
[INFO] |     |  +- org.hibernate:hibernate-validator:jar:5.4.1.Final:compile
[INFO] |     |  |  +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] |     |  |  \- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
[INFO] |     |  \- org.springframework:spring-webmvc:jar:5.0.0.RC2:compile
[INFO] |     +- org.springframework.cloud:spring-cloud-netflix-eureka-client:jar:2.0.0.M2:compile
[INFO] |     +- com.netflix.eureka:eureka-client:jar:1.7.0:compile
[INFO] |     |  +- org.codehaus.jettison:jettison:jar:1.3.7:runtime
[INFO] |     |  |  \- stax:stax-api:jar:1.0.1:runtime
[INFO] |     |  +- com.netflix.netflix-commons:netflix-eventbus:jar:0.3.0:runtime
[INFO] |     |  |  +- com.netflix.netflix-commons:netflix-infix:jar:0.3.0:runtime
[INFO] |     |  |  |  +- commons-jxpath:commons-jxpath:jar:1.3:runtime
[INFO] |     |  |  |  +- joda-time:joda-time:jar:2.9.9:runtime
[INFO] |     |  |  |  \- org.antlr:antlr-runtime:jar:3.4:runtime
[INFO] |     |  |  |     +- org.antlr:stringtemplate:jar:3.2.1:runtime
[INFO] |     |  |  |     \- antlr:antlr:jar:2.7.7:runtime
[INFO] |     |  |  \- org.apache.commons:commons-math:jar:2.2:runtime
[INFO] |     |  +- javax.ws.rs:jsr311-api:jar:1.1.1:runtime
[INFO] |     |  +- com.netflix.servo:servo-core:jar:0.10.1:runtime
[INFO] |     |  |  \- com.netflix.servo:servo-internal:jar:0.10.1:runtime
[INFO] |     |  +- com.sun.jersey:jersey-core:jar:1.19.1:runtime
[INFO] |     |  +- com.sun.jersey:jersey-client:jar:1.19.1:runtime
[INFO] |     |  +- com.sun.jersey.contribs:jersey-apache-client4:jar:1.19.1:runtime
[INFO] |     |  \- com.google.inject:guice:jar:4.1.0:runtime
[INFO] |     |     \- aopalliance:aopalliance:jar:1.0:runtime
[INFO] |     +- com.netflix.eureka:eureka-core:jar:1.7.0:compile
[INFO] |     |  \- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:runtime
[INFO] |     |     +- javax.xml.stream:stax-api:jar:1.0-2:runtime
[INFO] |     |     \- org.codehaus.woodstox:stax2-api:jar:3.1.4:runtime
[INFO] |     +- org.springframework.cloud:spring-cloud-starter-netflix-archaius:jar:2.0.0.M2:compile
[INFO] |     |  +- commons-configuration:commons-configuration:jar:1.8:compile
[INFO] |     |  \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |     +- com.netflix.ribbon:ribbon-eureka:jar:2.2.2:compile
[INFO] |     \- com.thoughtworks.xstream:xstream:jar:1.4.9:compile
[INFO] |        +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] |        \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-feign:jar:2.0.0.M1:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-netflix-core:jar:2.0.0.M2:compile
[INFO] |  +- org.springframework:spring-web:jar:5.0.0.RC2:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-commons:jar:2.0.0.M2:compile
[INFO] |  |  +- org.springframework.security:spring-security-crypto:jar:5.0.0.M2:compile
[INFO] |  |  \- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
[INFO] |  +- io.github.openfeign:feign-core:jar:9.5.0:compile
[INFO] |  |  \- org.jvnet:animal-sniffer-annotation:jar:1.0:compile
[INFO] |  +- io.github.openfeign:feign-slf4j:jar:9.5.0:compile
[INFO] |  +- io.github.openfeign:feign-hystrix:jar:9.5.0:compile
[INFO] |  |  +- com.netflix.archaius:archaius-core:jar:0.7.5:compile
[INFO] |  |  \- com.netflix.hystrix:hystrix-core:jar:1.5.12:compile
[INFO] |  |     \- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-archaius:jar:2.0.0.M2:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-hystrix:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-netflix-hystrix:jar:2.0.0.M2:compile
[INFO] |     +- com.netflix.hystrix:hystrix-metrics-event-stream:jar:1.5.12:compile
[INFO] |     |  \- com.netflix.hystrix:hystrix-serialization:jar:1.5.12:runtime
[INFO] |     |     \- com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.9.0.pr3:runtime
[INFO] |     \- com.netflix.hystrix:hystrix-javanica:jar:1.5.12:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-ribbon:jar:2.0.0.M2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-starter-netflix-ribbon:jar:2.0.0.M2:compile
[INFO] |     +- com.netflix.ribbon:ribbon:jar:2.2.2:compile
[INFO] |     |  +- com.netflix.ribbon:ribbon-transport:jar:2.2.2:runtime
[INFO] |     |  |  +- io.reactivex:rxnetty-contexts:jar:0.4.9:runtime
[INFO] |     |  |  \- io.reactivex:rxnetty-servo:jar:0.4.9:runtime
[INFO] |     |  +- javax.inject:javax.inject:jar:1:runtime
[INFO] |     |  \- io.reactivex:rxnetty:jar:0.4.9:runtime
[INFO] |     |     +- io.netty:netty-codec-http:jar:4.1.12.Final:runtime
[INFO] |     |     |  \- io.netty:netty-codec:jar:4.1.12.Final:runtime
[INFO] |     |     \- io.netty:netty-transport-native-epoll:jar:4.1.12.Final:runtime
[INFO] |     |        +- io.netty:netty-common:jar:4.1.12.Final:runtime
[INFO] |     |        +- io.netty:netty-buffer:jar:4.1.12.Final:runtime
[INFO] |     |        +- io.netty:netty-transport-native-unix-common:jar:4.1.12.Final:runtime
[INFO] |     |        \- io.netty:netty-transport:jar:4.1.12.Final:runtime
[INFO] |     |           \- io.netty:netty-resolver:jar:4.1.12.Final:runtime
[INFO] |     +- com.netflix.ribbon:ribbon-core:jar:2.2.2:compile
[INFO] |     |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO] |     +- com.netflix.ribbon:ribbon-httpclient:jar:2.2.2:compile
[INFO] |     |  +- commons-collections:commons-collections:jar:3.2.2:runtime
[INFO] |     |  \- com.netflix.netflix-commons:netflix-commons-util:jar:0.1.1:runtime
[INFO] |     +- com.netflix.ribbon:ribbon-loadbalancer:jar:2.2.2:compile
[INFO] |     |  \- com.netflix.netflix-commons:netflix-statistics:jar:0.1.1:runtime
[INFO] |     \- io.reactivex:rxjava:jar:1.3.0:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-sleuth:jar:2.0.0.M2:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-aop:jar:2.0.0.M2:compile
[INFO] |  |  \- org.aspectj:aspectjweaver:jar:1.8.10:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-sleuth-core:jar:2.0.0.M2:compile
[INFO] |     \- org.aspectj:aspectjrt:jar:1.8.10:compile
[INFO] +- org.springframework.cloud:spring-cloud-sleuth-zipkin:jar:2.0.0.M2:compile
[INFO] |  +- io.zipkin.java:zipkin:jar:1.28.0:compile
[INFO] |  \- io.zipkin.reporter:zipkin-reporter:jar:1.0.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.0.0.M2:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:2.0.0.M2:test
[INFO] |  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.0.M2:test
[INFO] |  +- com.jayway.jsonpath:json-path:jar:2.2.0:test
[INFO] |  |  \- net.minidev:json-smart:jar:2.2.1:test
[INFO] |  |     \- net.minidev:accessors-smart:jar:1.1:test
[INFO] |  +- junit:junit:jar:4.12:test
[INFO] |  +- org.assertj:assertj-core:jar:3.8.0:test
[INFO] |  +- org.mockito:mockito-core:jar:2.8.9:test
[INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.6.14:compile
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.6.14:test
[INFO] |  |  \- org.objenesis:objenesis:jar:2.5:test
[INFO] |  +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] |  +- org.hamcrest:hamcrest-library:jar:1.3:test
[INFO] |  +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] |  +- org.springframework:spring-core:jar:5.0.0.RC2:compile
[INFO] |  |  \- org.springframework:spring-jcl:jar:5.0.0.RC2:compile
[INFO] |  \- org.springframework:spring-test:jar:5.0.0.RC2:test
[INFO] +- org.springframework.boot:spring-boot-starter-data-mongodb:jar:2.0.0.M2:compile
[INFO] |  +- org.mongodb:mongodb-driver:jar:3.4.2:compile
[INFO] |  |  +- org.mongodb:bson:jar:3.4.2:compile
[INFO] |  |  \- org.mongodb:mongodb-driver-core:jar:3.4.2:compile
[INFO] |  \- org.springframework.data:spring-data-mongodb:jar:2.0.0.M4:compile
[INFO] |     +- org.springframework:spring-tx:jar:5.0.0.RC2:compile
[INFO] |     +- org.springframework:spring-expression:jar:5.0.0.RC2:compile
[INFO] |     \- org.springframework.data:spring-data-commons:jar:2.0.0.M4:compile
[INFO] +- com.ibm.watson.developer_cloud:java-sdk:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:alchemy:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:conversation:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:core:jar:4.0.0:compile
[INFO] |  |  +- com.squareup.okhttp3:okhttp:jar:3.8.1:compile
[INFO] |  |  |  \- com.squareup.okio:okio:jar:1.13.0:compile
[INFO] |  |  +- com.squareup.okhttp3:logging-interceptor:jar:3.8.1:compile
[INFO] |  |  +- com.squareup.okhttp3:okhttp-urlconnection:jar:3.8.0:compile
[INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] |  |  \- org.glassfish.jersey.bundles.repackaged:jersey-jsr166e:jar:2.25.1:compile
[INFO] |  +- com.ibm.watson.developer_cloud:discovery:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:document-conversion:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:language-translator:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:natural-language-classifier:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:natural-language-understanding:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:personality-insights:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:retrieve-and-rank:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:speech-to-text:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:text-to-speech:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:tone-analyzer:jar:4.0.0:compile
[INFO] |  +- com.ibm.watson.developer_cloud:tradeoff-analytics:jar:4.0.0:compile
[INFO] |  \- com.ibm.watson.developer_cloud:visual-recognition:jar:4.0.0:compile
[INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:2.0.0.M2:compile
[INFO] |  \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:compile
[INFO] +- org.apache.maven.plugins:maven-shade-plugin:jar:3.2.1:compile
[INFO] |  +- org.apache.maven:maven-plugin-api:jar:3.0:compile
[INFO] |  |  \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[INFO] |  |     \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[INFO] |  |        \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[INFO] |  +- org.apache.maven:maven-model:jar:3.0:compile
[INFO] |  +- org.apache.maven:maven-core:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-settings:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-settings-builder:jar:3.2.1:compile
[INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-model-builder:jar:3.0:compile
[INFO] |  |  +- org.apache.maven:maven-aether-provider:jar:3.2.1:runtime
[INFO] |  |  |  +- org.eclipse.aether:aether-api:jar:1.0.2.v20150114:runtime
[INFO] |  |  |  +- org.eclipse.aether:aether-spi:jar:0.9.0.M2:runtime
[INFO] |  |  |  \- org.eclipse.aether:aether-impl:jar:1.0.2.v20150114:runtime
[INFO] |  |  +- org.sonatype.aether:aether-impl:jar:1.7:compile
[INFO] |  |  |  \- org.sonatype.aether:aether-spi:jar:1.7:compile
[INFO] |  |  +- org.sonatype.aether:aether-api:jar:1.7:compile
[INFO] |  |  +- org.sonatype.aether:aether-util:jar:1.7:compile
[INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] |  |  +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[INFO] |  |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] |  +- org.apache.maven:maven-artifact:jar:3.0:compile
[INFO] |  +- org.codehaus.plexus:plexus-utils:jar:3.1.0:compile
[INFO] |  +- org.apache.maven.shared:maven-artifact-transfer:jar:0.10.0:compile
[INFO] |  |  +- org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile
[INFO] |  |  |  \- org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[INFO] |  |  \- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  +- org.ow2.asm:asm:jar:7.0:compile
[INFO] |  +- org.ow2.asm:asm-commons:jar:7.0:compile
[INFO] |  |  +- org.ow2.asm:asm-tree:jar:7.0:compile
[INFO] |  |  \- org.ow2.asm:asm-analysis:jar:7.0:compile
[INFO] |  +- org.jdom:jdom2:jar:2.0.6:compile
[INFO] |  +- org.apache.maven.shared:maven-dependency-tree:jar:3.0.1:compile
[INFO] |  |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[INFO] |  +- commons-io:commons-io:jar:2.5:compile
[INFO] |  \- org.vafer:jdependency:jar:2.1.1:compile
[INFO] |     \- org.ow2.asm:asm-util:jar:7.0-beta:compile
[INFO] +- ai.api:libai:jar:1.6.12:compile
[INFO] |  \- com.google.code.gson:gson:jar:2.8.1:compile
[INFO] +- com.google.cloud:google-cloud-dialogflow:jar:0.84.0-alpha:compile
[INFO] |  +- com.google.cloud:google-cloud-core:jar:1.66.0:compile
[INFO] |  |  +- com.google.http-client:google-http-client:jar:1.28.0:compile
[INFO] |  |  |  \- io.opencensus:opencensus-contrib-http-util:jar:0.18.0:compile
[INFO] |  |  +- com.google.api:api-common:jar:1.7.0:compile
[INFO] |  |  +- com.google.api:gax:jar:1.42.0:compile
[INFO] |  |  |  +- org.threeten:threetenbp:jar:1.3.3:compile
[INFO] |  |  |  \- com.google.auth:google-auth-library-oauth2-http:jar:0.13.0:compile
[INFO] |  |  |     \- com.google.http-client:google-http-client-jackson2:jar:1.28.0:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java-util:jar:3.6.1:compile
[INFO] |  |  +- com.google.api.grpc:proto-google-common-protos:jar:1.14.0:compile
[INFO] |  |  \- com.google.api.grpc:proto-google-iam-v1:jar:0.12.0:compile
[INFO] |  +- com.google.cloud:google-cloud-core-grpc:jar:1.66.0:compile
[INFO] |  |  +- com.google.auth:google-auth-library-credentials:jar:0.13.0:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.6.1:compile
[INFO] |  |  +- io.grpc:grpc-protobuf:jar:1.18.0:compile
[INFO] |  |  |  \- io.grpc:grpc-protobuf-lite:jar:1.18.0:compile
[INFO] |  |  +- io.grpc:grpc-context:jar:1.18.0:compile
[INFO] |  |  \- com.google.api:gax-grpc:jar:1.42.0:compile
[INFO] |  |     \- io.grpc:grpc-alts:jar:1.18.0:compile
[INFO] |  |        \- io.grpc:grpc-grpclb:jar:1.18.0:runtime
[INFO] |  +- com.google.api.grpc:proto-google-cloud-dialogflow-v2beta1:jar:0.49.0:compile
[INFO] |  +- com.google.api.grpc:proto-google-cloud-dialogflow-v2:jar:0.49.0:compile
[INFO] |  +- io.grpc:grpc-stub:jar:1.18.0:compile
[INFO] |  +- io.grpc:grpc-auth:jar:1.18.0:compile
[INFO] |  \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- com.google.guava:guava:jar:23.6-jre:compile
[INFO] |  +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] |  +- org.checkerframework:checker-compat-qual:jar:2.0.0:compile
[INFO] |  +- com.google.errorprone:error_prone_annotations:jar:2.1.3:compile
[INFO] |  +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
[INFO] |  \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.8:compile
[INFO] +- io.grpc:grpc-netty-shaded:jar:1.18.0:compile
[INFO] |  \- io.grpc:grpc-core:jar:1.18.0:compile (version selected from constraint [1.18.0,1.18.0])
[INFO] |     +- io.opencensus:opencensus-api:jar:0.18.0:compile
[INFO] |     \- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.18.0:compile
[INFO] \- org.springframework.boot:spring-boot-starter:jar:2.0.0.M2:compile
[INFO]    +- org.springframework.boot:spring-boot:jar:2.0.0.M2:compile
[INFO]    +- org.springframework.boot:spring-boot-autoconfigure:jar:2.0.0.M2:compile
[INFO]    +- org.springframework.boot:spring-boot-starter-logging:jar:2.0.0.M2:compile
[INFO]    |  +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO]    |  |  \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO]    |  +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO]    |  \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
[INFO]    \- org.yaml:snakeyaml:jar:1.18:runtime
[INFO] -----------------------------------------------------------------------
ronisac commented 5 years ago

Also I have upgraded my grpc-netty-shaded to version 1.19. Please note that I am using Java 8. My biggest challenge is that the library is working fine in my local machine and it is failing when deployed to GCP.

ajaaym commented 5 years ago

@ronisac normally you wouldn't need to add any dependency other than dataflow client api. Can you please provide more detail on where and how you are deploying on GCP? if you are using docker can you share docker file?

ronisac commented 5 years ago

@ajaaym .... Please find the below the docker file content.


ARG port=9414

FROM openjdk:8-jdk-alpine
ARG finalName=cg-conversationservice-0.0.1-SNAPSHOT
ARG port
VOLUME /tmp
EXPOSE ${port}
ENV SPRING_OPTS=""
ADD target/${finalName}.jar app.jar
ENV JAVA_OPTS="-Xmx100m"
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar $SPRING_OPTS"]`
ronisac commented 5 years ago

Also please find the google API dependencies which I have in my POM


    <dependency>
            <groupId>ai.api</groupId>
            <artifactId>libai</artifactId>
            <version>1.6.12</version>
        </dependency>
        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-dialogflow</artifactId>
            <version>0.84.0-alpha</version>
        </dependency>

        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>23.6-jre</version>
        </dependency>
ronisac commented 5 years ago

Please see the complete exception log which I am getting. Please note that I have removed all the netty related dependencies and kept only dialogflow api dependency google-cloud-dialogflow at this time. Dialogflow_Exception.txt

ronisac commented 5 years ago

I have downgraded my dialogflow library version from 0.84.0-alpha to 0.47.0-alpha . But I am getting a different exception now, please find the below exception trace.


 java.lang.IllegalArgumentException: ALPN is not configured properly. See https://github.com/grpc/grpc-java/blob/master/SECURITY.md#troubleshooting for more information.
2019-03-26 08:50:40.918 ERROR [conversationservice,,,] 1 --- [nio-9414-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause

java.lang.NullPointerException: null
        at com.sapient.cg.conversationservice.engines.dialogflow.v2.DialogFlowEngineV2.getResponse(DialogFlowEngineV2.java:70) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.ConversationService.converse(ConversationService.java:43) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.genie.GenieService.converseAndHandleAllScenarios(GenieService.java:43) ~[classes!/:0.0.1-SNAPSHOT]
        at com.sapient.cg.conversationservice.ConversationserviceController.update(ConversationserviceController.java:44) ~[classes!/:0.0.1-SNAPSHOT]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:208) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:135) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:859) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:769) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:970) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:904) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:971) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:885) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:664) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:848) ~[spring-webmvc-5.0.0.RC2.jar!/:5.0.0.RC2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) ~[spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:161) ~[spring-cloud-sleuth-core-2.0.0.M2.jar!/:2.0.0.M2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) ~[spring-boot-actuator-2.0.0.M2.jar!/:2.0.0.M2]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.0.0.RC2.jar!/:5.0.0.RC2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.15.jar!/:8.5.15]
ronisac commented 5 years ago

I resolved this issue. The reason was jdk version used in our docker file. jdk version used was 8-jdk-alpine and changed to 8-jdk