ArgumentNullException at GenerateItemsError

Fresh server, only a few plugins.

[ZLevelsRemastered] Generating new item list...
Failed to initialize plugin 'ZLevelsRemastered v2.9.20' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.ZLevelsRemastered.GenerateItems (System.Boolean reset) [0x000d9] in <5b3e90012e0f48e3ad33b25535379cb6>:0
at Oxide.Plugins.ZLevelsRemastered.Init () [0x000da] in <5b3e90012e0f48e3ad33b25535379cb6>:0
at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0026f] in <5b3e90012e0f48e3ad33b25535379cb6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Unloaded plugin ZLevelsRemastered v2.9.20 by Default
No previous version to rollback plugin: ZLevelsRemastered
I have the same exact problem. No other mod, fresh server. No modification made in the plugin, it just doesn't work. I have the same message in my log file.
Zlevels remastered latest version (from plugin page) is v2.9.15 !
which is the one i am running

77 "ZLevelsRemastered" (2.9.15) by Default (4.60s) - ZLevelsRemastered.cs

Mine now say ZLevelsRemastered v2.9.21. Weird

03:00 [Info] [ZLevelsRemastered] Generating new item list...
03:00 [Error] Failed to initialize plugin 'ZLevelsRemastered v2.9.21' (ArgumentNullException: Value cannot be null.
Parameter name: source)
  at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Oxide.Plugins.ZLevelsRemastered.GenerateItems (System.Boolean reset) [0x000d9] in <95b95276f6cc4de29f2b90faff2984d5>:0 
  at Oxide.Plugins.ZLevelsRemastered.Init () [0x000da] in <95b95276f6cc4de29f2b90faff2984d5>:0 
  at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0026f] in <95b95276f6cc4de29f2b90faff2984d5>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
03:00 [Info] Unloaded plugin ZLevelsRemastered v2.9.21 by Default
03:00 [Info] No previous version to rollback plugin: ZLevelsRemastered
It appears you may be running a modified file, which I won't really be able to help with. My advice is to delete the modified file, and download the latest update.
The latest version available to download is 2.9.21. Update the version and tell me if the issue is still there. I am running it on my server for a while without any issues.

But even with 2.9.20 you can remove plugin, then remove those 2 files, if you have them:
oxide/data/ZLevelsCraftDetails.json
oxide/data/ZLevelsCraftDetails.old.json​

then install plugin. You output to log should look like this:

12:56 [Info] Unloaded plugin ZLevelsRemastered v2.9.20 by Default
12:56 [Info] [ZLevelsRemastered] Generating new item list...
12:56 [Info] [ZLevelsRemastered] Loaded 646 items. (Enabled: 0 | Inactive: 646).
12:56 [Info] [ZLevelsRemastered] Stats can be reset by > zl.reset <
12:56 [Warning] Calling 'OnServerInitialized' on 'ZLevelsRemastered v2.9.20' took 441ms
12:56 [Info] Loaded plugin ZLevelsRemastered v2.9.20 by Default

But I still advice to update to 2.9.21 following same procedure described above.

5f23e353340b1.png MONaH
The latest version available to download is 2.9.21. Update the version and tell me if the issue is still there. I am running it on my server for a while without any issues.

But even with 2.9.20 you can remove plugin, then remove those 2 files, if you have them:
oxide/data/ZLevelsCraftDetails.json
oxide/data/ZLevelsCraftDetails.old.json​

then install plugin. You output to log should look like this:

12:56 [Info] Unloaded plugin ZLevelsRemastered v2.9.20 by Default
12:56 [Info] [ZLevelsRemastered] Generating new item list...
12:56 [Info] [ZLevelsRemastered] Loaded 646 items. (Enabled: 0 | Inactive: 646).
12:56 [Info] [ZLevelsRemastered] Stats can be reset by > zl.reset <
12:56 [Warning] Calling 'OnServerInitialized' on 'ZLevelsRemastered v2.9.20' took 441ms
12:56 [Info] Loaded plugin ZLevelsRemastered v2.9.20 by Default

