java.lang.IllegalArgumentException: Label is required

Spring JIRA | Gunnar Hillert | 2 years ago
  1. 0

    I have a deployed Batch Job (Single Node Server, running inside STS). My machine goes to sleep. Once I bring it back up I see the following log: {code} 12:57:35,854 ERROR LeaderSelector-5 leader.LeaderSelector - The leader threw an exception java.lang.IllegalArgumentException: Label is required at org.springframework.util.Assert.hasText(Assert.java:162) at org.springframework.xd.module.ModuleDescriptor$Key.<init>(ModuleDescriptor.java:616) at org.springframework.xd.dirt.server.JobDeploymentListener.recalculateJobStates(JobDeploymentListener.java:218) at org.springframework.xd.dirt.server.DeploymentSupervisor$LeaderListener.takeLeadership(DeploymentSupervisor.java:354) at org.apache.curator.framework.recipes.leader.LeaderSelector$WrappedListener.takeLeadership(LeaderSelector.java:536) at org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:398) 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.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) {code} In the UI the job is marked as *undeployed* - however, when I click *deploy* I get an error: *The job named 'bbb' is already deployed*.

    Spring JIRA | 2 years ago | Gunnar Hillert
    java.lang.IllegalArgumentException: Label is required
  2. 0

    I have a deployed Batch Job (Single Node Server, running inside STS). My machine goes to sleep. Once I bring it back up I see the following log: {code} 12:57:35,854 ERROR LeaderSelector-5 leader.LeaderSelector - The leader threw an exception java.lang.IllegalArgumentException: Label is required at org.springframework.util.Assert.hasText(Assert.java:162) at org.springframework.xd.module.ModuleDescriptor$Key.<init>(ModuleDescriptor.java:616) at org.springframework.xd.dirt.server.JobDeploymentListener.recalculateJobStates(JobDeploymentListener.java:218) at org.springframework.xd.dirt.server.DeploymentSupervisor$LeaderListener.takeLeadership(DeploymentSupervisor.java:354) at org.apache.curator.framework.recipes.leader.LeaderSelector$WrappedListener.takeLeadership(LeaderSelector.java:536) at org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:398) 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.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) {code} In the UI the job is marked as *undeployed* - however, when I click *deploy* I get an error: *The job named 'bbb' is already deployed*.

    Spring JIRA | 2 years ago | Gunnar Hillert
    java.lang.IllegalArgumentException: Label is required
  3. 0

    How to cancel user login auth ?

    GitHub | 1 year ago | abbish
    java.lang.IllegalArgumentException: A granted authority textual representation is required
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JasperServer

    walmeric.com | 1 year ago
    java.lang.IllegalArgumentException: An id is required to lookup a FlowDefinition
  6. 0

    spring and hibernate configuration using annotations

    Stack Overflow | 3 years ago | Rajesh Mungara
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/foodeebuddee/Application.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.orm.hibernate4.LocalSessionFactoryBean com.foodeebuddee.Application.sessionFactory()] threw exception; nested exception is java.lang.IllegalArgumentException: Property 'driverClassName' must not be empty

  1. tvrmsmith 1 times, last 1 month ago
  2. Luka 2 times, last 2 months ago
  3. tvrmsmith 1 times, last 4 months ago
  4. andyglick 4 times, last 5 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Label is required

    at org.springframework.util.Assert.hasText()
  2. Spring Core
    Assert.hasText
    1. org.springframework.util.Assert.hasText(Assert.java:162)
    1 frame
  3. org.springframework.xd
    DeploymentSupervisor$LeaderListener.takeLeadership
    1. org.springframework.xd.module.ModuleDescriptor$Key.<init>(ModuleDescriptor.java:616)
    2. org.springframework.xd.dirt.server.JobDeploymentListener.recalculateJobStates(JobDeploymentListener.java:218)
    3. org.springframework.xd.dirt.server.DeploymentSupervisor$LeaderListener.takeLeadership(DeploymentSupervisor.java:354)
    3 frames
  4. Curator Recipes
    LeaderSelector$2.call
    1. org.apache.curator.framework.recipes.leader.LeaderSelector$WrappedListener.takeLeadership(LeaderSelector.java:536)
    2. org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:398)
    3. org.apache.curator.framework.recipes.leader.LeaderSelector.doWorkLoop(LeaderSelector.java:443)
    4. org.apache.curator.framework.recipes.leader.LeaderSelector.access$100(LeaderSelector.java:63)
    5. org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:244)
    6. org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:238)
    6 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    6. java.lang.Thread.run(Thread.java:744)
    6 frames