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

Andi Huber commented on CAUSEWAY-3841:
--------------------------------------

related regression reported by  
https://the-asf.slack.com/archives/CFC42LWBV/p1737163799559399

{noformat}
java.lang.IllegalStateException: internal error: code was reached, that is not 
implemented yet
        at 
org.apache.causeway.commons.internal.exceptions._Exceptions.notImplemented(_Exceptions.java:145)
 ~[causeway-commons-3.2.0.jar:3.2.0]
        at 
org.apache.causeway.viewer.wicket.model.models.coll.CollectionModelEmpty.getMetaModel(CollectionModelEmpty.java:81)
 ~[causeway-viewer-wicket-model-3.2.0.jar:3.2.0]
        at 
org.apache.causeway.viewer.wicket.model.models.coll.CollectionModel.getElementType(CollectionModel.java:103)
 ~[causeway-viewer-wicket-model-3.2.0.jar:3.2.0]
        at 
org.apache.causeway.viewer.wicket.ui.components.collection.present.summary.CollectionContentsAsSummary.buildGui(CollectionContentsAsSummary.java:84)
 ~[causeway-viewer-wicket-ui-3.2.0.jar:3.2.0]
        at 
org.apache.causeway.viewer.wicket.ui.components.collection.present.summary.CollectionContentsAsSummary.<init>(CollectionContentsAsSummary.java:77)
 ~[causeway-viewer-wicket-ui-3.2.0.jar:3.2.0]
{noformat}


> Regression - Calendar view throws NPE with the recently reworked tabular model
> ------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3841
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3841
>             Project: Causeway
>          Issue Type: Bug
>          Components: Viewer Wicket
>    Affects Versions: 3.2.0
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> Noticed this when doing the 3.2.0 release.  Decided to remove calendar view 
> from simpleapp, so this is a known breakage.
> NPE:
> {code:java}
> java.lang.NullPointerException
> Cannot invoke 
> "org.apache.causeway.core.metamodel.tabular.DataTableInteractive.dataRowsFilteredAndSortedObservable()"
>  because the return value of 
> "org.apache.causeway.viewer.wicket.model.models.coll.CollectionModel.getDataTableModel()"
>  is null
> org.apache.causeway.extensions.fullcalendar.wkt.ui.viewer.CalendaredCollectionAbstract#buildGui(CalendaredCollectionAbstract.java:82)
> org.apache.causeway.extensions.fullcalendar.wkt.ui.viewer.CalendaredCollectionAbstract#<init>(CalendaredCollectionAbstract.java:60)
> org.apache.causeway.extensions.fullcalendar.wkt.ui.viewer.calendareventable.CalendarEventableCollectionAsFullCalendar#<init>(CalendarEventableCollectionAsFullCalendar.java:37)
> org.apache.causeway.extensions.fullcalendar.wkt.ui.viewer.calendareventable.CalendarEventableCollectionAsFullCalendarFactory#newComponent(CalendarEventableCollectionAsFullCalendarFactory.java:43)
> org.apache.causeway.extensions.fullcalendar.wkt.ui.viewer.CalendaredCollectionFactoryAbstract#createComponent(CalendaredCollectionFactoryAbstract.java:61)
> org.apache.causeway.viewer.wicket.ui.components.collection.present.multiple.CollectionContentsMultipleViewsPanel#addUnderlyingViews(CollectionContentsMultipleViewsPanel.java:110)
> org.apache.causeway.viewer.wicket.ui.components.collection.present.multiple.CollectionContentsMultipleViewsPanel#onInitialize(CollectionContentsMultipleViewsPanel.java:85)
> org.apache.wicket.Component#fireInitialize(Component.java:883)
> org.apache.wicket.MarkupContainer#internalInitialize(MarkupContainer.java:1050)
> org.apache.wicket.MarkupContainer#addedComponent(MarkupContainer.java:1027)
> org.apache.wicket.MarkupContainer#add(MarkupContainer.java:242)
> org.apache.wicket.MarkupContainer#addOrReplace(MarkupContainer.java:266)
> org.apache.causeway.viewer.wicket.ui.app.registry.ComponentFactoryRegistry#addOrReplaceComponent(ComponentFactoryRegistry.java:100)
> org.apache.causeway.viewer.wicket.ui.components.collection.CollectionPanel#buildGui(CollectionPanel.java:75)
> org.apache.causeway.viewer.wicket.ui.components.collection.CollectionPanel#onInitialize(CollectionPanel.java:70)
> org.apache.wicket.Component#fireInitialize(Component.java:883)
> org.apache.wicket.MarkupContainer$3#component(MarkupContainer.java:1056)
> org.apache.wicket.MarkupContainer$3#component(MarkupContainer.java:1052) 
> {code}



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

Reply via email to