org.obiba.magma.MagmaRuntimeException: java.lang.NullPointerException


Solutions on the web

Solution icon of web
via JIRA by Unknown author, 1 year ago
java.lang.NullPointerException

Stack trace

org.obiba.magma.MagmaRuntimeException: java.lang.NullPointerException
	at org.obiba.magma.support.Disposables.dispose(Disposables.java:26)
	at org.obiba.magma.MagmaEngine.removeDatasource(MagmaEngine.java:105)
	at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToExcelFile(DefaultExportServiceImpl.java:89)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy41.exportTablesToExcelFile(Unknown Source)
	at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:35)
	at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136)
	at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103)
	at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)
Caused by: java.lang.NullPointerException
	at org.obiba.magma.datasource.excel.ExcelDatasource.onDispose(ExcelDatasource.java:106)
	at org.obiba.magma.support.AbstractDatasource.dispose(AbstractDatasource.java:91)
	at org.obiba.magma.support.Disposables.dispose(Disposables.java:22)
	... 17 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.