Commit 8d2dd6f
committed
reports: remove log in dispose() to avoid IllegalStateException
This fixes the Exception below. The exception is caused because during
shutdown the o.e.tc.incubator.analysis.core (for reports)
Activator.stop() method is called before and the plug-in is removed from
the static list of activators.
Remove the log statement to avoid this exception during shutdown.
java.lang.IllegalStateException
at org.eclipse.tracecompass.common.core.TraceCompassActivator.getInstance(TraceCompassActivator.java:86)
at org.eclipse.tracecompass.incubator.internal.analysis.core.Activator.getInstance(Activator.java:43)
at org.eclipse.tracecompass.incubator.analysis.core.reports.ReportsDataProviderFactory.dispose(ReportsDataProviderFactory.java:738)
at org.eclipse.tracecompass.tmf.core.dataprovider.DataProviderManager.dispose(DataProviderManager.java:117)
at org.eclipse.tracecompass.internal.tmf.core.Activator.stop(Activator.java:125)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:896)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
...
Signed-off-by: Bernd Hufmann <[email protected]>1 parent dad714c commit 8d2dd6f
File tree
1 file changed
+0
-2
lines changed- analyses/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/reports
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
738 | | - | |
739 | 737 | | |
740 | 738 | | |
741 | 739 | | |
0 commit comments