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 Pieter Lukasse, 1 year ago
via JIRA by Pieter Lukasse, 2 years ago
java.lang.RuntimeException: java.lang.NullPointerException at org.obiba.opal.core.service.DataImportServiceImpl.copyValueTables(DataImportServiceImpl.java:142)[opal-core-2.4.jar:na] at org.obiba.opal.core.service.DataImportServiceImpl.importData(DataImportServiceImpl.java:105)[opal-core-2.4.jar:na] at org.obiba.opal.core.service.DataImportServiceImpl.importData(DataImportServiceImpl.java:87)[opal-core-2.4.jar:na] at org.obiba.opal.shell.commands.ImportCommand.importFromTables(ImportCommand.java:155)[opal-shell-2.4.jar:na] at org.obiba.opal.shell.commands.ImportCommand.executeImports(ImportCommand.java:89)[opal-shell-2.4.jar:na] at org.obiba.opal.shell.commands.ImportCommand.execute(ImportCommand.java:68)[opal-shell-2.4.jar:na] at org.obiba.opal.shell.CommandJob.run(CommandJob.java:149)[opal-shell-2.4.jar:na] at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)[shiro-core-1.2.3-java8.jar:1.2.3-java8] at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)[shiro-core-1.2.3-java8.jar:1.2.3-java8] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_65] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_65] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_65]Caused by: java.lang.NullPointerException: null at org.obiba.magma.datasource.hibernate.converter.VariableConverter.getStateForVariable(VariableConverter.java:27)[magma-datasource-hibernate-1.11-sesi.jar:na] at org.obiba.magma.datasource.hibernate.converter.VariableConverter.marshal(VariableConverter.java:34)[magma-datasource-hibernate-1.11-sesi.jar:na] at org.obiba.magma.datasource.hibernate.HibernateValueTableWriter$HibernateVariableWriter.writeVariable(HibernateValueTableWriter.java:115)[magma-datasource-hibernate-1.11-sesi.jar:na] at org.obiba.magma.support.DatasourceCopier.copyMetadata(DatasourceCopier.java:270)[magma-api-1.11-sesi.jar:na] at org.obiba.magma.support.DatasourceCopier.copyMetadata(DatasourceCopier.java:262)[magma-api-1.11-sesi.jar:na] at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:224)[magma-api-1.11-sesi.jar:na] at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:214)[magma-api-1.11-sesi.jar:na] at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:202)[magma-api-1.11-sesi.jar:na] at org.obiba.opal.core.service.CopyValueTablesLockingAction$CopyAction.execute(CopyValueTablesLockingAction.java:132)[opal-core-2.4.jar:na] at org.obiba.opal.core.magma.concurrent.LockingActionTemplate$1.doInTransactionWithoutResult(LockingActionTemplate.java:47)[opal-core-2.4.jar:na] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)[spring-tx-4.0.3.RELEASE.jar:4.0.3.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)[spring-tx-4.0.3.RELEASE.jar:4.0.3.RELEASE] at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.doInTransaction(LockingActionTemplate.java:42)[opal-core-2.4.jar:na] at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:31)[opal-core-2.4.jar:na] at org.obiba.opal.core.service.DataImportServiceImpl.copyValueTables(DataImportServiceImpl.java:133)[opal-core-2.4.jar:na] ... 13 more