java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

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 JIRA by Carlos Silva, 1 year ago
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
via JIRA by Carlos Silva, 1 year ago
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.set(ArrayList.java:444)
at org.obiba.magma.datasource.hibernate.converter.VariableConverter.marshalCategories(VariableConverter.java:68)
at org.obiba.magma.datasource.hibernate.converter.VariableConverter.marshal(VariableConverter.java:49)
at org.obiba.magma.datasource.hibernate.HibernateValueTableWriter$HibernateVariableWriter.writeVariable(HibernateValueTableWriter.java:115)
at org.obiba.magma.support.DatasourceCopier.copyMetadata(DatasourceCopier.java:270)
at org.obiba.magma.support.DatasourceCopier.copyMetadata(DatasourceCopier.java:262)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:224)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:214)
at org.obiba.magma.support.MultithreadedDatasourceCopier.copyVariables(MultithreadedDatasourceCopier.java:222)
at org.obiba.magma.support.MultithreadedDatasourceCopier.write(MultithreadedDatasourceCopier.java:182)
at org.obiba.magma.support.MultithreadedDatasourceCopier.copy(MultithreadedDatasourceCopier.java:172)
at org.obiba.opal.core.service.CopyValueTablesLockingAction$CopyAction.execute(CopyValueTablesLockingAction.java:159)
at org.obiba.opal.core.magma.concurrent.LockingActionTemplate$1.doInTransactionWithoutResult(LockingActionTemplate.java:47)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.doInTransaction(LockingActionTemplate.java:42)
at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:31)
at org.obiba.opal.core.service.DataImportServiceImpl.copyValueTables(DataImportServiceImpl.java:135)
at org.obiba.opal.core.service.DataImportServiceImpl.importData(DataImportServiceImpl.java:105)
at org.obiba.opal.core.service.DataImportServiceImpl.importData(DataImportServiceImpl.java:87)
at org.obiba.opal.shell.commands.ImportCommand.importFromTables(ImportCommand.java:155)
at org.obiba.opal.shell.commands.ImportCommand.executeImports(ImportCommand.java:89)
at org.obiba.opal.shell.commands.ImportCommand.execute(ImportCommand.java:68)
at org.obiba.opal.shell.CommandJob.run(CommandJob.java:150)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
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:745)

Users with the same issue

Once, 1 week ago
4 times, 1 week ago
17 times, 3 weeks ago
Once, 3 weeks ago
2 times, 1 month ago

Write tip

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