java.lang.IllegalStateException

instance must be started before calling this method

Samebug tips1

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13035

  • instance must be started before calling this method
  • instance must be started before calling this method
  • instance must be started before calling this method
  • Stack trace

    • java.lang.IllegalStateException: instance must be started before calling this method at com.google.common.base.Preconditions.checkState(Preconditions.java:149) at org.apache.curator.framework.imps.CuratorFrameworkImpl.delete(CuratorFrameworkImpl.java:358) at org.apache.curator.framework.recipes.locks.LockInternals.deleteOurPath(LockInternals.java:345) at org.apache.curator.framework.recipes.locks.LockInternals.internalLockLoop(LockInternals.java:335) at org.apache.curator.framework.recipes.locks.LockInternals.attemptLock(LockInternals.java:225) at org.apache.curator.framework.recipes.locks.InterProcessMutex.internalLock(InterProcessMutex.java:221) at org.apache.curator.framework.recipes.locks.InterProcessMutex.acquire(InterProcessMutex.java:77) at org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:385) at org.apache.curator.framework.recipes.leader.LeaderSelector.doWorkLoop(LeaderSelector.java:443) at org.apache.curator.framework.recipes.leader.LeaderSelector.access$100(LeaderSelector.java:63) at org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:244) at org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:238) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 10 months ago
    5 times, 1 month ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    84 more bugmates