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.NullPointerException: null	at org.obiba.magma.datasource.hibernate.converter.VariableConverter.getStateForVariable(VariableConverter.java:27)	at org.obiba.magma.datasource.hibernate.converter.VariableConverter.marshal(VariableConverter.java:34)	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.DatasourceCopier.copy(DatasourceCopier.java:202)	at org.obiba.opal.core.service.CopyValueTablesLockingAction$CopyAction.execute(CopyValueTablesLockingAction.java:132)	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.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)	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:133)	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:149)	at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)	at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)