You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2018/10/18 07:09:00 UTC

[jira] [Commented] (ARIES-1847) IllegalArgumentException: Path cannot be null when handling zookeeper event

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

Christian Schneider commented on ARIES-1847:
--------------------------------------------

Some events have a path null. We should not call watchRecursive for such events.

> IllegalArgumentException: Path cannot be null when handling zookeeper event
> ---------------------------------------------------------------------------
>
>                 Key: ARIES-1847
>                 URL: https://issues.apache.org/jira/browse/ARIES-1847
>             Project: Aries
>          Issue Type: Bug
>          Components: Remote Service Admin
>    Affects Versions: rsa-1.13.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: rsa-1.14.0
>
>
> INFO: Received event WatchedEvent state:Disconnected type:None path:null
> Oct 11, 2018 8:48:06 PM org.apache.aries.rsa.discovery.zookeeper.repository.ZookeeperEndpointRepository watchRecursive
> INFO: Path cannot be null
> java.lang.IllegalArgumentException: Path cannot be null
> 	at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:45)
> 	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1203)
> 	at org.apache.aries.rsa.discovery.zookeeper.repository.ZookeeperEndpointRepository.handleZNodeChanged(ZookeeperEndpointRepository.java:237)
> 	at org.apache.aries.rsa.discovery.zookeeper.repository.ZookeeperEndpointRepository.watchRecursive(ZookeeperEndpointRepository.java:174)
> 	at org.apache.aries.rsa.discovery.zookeeper.repository.ZookeeperEndpointRepository.process(ZookeeperEndpointRepository.java:146)
> 	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:533)
> 	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:508)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)