https://bugs.kde.org/show_bug.cgi?id=470801
Bug ID: 470801
Summary: calendar/InfiniteList.qml:88: TypeError: Value is null
and could not be converted to an object
Classification: Plasma
Product: plasmashell
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Digital Clock
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Also for line 93.
Seen in journal logs for Plasmashell on Plasma 6 Wayland git master.
Relevant code in InfiniteList.qml does this:
switch(infiniteList.viewType) {
case InfiniteList.ViewType.DayView:
infiniteList.itemAtIndex(0).gridModel =
previousAlternativeBackend.item.daysModel;
infiniteList.itemAtIndex(2).gridModel =
nextAlternativeBackend.item.daysModel;
break;
case InfiniteList.ViewType.DecadeView:
infiniteList.itemAtIndex(0).gridModel = previousYearModel.item;
infiniteList.itemAtIndex(2).gridModel = nextYearModel.item;
break;
}
My guess is that itemAtIndex(0) is null at the moment it's called.
--
You are receiving this mail because:
You are watching all bug changes.