[jira] [Commented] (SYNCOPE-1205) Serialization exception in the logs when editing users pending approval

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SYNCOPE-1205) Serialization exception in the logs when editing users pending approval

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SYNCOPE-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185765#comment-16185765 ]

ASF subversion and git services commented on SYNCOPE-1205:
----------------------------------------------------------

Commit 2dbd7a29abfda2aaee41c9cc357454329f27d24a in syncope's branch refs/heads/2_0_X from [~andrea.patricelli]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=2dbd7a2 ]

[SYNCOPE-1205] solved serialization error into ApprovalDirectoryPanel


> Serialization exception in the logs when editing users pending approval
> -----------------------------------------------------------------------
>
>                 Key: SYNCOPE-1205
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1205
>             Project: Syncope
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 2.0.5
>            Reporter: Francesco Chicchiriccò
>            Assignee: Andrea Patricelli
>             Fix For: 2.0.6, 2.1.0
>
>
> When clicking on the edit menu item of an user pending approval, a stacktrace is reported in the logs:
> {code}
> 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
> {code}
> which shows how the problem is having the field
> {code}
>         private final AjaxRequestTarget target;
> {code}
> in org.apache.syncope.client.console.approvals.ApprovalDirectoryPanel.ApprovalUserWizardBuilder



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)