java.lang.RuntimeException: An error occured while executing doInBackground()

Stack Overflow | Work_God_Damnit | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Executing an Async Task at given intervals

    Stack Overflow | 10 months ago | Work_God_Damnit
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    I have a daily scheduled task to reindex all repositories set to run => The status in the UI updates to broken, and the following is logged in the log file: jvm 1 | 2008-11-21 12:03:10,453 INFO [org.sonatype.nexus.feeds.FeedRecorder:d efault] - Reindexing all registered repositories : Process started on Fri Nov 21 12:03:00 MST 2008, finished on Fri Nov 21 12:03:10 MST 2008 with error. Error m essage is: java.lang.ArrayIndexOutOfBoundsException, 6 Strack trace: java.lang.A rrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | jvm 1 | java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  3. 0

    I have a daily scheduled task to reindex all repositories set to run => The status in the UI updates to broken, and the following is logged in the log file: jvm 1 | 2008-11-21 12:03:10,453 INFO [org.sonatype.nexus.feeds.FeedRecorder:d efault] - Reindexing all registered repositories : Process started on Fri Nov 21 12:03:00 MST 2008, finished on Fri Nov 21 12:03:10 MST 2008 with error. Error m essage is: java.lang.ArrayIndexOutOfBoundsException, 6 Strack trace: java.lang.A rrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | jvm 1 | java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=0; index=0

      at andreea.example.com.mobileapp.CodeGeneratorActivity$HttpAsyncTask.doInBackground()
    2. andreea.example.com
      CodeGeneratorActivity$HttpAsyncTask.doInBackground
      1. andreea.example.com.mobileapp.CodeGeneratorActivity$HttpAsyncTask.doInBackground(CodeGeneratorActivity.java:196)
      2. andreea.example.com.mobileapp.CodeGeneratorActivity$HttpAsyncTask.doInBackground(CodeGeneratorActivity.java:181)
      2 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:287)
      1 frame
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:234)
      1 frame