diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisEditorBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisEditorBean.java index 21ce6c73b6af2dc8be3cc3dd3f63d43849876eeb..bd79c6a5ddb395300238a86d38c95ef093caf923 100644 --- a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisEditorBean.java +++ b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisEditorBean.java @@ -602,6 +602,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean { CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); return false; + } catch (final NoClassDefFoundError ex) { + CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); + CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); + return false; } } } @@ -669,6 +673,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean { CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the ports of the plugin.", ex); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the ports of the plugin."); return false; + } catch (final NoClassDefFoundError ex) { + CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the ports of the plugin.", ex); + CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the ports of the plugin."); + return false; } } } @@ -709,6 +717,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean { CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the repository.", ex); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the repository."); return false; + } catch (final NoClassDefFoundError ex) { + CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the repository.", ex); + CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the repository."); + return false; } } @@ -748,6 +760,10 @@ public final class CurrentAnalysisEditorBean implements IProjectBean { CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the plugin.", ex); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the plugin."); return false; + } catch (final NoClassDefFoundError ex) { + CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the properties of the plugin.", ex); + CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the properties of the plugin."); + return false; } } diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/common/ACManager.java b/Kieker.WebGUI/src/main/java/kieker/webgui/common/ACManager.java index fe136c583c7118316ae17d3e1384bce2523c5748..56d6bd555d449d1cee59c6d66f32ec8b339af4f3 100644 --- a/Kieker.WebGUI/src/main/java/kieker/webgui/common/ACManager.java +++ b/Kieker.WebGUI/src/main/java/kieker/webgui/common/ACManager.java @@ -325,8 +325,10 @@ public final class ACManager { // NOCS (Class Data Abstraction Coupling) this.controller.getController().run(); } catch (final IllegalStateException ex) { ACManager.LOG.error("An error occured while starting the analysis.", ex); + ex.printStackTrace(); } catch (final AnalysisConfigurationException ex) { ACManager.LOG.error("An error occured while starting the analysis.", ex); + ex.printStackTrace(); } } } diff --git a/Kieker.WebGUI/src/main/webapp/AnalysisEditor.xhtml b/Kieker.WebGUI/src/main/webapp/AnalysisEditor.xhtml index bf2d36a3b86ae555ee6bb2656c9dea9b141c2fdd..4a667acf722e172fea4c36d04e1d74c43e5b321f 100644 --- a/Kieker.WebGUI/src/main/webapp/AnalysisEditor.xhtml +++ b/Kieker.WebGUI/src/main/webapp/AnalysisEditor.xhtml @@ -120,23 +120,14 @@ </p:column> <p:column headerText="Value" style="width:125px"> - <p:cellEditor> - <f:facet name="output"> - <h:outputText value="#{property.value}" rendered="#{not stringBean.checkString(property)}"/> - <h:outputText value="#{currentAnalysisEditorBean.selectedPlugin.name}" rendered="#{stringBean.checkString(property)}"/> - </f:facet> - <f:facet name="input"> - <h:inputText value="#{property.value}" rendered="#{not stringBean.checkString(property)}"/> - <h:inputText value="#{currentAnalysisEditorBean.selectedPlugin.name}" rendered="#{stringBean.checkString(property)}"/> - </f:facet> - </p:cellEditor> - </p:column> - - <p:column headerText="Options" style="width:50px"> - <p:rowEditor /> - </p:column> - - <p:ajax event="rowEdit" update=":centerForm" /> + <p:inplace editor="true" rendered="#{not stringBean.checkString(property)}"> + <p:inputText value="#{property.value}" /> + </p:inplace> + <p:inplace editor="true" rendered="#{stringBean.checkString(property)}" > + <p:inputText value="#{currentAnalysisEditorBean.selectedPlugin.name}" /> + <p:ajax event="save" update=":centerForm" /> + </p:inplace> + </p:column> </p:dataTable> </h:form> </p:layoutUnit>