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

Andi Huber reassigned CAUSEWAY-3841:
------------------------------------

    Assignee: Andi Huber

> 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