diff --git a/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java b/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java index d6b5025..217e6ee 100644 --- a/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java +++ b/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java @@ -186,6 +186,10 @@ public class Typinferenz { } public void cancel() { - compiler.usedTasks.cancel(); + try { + compiler.usedTasks.cancel(); + } catch (Exception e) { + e.printStackTrace(); + } } }