org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: duplicate key: QueuedResultKey{resultKey=J64SPT-UNIT2-UNIT-5, timestamp=53729201374254818}]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Martin Meinhold, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: duplicate key: QueuedResultKey{resultKey=J64SPT-UNIT2-UNIT-5, timestamp=53729201374254818}]
via Atlassian JIRA by Martin Meinhold, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)]
via Atlassian JIRA by Martin Meinhold, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)]
via iteye.com by Unknown author, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: No SessionFactory specified]
via GitHub by eugeneventer
, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: duplicate key: QueuedResultKey{resultKey=J64SPT-UNIT2-UNIT-5, timestamp=53729201374254818}]
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
at com.google.common.collect.RegularImmutableMap.(RegularImmutableMap.java:72)
at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:245)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:231)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:681)
at com.atlassian.bamboo.v2.build.queue.QueueManagerView.getQueueView(QueueManagerView.java:68)
at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizerImpl.getRequirementSetsOfQueuedExecutables(ElasticRunningInstancesOptimizerImpl.java:622)
at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizerImpl.getImagesToStart(ElasticRunningInstancesOptimizerImpl.java:203)
at sun.reflect.GeneratedMethodAccessor2545.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at com.sun.proxy.$Proxy139.getImagesToStart(Unknown Source)
at com.atlassian.bamboo.agent.elastic.schedule.ElasticInstancesMonitorJob.execute(ElasticInstancesMonitorJob.java:47)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)

Users with the same issue

5 times, 2 months ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 2 weeks ago
37 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.