View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020936 | MMW 5 | General | public | 2024-05-23 20:20 | 2024-06-05 22:52 |
Reporter | zvezdan | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Product Version | 5.1 | ||||
Target Version | 5.1 | Fixed in Version | 5.1 | ||
Summary | 0020936: Uncaught Error: Cannot read properties of null | ||||
Description | I am getting this error when changing skin in 3021, but not with 3005. Portable installation, default empty Portable folder without added database file, any script or skin, only having added persistent.json and mediamonkey.m3u8 files attached here. In fact, mediamonkey.m3u8 could have anything inside, references to existing or non-existing files, but it should exists. That persistent.json is trimmed down my file form old installation, after I located which its part causes the error followed by a lot of experiments. So, copy these two files into Portable folder, start the program and switch from Material Design to Flat Monkey -> error. If you don't get it, let me know and I will make a debug log since I could reproduce it always, but I am sure you will get that error as well. | ||||
Tags | No tags attached. | ||||
Attached Files | persistent.json (2,708 bytes)
{ "layout_state_Desktop": { "subNodesState": { "mainContentDiv": { "subNodesState": { "innerbodyFlex": { "state": { "hasSplitters": true }, "subNodesState": { "nowplayingVerticalSplitter": { "siblings": { "mainpanel": { "flexGrow": "962" }, "nowplaying": { "width": "220px" } } }, "nowplaying": { "state": { "hasSplitters": true, "manualVisibilityState": true }, "subNodesState": { "nowplayinglistContainer": { "layout": "list", "layoutState": { "NowPlayingTracklist": { "focusedIndex": -1, "itemCount": 10, "scrollOffset": 0, "popupShown": false } } }, "splitterForartWindow": { "siblings": { "nowplayinglistContainer": { "flexGrow": "285" }, "artWindow": { "height": "" } } }, "artWindow": { "mode": "selectedTrack", "layout": "advanced", "visible": true } } } } } } } } } } mediamonkey.m3u8 (102 bytes)
#EXTM3U #EXTINF:265,Peter Gabriel - Solsbury Hill ..\..\..\Music\Peter Gabriel - Solsbury Hill.ogg | ||||
Fixed in build | 3028 | ||||
|
Fixed in 3023 |
|
Verified 3024 |
|
The new version works fine my old Portable folder with its db/json and other files. However, the fresh installation still has an issue with the json file that I have posted. Steps: - Install program in portable mode to the new folder; - choose No on the end of installation to skip start of the program; - copy the posted json file to the Portable folder (.m3u8 file doesn't matter); - start the program and choose Cancel to skip adding an old database and another Cancel to skip Wizard -> Home view shows nothing; - switch to Flat Monkey -> the program disappears and doesn't show up anymore, leaving all processes in memory. It is not a big deal since the program is working fine now with my full json file from my previous installation, but I thought maybe you could see why this thing is happening with that truncated json file. |
|
Good catch, actually debugging this and it is not related to the current persistent.json, but to a bug in closing embedded windows (those used for web pages). The similar can be easily reproduced like this: 1) Run MM5 2) Switch to Web node 3) Switch out of web node (to close the embedded web window) 4) Switch skin => nothing happens |
|
Fixed in 3028 |
|
So, is it related to the 0020981 issue? Similar testing environment, but without any persistent.json file copied to the Portable folder. And I suppose the another issue that I reported is related as well (0020980). |
|
Verified 3028 |