But I still advice to update to 2.9.21 following same procedure described above.

FROM plugin page

v2.9.15
2 months ago

Small patch that completely disables the crafting portion regardless if you have it enabled, if you have Crafting Controller installed.
There's an incompatibility with the 2 plugins, and this is an entirely optional update. If you run both plugins, I suggest you update to this version to prevent any bugs from happening.
Will work on a more proper fix in the meantime.

4.3Kdownloads
 
v2.9.10
6 months ago
  • Update for OnGrowableGather/ed hook changes (Oxide.Rust 2.0.4530 or higher required)
10.2Kdownloads
 
v2.9.9
6 months ago
  • Fixed plugin using title for data file name instead of class/filename
847downloads
 
v2.9.8
6 months ago
  • Updated for deprecated OnPlayerInit hook
270downloads
 
v2.9.7
6 months ago
  • Update for Rust removal of PlantEntity (now GrowableEntity)
44downloads
 
v2.9.6
8 months ago

New permission zlevelsremastered.noxploss - Prevents losing any XP on death.
A few misc. code changes here and there.

Announcing of leveling up now only announces every 10 levels up to the default max level of 200.
More to come.

2.7Kdownloads
 
v2.9.5
2 years ago

Initial public release

16.9Kdownloads
 

Where are you getting other versions from ?

By pressing the big "Download" button right from the main page. Not from "Updates" tab.
5e8e906c6016a.png Default
It appears you may be running a modified file, which I won't really be able to help with. My advice is to delete the modified file, and download the latest update.

I am not. At first, I added the plugin on ServerBlend by using the URL one-click method, then I started the server. No modification was made to any files, and I got the error posted above in my log. I just removed the plugin and all the files, then hit the big download button. I added the plugin manually to ServerBlend, I restarted the server (Again, no modification at all made to any files) and still the same message in my log. 

Merged post

Edit: I downloaded the V2.9.15 and added it manually. It works just fine so Ill stay with the older version for now.
@majortk, please, try this version and tell me if the issue is resolved for you? I can't recreate it in my environment, but I feel like I want to resolve that issue.
 
Why is the plugin being updated without any sort of update in the updates tab is my question.
Odd.
5e8e906c6016a.png Default
Why is the plugin being updated without any sort of update in the updates tab is my question.
Odd.
Not seeing hat you mean.
This is how the "Patch" function works. When patch saved, it just changes `README.md` immidiatly and also changes `plugin-name.cs` that is downloaded from main plugin page by pressing "Download" button in the right side of the page.
However, to add a new version to "updates" section and to send notification to all people who watching changes, maintainer still should click "merge patch" (or "deny" for whatever reason).
If you don't like this one - you can disable the ability for other developers to send patches in plugin options. Go to plugin page -> Edit -> Collaborators -> Accept patches from any developers. I still think it's not the best idea, but you can do so if you want.

P.S. another patch sent. Hopefully this fixes for the rare few that are having the ArgumentNullException error issue.
I just can't recreate this error to be sure, so it would be nice if people who had it tried this vesrion and let me know if the issue is resolved for them.
5f23e353340b1.png MONaH
This is how the "Patch" function works. When patch saved, it just changes `README.md` immidiatly and also changes `plugin-name.cs` that is downloaded from main plugin page by pressing "Download" button in the right side of the page.

Ah, plugin description... not the plugin itself.

And plugin itself. Download this one and see yourself.
By clicking "download" button you will get v2.9.22 which I send as patch not long ago.
It makes sense if plugin became broken and mainteiner away and some other developer can patch it and all who will download new version will have patched plugin. But in the opposite, someone can brake something this way so it's like "this coin has 2 sides".
I think this is still better then just prohibit patches from others, like many of devs prefer to do here.
Also this function became autodisabled if using "Revert" button in "Updates" section.