Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1205

Serialization exception in the logs when editing users pending approval

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5
    • 2.0.6, 2.1.0
    • console
    • None

    Description

      When clicking on the edit menu item of an user pending approval, a stacktrace is reported in the logs:

      09:52:41.139 ERROR org.apache.wicket.serialize.java.JavaSerializer - Error serializing object class org.apache.syncope.client.console.pages.Approvals [object=[Page class = org.apache.syncope.client.console.pages.Approvals, id = 11, render count = 1]]
      org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException: The object type is not Serializable!
      A problem occurred while checking object with type: org.apache.wicket.ajax.AjaxRequestHandler
      Field hierarchy is:
        11 [class=org.apache.syncope.client.console.pages.Approvals, path=11]
          private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
            private java.lang.Object org.apache.wicket.MarkupContainer.children[write:1] [class=org.apache.wicket.markup.html.WebMarkupContainer, path=11:body]
              private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.commons.collections4.map.LinkedMap]
                private java.util.List org.apache.wicket.request.mapper.parameter.PageParameters.namedParameters[write:78][write:80][write:81] [class=org.apache.wicket.markup.html.WebMarkupContainer, path=11:body:content]
                  private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.syncope.client.console.approvals.ApprovalDirectoryPanel, path=11:body:content:wfPanel]
                    private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
                      private java.lang.Object org.apache.wicket.MarkupContainer.children[write:1] [class=org.apache.wicket.markup.html.WebMarkupContainer, path=11:body:content:wfPanel:container]
                        private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.wicket.markup.html.panel.Fragment, path=11:body:content:wfPanel:container:content]
                          private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
                            private org.apache.wicket.model.IModel org.apache.wicket.markup.html.link.AbstractLink.bodyModel[write:8][write:9] [class=org.apache.wicket.markup.html.WebMarkupContainer, path=11:body:content:wfPanel:container:content:searchContainer]
                              private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
                                private java.lang.Object org.apache.wicket.MarkupContainer.children[write:1] [class=org.apache.syncope.client.console.panels.AjaxDataTablePanel, path=11:body:content:wfPanel:container:content:searchContainer:resultTable]
                                  private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
                                    private final org.apache.wicket.PageReference org.apache.syncope.client.console.panels.AjaxDataTablePanel$Builder.pageRef[write:3][write:5][write:9][write:18][write:21] [class=org.apache.wicket.markup.html.panel.Fragment, path=11:body:content:wfPanel:container:content:searchContainer:resultTable:tablePanel]
                                      private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
                                        private java.lang.Object org.apache.wicket.MarkupContainer.children[write:1] [class=org.apache.wicket.markup.html.form.Form, path=11:body:content:wfPanel:container:content:searchContainer:resultTable:tablePanel:groupForm]
                                          private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.wicket.markup.html.form.CheckGroup, path=11:body:content:wfPanel:container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup]
                                            private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.AjaxFallbackDataTable, path=11:body:content:wfPanel:container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable]
                                              private org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksTogglePanel org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.AjaxFallbackDataTable.togglePanel [class=org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksTogglePanel, path=11:body:content:wfPanel:outerObjectsRepeater:1:outer]
                                                private org.apache.wicket.MarkupContainer org.apache.wicket.Component.parent [class=org.apache.wicket.markup.html.list.ListItem, path=11:body:content:wfPanel:outerObjectsRepeater:1]
                                                  java.lang.Object org.apache.wicket.Component.data [class=org.apache.wicket.markup.html.list.ListItemModel]
                                                    private final org.apache.wicket.markup.html.list.ListView org.apache.wicket.markup.html.list.ListItemModel.listView [class=org.apache.wicket.markup.html.list.ListView, path=11:body:content:wfPanel:outerObjectsRepeater]
                                                      java.lang.Object org.apache.wicket.Component.data [class=org.apache.wicket.model.util.ListModel]
                                                        private java.lang.Object org.apache.wicket.model.util.GenericBaseModel.object [class=java.util.ArrayList]
                                                          private java.lang.Object org.apache.wicket.model.util.GenericBaseModel.object[write:1] [class=org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal, path=11:body:content:wfPanel:outerObjectsRepeater:0:outer]
                                                            private java.lang.Object org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
                                                              private java.lang.Object org.apache.wicket.MarkupContainer.children[write:9][write:5][write:8] [class=org.apache.wicket.markup.html.form.Form, path=11:body:content:wfPanel:outerObjectsRepeater:0:outer:form]
                                                                private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.syncope.client.console.wizards.AjaxWizard, path=11:body:content:wfPanel:outerObjectsRepeater:0:outer:form:content]
                                                                  final org.apache.syncope.client.console.wizards.AjaxWizardBuilder org.apache.syncope.client.console.wizards.AjaxWizardBuilder$1.this$0 [class=org.apache.syncope.client.console.approvals.ApprovalDirectoryPanel$ApprovalUserWizardBuilder]
                                                                    private final org.apache.wicket.ajax.AjaxRequestTarget org.apache.syncope.client.console.approvals.ApprovalDirectoryPanel$ApprovalUserWizardBuilder.target [class=org.apache.wicket.ajax.AjaxRequestHandler] <----- field that is causing the problem
      

      which shows how the problem is having the field

              private final AjaxRequestTarget target;
      

      in org.apache.syncope.client.console.approvals.ApprovalDirectoryPanel.ApprovalUserWizardBuilder

      Attachments

        Issue Links

          Activity

            People

              andrea.patricelli Andrea Patricelli
              ilgrosso Francesco Chicchiriccò
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: