From 3bc1e8dd3a7951760133ebef87ec2874d769ed70 Mon Sep 17 00:00:00 2001 From: Nils Christian Ehmke <nie@informatik.uni-kiel.de> Date: Sun, 30 Sep 2012 15:36:10 +0200 Subject: [PATCH] #620 --- .../kieker/webgui/beans/view/CurrentAnalysisEditorBean.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/view/CurrentAnalysisEditorBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/view/CurrentAnalysisEditorBean.java index 46546c7d..8d924e7e 100644 --- a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/view/CurrentAnalysisEditorBean.java +++ b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/view/CurrentAnalysisEditorBean.java @@ -660,7 +660,9 @@ public final class CurrentAnalysisEditorBean { // Update our class loader and the available plugins & repositories this.reloadClassLoader(); this.reloadClassesAndMethods(); - this.addContentsToToolPalette(lib); + + // We have to reinitialize the tool palette completely! This is necessary as some of the already existing classes could need the newly loaded classes. + this.initializeToolPalette(); } catch (final LibraryAlreadyExistingException ex) { CurrentAnalysisEditorBean.LOG.info("A library with the same name exists already.", ex); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_WARN, "A library with the same name exists already."); -- GitLab