Jump to content

NullReferenceException -> Plugin Work, only Spamming in Log

Closed 1.0.5 1.0.7

Suerion
Suerion

Posted (edited)

Hello, i had looked on the Plugin, there is yet again the NULLException Error for Editing an Note -> this is not resolved,

We want to clear our Logs from this error,

Allways when a new, or an old Note would be edited, it gives an error in the Log,

Plugin works fine

 

[Error] Failed to call hook 'OnNoteEdit' on plugin 'StationaryPaper v1.0.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StationaryPaper.OnNoteEdit (ConsoleSystem+Arg arg) [0x00101] in <e8a08ecf529147aca4d235edce68d247>:0
at Oxide.Plugins.StationaryPaper.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00115] in <e8a08ecf529147aca4d235edce68d247>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

 

Edited by Suerion
typo error
Krungh Crow

Posted

yes i am not sure what they changed again plugins seem to give errors allover now

Suerion

Posted

i had one adittion, this error write in the logs only, when we edit an VanillaNote.

Plugin created Notes works fine

Suerion

Posted

I hope i could help 🙂 if we should test an changing, i will be your man 🙂

 

  • Love 1
Suerion

Posted

We had tested it again,

if i write in VanillaNote, it will save the writen note, after move to an other slot in inventory/horse/boxes/ etc, it will delete the text inside of the note and the error will written in the log

  • Like 1
Suerion

Posted

20 hours ago, Suerion said:

We had tested it again,

if i write in VanillaNote, it will save the writen note, after move to an other slot in inventory/horse/boxes/ etc, it will delete the text inside of the note and the error will written in the log

@Krungh Crow

i had looked again on the Problem, the issue on our Server was, we had added the Plugin later, after this, the VanillaNote was replaced with Simple Note.

Only the VanillaNote's before activating the plugin wil bring errors and don't save the text anymore.

I think this is our Problem, could you add an Error Catcher, if an VanillaNote was used, it should be destroyed? I think, this should be the best case and fastest resolving

  • Like 1
Krungh Crow

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.7

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.