NullReferenceException at GetPlayerFromPlayerDatasError

Getting this aswell!

Failed to call hook 'OnPlayerInit' on plugin 'SharpAutoCodeLocks v1.1.0' (NullRe
ferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer playe
r) [0x00002] in <f995ac962ba94998a9c6b4f15dec971e>:0       2kb/s in, 15kb/s out
  at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x00000]
 in <f995ac962ba94998a9c6b4f15dec971e>:0
  at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System
.Object& ret, System.Object[] args) [0x0008d] in <f995ac962ba94998a9c6b4f15dec97
1e>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
od, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[]
 args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] arg
​
Hi! thanks for reporting! I'll be right on it.
The error likely means your data for the plugin is corrupt and needs to be removed and reset. This likely happened if your server crashed while saving it.
So just reinstall the addon and remove the config and if there is data file?
| Failed to initialize plugin 'SharpAutoCodeLocks v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer player) [0x00002] in <14f49f42637146d39526bfcc3a97b192>:0 
  at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x0000d] in <14f49f42637146d39526bfcc3a97b192>:0 
  at Oxide.Plugins.SharpAutoCodeLocks.Init () [0x0002b] in <14f49f42637146d39526bfcc3a97b192>:0 
  at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000eb] in <14f49f42637146d39526bfcc3a97b192>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0
(20:37:35) | Unloaded plugin Sharp Auto Code Locks v1.1.1 by NoSharp
@Trillz Wulf answered this in a post before this.

oxide.grant group admin sharpautocodelocks.user

Permission 'sharpautocodelocks.user' doesn't exist

o.reload SharpAutoCodeLocks

Failed to initialize plugin 'SharpAutoCodeLocks v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer player) [0x00002] in <9d148ac2215d4b01af92721b3099cc81>:0
at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x0000d] in <9d148ac2215d4b01af92721b3099cc81>:0
at Oxide.Plugins.SharpAutoCodeLocks.Init () [0x0002b] in <9d148ac2215d4b01af92721b3099cc81>:0
at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000eb] in <9d148ac2215d4b01af92721b3099cc81>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0

Unloaded plugin Sharp Auto Code Locks v1.1.1 by NoSharp

No previous version to rollback plugin: SharpAutoCodeLocks

@Wulf Cleared out all data referring to your previous comment. The only data that existed was a .json file in the oxide/data folder probably from a previous working time. Deleted the plugin and redownloaded. Same as prevoius message i get

o.load SharpAutoCodeLocks

Failed to initialize plugin 'SharpAutoCodeLocks v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer player) [0x00002] in <77e40420c34643a18a4d666a1f43f083>:0 
  at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x0000d] in <77e40420c34643a18a4d666a1f43f083>:0 
  at Oxide.Plugins.SharpAutoCodeLocks.Init () [0x0002b] in <77e40420c34643a18a4d666a1f43f083>:0 
  at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000eb] in <77e40420c34643a18a4d666a1f43f083>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0 ​
I type in o.grant group admin sharpautocodelocks.user and then that shows up with this permission doesn't exit. Help?
Make sure you are using the latest version of the plugin.
I had this as well, completely fresh first time download.

Turns out the plugin isn't initialising properly. I ran `oxide.reload SharpAutoCodeLocks` in a remote console and it threw an exception. That will be why the mod framework won't set the permission, it doesn't exist if the plugin is failing... so that's the next place to start debugging

Failed to initialize plugin 'SharpAutoCodeLocks v1.1.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer player) [0x00002] in <3988ea41bf094602887350cb6a5751de>:0 at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x0000d] in <3988ea41bf094602887350cb6a5751de>:0 at Oxide.Plugins.SharpAutoCodeLocks.Init () [0x0002b] in <3988ea41bf094602887350cb6a5751de>:0 at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000eb] in <3988ea41bf094602887350cb6a5751de>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0
Unloaded plugin Sharp Auto Code Locks v1.1.1 by NoSharp
No previous version to rollback plugin: SharpAutoCodeLocks

...and there's already an open thread for that I just found. 
it never works for me    

Failed to initialize plugin 'SharpAutoCodeLocks v1.1.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer player) [0x00002] in :0 at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x0000d] in :0 at Oxide.Plugins.SharpAutoCodeLocks.Init () [0x0002b] in :0 at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000eb] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0
Failed to initialize plugin 'SharpAutoCodeLocks v1.1.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.SharpAutoCodeLocks.GetPlayerFromPlayerDatas (BasePlayer player) [0x00002] in <6543e939a8fa4f1bac7ec5584ec108db>:0 at Oxide.Plugins.SharpAutoCodeLocks.OnPlayerInit (BasePlayer player) [0x0000d] in <6543e939a8fa4f1bac7ec5584ec108db>:0 at Oxide.Plugins.SharpAutoCodeLocks.Init () [0x0002b] in <6543e939a8fa4f1bac7ec5584ec108db>:0 at Oxide.Plugins.SharpAutoCodeLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000eb] in <6543e939a8fa4f1bac7ec5584ec108db>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <4452f821def6406d834e4149849fe7ea>:0
Unloaded plugin Sharp Auto Code Locks v1.1.1 by NoSharp

Fresh Install. Hope you're well Sharp!
still not working.Changed pin not being registered.A problematic plugin...
It would appear it's not being upkept anymore... :(