aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1571) Exception in TCPEndpoint Integer cannot be cast to java.lang.String
Date Mon, 13 Jun 2016 13:05:21 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327316#comment-15327316
] 

ASF subversion and git services commented on ARIES-1571:
--------------------------------------------------------

Commit 5c1bd26dc67da4809d527730513cd62a7d96654a in aries-rsa's branch refs/heads/master from
[~chris@die-schneider.net]
[ https://git-wip-us.apache.org/repos/asf?p=aries-rsa.git;h=5c1bd26 ]

[ARIES-1571] Allow Integer values in config


> Exception in TCPEndpoint Integer cannot be cast to java.lang.String
> -------------------------------------------------------------------
>
>                 Key: ARIES-1571
>                 URL: https://issues.apache.org/jira/browse/ARIES-1571
>             Project: Aries
>          Issue Type: Bug
>          Components: Remote Service Admin
>    Affects Versions: rsa-1.8.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: rsa-1.9.0
>
>
> When the port value is an Integer it will result in the exception below.
> 2016-06-13 14:47:39,201 | ERROR | pool-3-thread-2  | TopologyManagerExport          
 | 18 - org.apache.aries.rsa.topology-manager - 1.8.0 | TopologyManager: export failed for
[net.lr.demo.chat.service.ChatListener]
> java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
> 	at org.apache.aries.rsa.provider.tcp.TcpEndpoint.getString(TcpEndpoint.java:52)
> 	at org.apache.aries.rsa.provider.tcp.TcpEndpoint.getInt(TcpEndpoint.java:48)
> 	at org.apache.aries.rsa.provider.tcp.TcpEndpoint.<init>(TcpEndpoint.java:33)
> 	at org.apache.aries.rsa.provider.tcp.TCPProvider.exportService(TCPProvider.java:49)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:184)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:117)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:57)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:55)
> 	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_92]
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:55)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:39)
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.exportServiceUsingRemoteServiceAdmin(TopologyManagerExport.java:154)[18:org.apache.aries.rsa.topology-manager:1.8.0]
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.doExport(TopologyManagerExport.java:125)[18:org.apache.aries.rsa.topology-manager:1.8.0]
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.access$0(TopologyManagerExport.java:103)[18:org.apache.aries.rsa.topology-manager:1.8.0]
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport$1.run(TopologyManagerExport.java:98)[18:org.apache.aries.rsa.topology-manager:1.8.0]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_92]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_92]
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_92]



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

Mime
View raw message