web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Runtime Error - TypeEr...
Power Apps
Unanswered

Runtime Error - TypeError: Cannot read properties of null (reading 'initialized')

(0) ShareShare
ReportReport
Posted on by 21

I have a calendar in my app that can be navigated using either the dropdowns to select a month/year (which works) or the arrows to navigate forward/backward between months. When I first created this screen, clicking the arrows worked to navigate the calendar. 

cdrobinson_0-1674750131323.png

Now, a day later, when I click the arrows the app gets stuck on a white screen and I get the following error in the console when running the app in the browser:

 

TypeError: Cannot read properties of null (reading 'initialized')
 at t.get (gallery.js:10:53499)
 at s._scrollingWindowSize (gallery.js:10:16878)
 at s.render (gallery.js:10:20007)
 at ce (pa.oss.bundle2.js:299:136)
 at qg (pa.oss.bundle2.js:298:440)
 at hi (pa.oss.bundle2.js:305:285)
 at Qg (pa.oss.bundle2.js:345:293)
 at Rg (pa.oss.bundle2.js:346:168)
 at Sc (pa.oss.bundle2.js:359:109)
 at Z (pa.oss.bundle2.js:357:492)
Uncaught TypeError: Cannot read properties of null (reading 'initialized')
 at t.get (gallery.js:10:53499)
 at s._scrollingWindowSize (gallery.js:10:16878)
 at s.render (gallery.js:10:20007)
 at ce (pa.oss.bundle2.js:299:136)
 at qg (pa.oss.bundle2.js:298:440)
 at hi (pa.oss.bundle2.js:305:285)
 at Qg (pa.oss.bundle2.js:345:293)
 at Rg (pa.oss.bundle2.js:346:168)
 at Sc (pa.oss.bundle2.js:359:109)
 at Z (pa.oss.bundle2.js:357:492)

 

cdrobinson_1-1674750322814.png

The arrows are simply setting a variable and then selecting a hidden button (visible but behind the header) to have it recalculate the data for the calendar

cdrobinson_2-1674750379236.png

The dropdowns are doing almost the exact same thing OnChange, setting _dateSelected and then selecting fnc_UpdateEvents. 

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard