camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10590) Unable to invoke no-args constructor for class io.nats.client.ServerInfo
Date Tue, 10 Jan 2017 14:54:58 GMT

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

Andrea Cosentino resolved CAMEL-10590.
--------------------------------------
    Resolution: Not A Problem

> Unable to invoke no-args constructor for class io.nats.client.ServerInfo
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-10590
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10590
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-nats
>            Reporter: Thomas Diesler
>            Assignee: Andrea Cosentino
>             Fix For: 2.19.0
>
>
> {code}
> 15:25:17,492 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-3-thread-1)
Failed: org.wildfly.camel.test.nats.NatsIntegrationTest.testNatsRoutes: java.lang.RuntimeException:
Unable to invoke no-args constructor for class io.nats.client.ServerInfo. Register an InstanceCreator
with Gson for this type may fix this problem.
> 	at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:226)
> 	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:210)
> 	at com.google.gson.Gson.fromJson(Gson.java:887)
> 	at com.google.gson.Gson.fromJson(Gson.java:852)
> 	at com.google.gson.Gson.fromJson(Gson.java:801)
> 	at com.google.gson.Gson.fromJson(Gson.java:773)
> 	at io.nats.client.ServerInfo.createFromWire(ServerInfo.java:84)
> 	at io.nats.client.ConnectionImpl.processInfo(ConnectionImpl.java:762)
> 	at io.nats.client.ConnectionImpl.processExpectedInfo(ConnectionImpl.java:707)
> 	at io.nats.client.ConnectionImpl.processConnectInit(ConnectionImpl.java:652)
> 	at io.nats.client.ConnectionImpl.connect(ConnectionImpl.java:399)
> 	at io.nats.client.ConnectionFactory.createConnection(ConnectionFactory.java:468)
> 	at io.nats.client.ConnectionFactory.createConnection(ConnectionFactory.java:458)
> 	at org.apache.camel.component.nats.NatsConsumer.getConnection(NatsConsumer.java:113)
> 	at org.apache.camel.component.nats.NatsConsumer.doStart(NatsConsumer.java:67)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
> 	at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3389)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3706)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3642)
> 	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3562)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3326)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3180)
> 	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:190)
> 	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2975)
> 	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2971)
> 	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2994)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2971)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2909)
> 	at org.wildfly.camel.test.nats.NatsIntegrationTest.testNatsRoutes(NatsIntegrationTest.java:89)
> {code}
> CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/1513



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message