java.lang.IllegalArgumentException: Path must start with / character

zookeeper-user | Edward Capriolo | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug with ZKWriteLock recipe

    zookeeper-user | 2 years ago | Edward Capriolo
    java.lang.IllegalArgumentException: Path must start with / character
  2. 0

    Bug with ZKWriteLock recipe

    zookeeper-user | 2 years ago | Edward Capriolo
    java.lang.IllegalArgumentException: Path must start with / character

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Path must start with / character

      at org.apache.zookeeper.common.PathUtils.validatePath()
    2. Zookeeper
      ZooKeeper.delete
      1. org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:51)
      2. org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:846)
      2 frames
    3. org.apache.zookeeper
      WriteLock.unlock
      1. org.apache.zookeeper.recipes.lock.WriteLock$1.execute(WriteLock.java:120)
      2. org.apache.zookeeper.recipes.lock.WriteLock.unlock(WriteLock.java:124)
      2 frames
    4. io.teknek.daemon
      TeknekDaemon$2.run
      1. io.teknek.daemon.TeknekDaemon.considerStarting(TeknekDaemon.java:277)
      2. io.teknek.daemon.TeknekDaemon.access$4(TeknekDaemon.java:211)
      3. io.teknek.daemon.TeknekDaemon$2.run(TeknekDaemon.java:126)
      3 frames