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

Stack Overflow | user3227070 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to get my data from website so I can parse it?

    Stack Overflow | 9 months ago | user3227070
    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 com.example.hoofdgebruiker.winkelskortrijk.Utill.ODKortrijkWebservice.doInBackground()
    2. com.example.hoofdgebruiker
      ODKortrijkWebservice.doInBackground
      1. com.example.hoofdgebruiker.winkelskortrijk.Utill.ODKortrijkWebservice.doInBackground(ODKortrijkWebservice.java:28)
      2. com.example.hoofdgebruiker.winkelskortrijk.Utill.ODKortrijkWebservice.doInBackground(ODKortrijkWebservice.java:24)
      2 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:292)
      1 frame
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame