Christian Schneider created ARIES-1571:
------------------------------------------

             Summary: 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)

Reply via email to