Skip to content

Commit 8d2dd6f

Browse files
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

1 file changed

+0
-2
lines changed

analyses/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/reports/ReportsDataProviderFactory.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,6 @@ public void dispose() {
734734

735735
fTmfConfigurationTable.clear();
736736
fTmfConfigurationHierarchy.clear();
737-
738-
Activator.getInstance().logInfo("Reports data provider factory disposed"); //$NON-NLS-1$
739737
}
740738

741739
}

0 commit comments

Comments
 (0)