[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber updated CAUSEWAY-3538:
---------------------------------
    Summary: [Regression] Wicket Viewer: Non-serializable object causes errors 
when list all, and elsewhere.  (was: Non-serializable object causes errors when 
list all, and elsewhere.)

> [Regression] Wicket Viewer: Non-serializable object causes errors when list 
> all, and elsewhere.
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3538
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3538
>             Project: Causeway
>          Issue Type: Bug
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Blocker
>              Labels: end-user-visible
>             Fix For: 2.0.0-RC3
>
>         Attachments: image-2023-07-26-09-09-50-301.png, 
> image-2023-07-26-09-16-41-546.png
>
>
> pull down latest simpleapp, and run.
> docker pull apache/causeway-app-simpleapp:jpa-SNAPSHOT
> docker run -p 8080:8080 apache/causeway-app-simpleapp:jpa-SNAPSHOT
>  
> create two objects, then attempt to list them.
>  
> the stack trace shows the issue:
> 2023-07-26 09:11:21 2023-07-26 08:11:21.325 ERROR 1 --- [nio-8080-exec-1] 
> o.a.w.s.j.JavaSerializer                 : Error serializing object class 
> org.apache.causeway.viewer.wicket.ui.pages.entity.EntityPage [object=[Page 
> class = org.apache.causeway.viewer.wicket.ui.pages.entity.EntityPage, id = 
> 14, render count = 1]]
> 2023-07-26 09:11:21 
> 2023-07-26 09:11:21 
> org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException:
>  The object type is not Serializable!
> 2023-07-26 09:11:21 A problem occurred while checking object with type: 
> org.apache.causeway.core.metamodel.specloader.specimpl.ObjectActionDefault
> 2023-07-26 09:11:21 Field hierarchy is:
> 2023-07-26 09:11:21   14 
> [class=org.apache.causeway.viewer.wicket.ui.pages.entity.EntityPage, path=14]
> 2023-07-26 09:11:21     private java.lang.Object 
> org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
> 2023-07-26 09:11:21       java.lang.Object 
> org.apache.wicket.Component.data[write:3][write:5] 
> [class=org.apache.causeway.viewer.wicket.ui.components.header.HeaderPanel, 
> path=14:header]
> 2023-07-26 09:11:21         private java.lang.Object 
> org.apache.wicket.MarkupContainer.children [class=java.util.ArrayList]
> 2023-07-26 09:11:21           java.lang.Object 
> org.apache.wicket.Component.data[write:16][write:17] 
> [class=org.apache.causeway.viewer.wicket.ui.components.actionmenu.serviceactions.ServiceActionsPanel,
>  path=14:header:primaryMenuBar]
> 2023-07-26 09:11:21             private java.lang.Object 
> org.apache.wicket.MarkupContainer.children 
> [class=org.apache.wicket.markup.html.list.ListView, 
> path=14:header:primaryMenuBar:menuItems]
> 2023-07-26 09:11:21               java.lang.Object 
> org.apache.wicket.Component.data 
> [class=org.apache.wicket.model.util.ListModel]
> 2023-07-26 09:11:21                 private java.lang.Object 
> org.apache.wicket.model.util.GenericBaseModel.object 
> [class=java.util.ArrayList]
> 2023-07-26 09:11:21                   private java.lang.Object 
> org.apache.wicket.model.util.GenericBaseModel.object[write:1] 
> [class=org.apache.causeway.viewer.wicket.ui.components.actionmenu.serviceactions.CssMenuItem]
> 2023-07-26 09:11:21                     private final java.util.List 
> org.apache.causeway.viewer.wicket.ui.components.actionmenu.serviceactions.CssMenuItem.subMenuItems
>  [class=java.util.ArrayList]
> 2023-07-26 09:11:21                       private final java.util.List 
> org.apache.causeway.viewer.wicket.ui.components.actionmenu.serviceactions.CssMenuItem.subMenuItems[write:1]
>  
> [class=org.apache.causeway.viewer.wicket.ui.components.actionmenu.serviceactions.CssMenuItem]
> 2023-07-26 09:11:21                         private 
> org.apache.causeway.viewer.wicket.model.links.LinkAndLabel 
> org.apache.causeway.viewer.wicket.ui.components.actionmenu.serviceactions.CssMenuItem.linkAndLabel
>  [class=org.apache.causeway.viewer.wicket.model.links.LinkAndLabel]
> 2023-07-26 09:11:21                           private final 
> org.apache.causeway.viewer.wicket.model.models.ActionModel 
> org.apache.causeway.viewer.wicket.model.links.LinkAndLabel.actionModel 
> [class=org.apache.causeway.viewer.wicket.model.models.ActionModelImpl]
> 2023-07-26 09:11:21                             private final 
> org.apache.causeway.viewer.wicket.model.models.interaction.act.ActionInteractionWkt
>  org.apache.causeway.viewer.wicket.model.models.ActionModelImpl.delegate 
> [class=org.apache.causeway.viewer.wicket.model.models.interaction.act.ActionInteractionWkt]
> 2023-07-26 09:11:21                               private final 
> org.apache.causeway.core.metamodel.spec.feature.ObjectAction 
> org.apache.causeway.viewer.wicket.model.models.interaction.act.ActionInteractionWkt.objectAction
>  
> [class=org.apache.causeway.core.metamodel.specloader.specimpl.ObjectActionDefault]
>  <----- field that is causing the problem



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to