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 cliu, 1 year ago
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 $Proxy40.exportTablesToExcelFile(Unknown Source) at org.obiba.opal.shell.commands.ExportCommand.execute(ExportCommand.java:35) at org.obiba.opal.shell.AbstractOpalShell.run(AbstractOpalShell.java:53) at java.lang.Thread.run(Unknown Source)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) ... 16 more