SaaS CMS has officially launched! Learn more now.

Cannot load content types or schedules jobs after upgrade to CSM 12?



So I have upgraded the site and site and episerver/cms works. But when clicking Content Type I get this:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'replace')
    at admin.bundle.js:599:38743
    at (<anonymous>)
    at t.contentTypesSlice.l.createSlice.extraReducers.r.<computed> (admin.bundle.js:599:38694)
    at admin.bundle.js:456:49159
    at e.t.produce (admin.bundle.js:456:41101)
    at admin.bundle.js:456:49134
    at Array.reduce (<anonymous>)
    at admin.bundle.js:456:49047
    at admin.bundle.js:479:102905
    at g (admin.bundle.js:479:100939)

and when clicking Scheduled Jobs I get this:

https://localhost:44319/EPiServer/EPiServer.Cms.UI.Admin/ScheduledJobs/List net::ERR_HTTP2_PROTOCOL_ERROR 200

Failed to load response data: No data found for resource with given identifier

Any ideas?



Jan 21, 2022 10:10

I had the same problem, both with listing content types and scheduled jobs.

For me there was a block registered in the database that didn't exist in code. That block didn't have any value in the Saved column.
I added a new block with the GUID from the database, that created a value in the saved column, after that i could list content types.
Maybe you could write a migration step that deletes the block from the database instead.

The listing of scheduled job I haven't solved yet though.

Jan 27, 2022 21:14

Hi Kristoffer Lindén

So what happens when you upgrade to a newer version it's reloaded or re-create all the content types again so you have found out is there any content which is not available or basically needs to check for null data that's it's giving you errors. Try putting new guides instead of old onces.


Jan 28, 2022 6:34

My collegue Daniel that fixed the content types above also fixed the scheduled task issue by removing an old scheduled task:

 FROM [tblScheduledItemLog]
 where fkScheduledItemId in ( select pkid from [tblScheduledItem]
 where AssemblyName in ('EPiServer.Cms.AspNet' , 'EPiServer.Forms.UI'))

delete from [tblScheduledItem]
  where AssemblyName in ('EPiServer.Cms.AspNet' , 'EPiServer.Forms.UI')

 FROM [tblPlugIn]
 where pkid = 10

Id could of course differ from your database.

Thanks Daniel!


Feb 07, 2022 8:43

I've reported this issue to support a while ago. Issue has been confirmed and a fix is coming.

Feb 07, 2022 9:18
Kristoffer Lindén - Feb 07, 2022 9:24
Thanks Mari!
Feb 08, 2022 9:51


Just wanted to let you guys know that the issue ( with Content Type list has been fixed and will ship in the 12.3.1 version.

Feb 10, 2022 8:23
- Feb 10, 2022 8:37
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.