Jump to content

NullReferenceE xception: Object reference not set to an instance of an object

Pending 2.2.1

TaoXi_Honey
TaoXi_Honey

Posted

My console keeps flashing and reporting errors:

Quote

NullReferenceE xception: Object reference not set to an instance of an object

The following are the results of AI analysis:

Based on the log, the NullReferenceException error started occurring frequently after reloading the AdminMap plugin. Therefore, the AdminMap plugin is most likely the cause of this error. Here is a detailed analysis:

Key information in the log

Around line 717 of the log, there is the following content:

Quote

[Timed Execute] ran CMD: o.reload AdminMap [CSharp] Started Oxide.Compiler v1.0.32.0 successfully AdminMap was compiled successfully in 1665ms Unloaded plugin AdminMap v2.2.1 by 0xF // dsc.gg/0xf-plugins Fallback handler could not load library E:/RustServer/Server1/rustds/RustDedicated_Data/MonoBleedingEdge/data-000000093EBD2010.dll Loaded plugin AdminMap v2.2.1 by 0xF // dsc.gg/0xf-plugins NullReferenceException: Object reference not set to an instance of an object at BasePlayer.TeamUpdate (System.Boolean fullTeamUpdate) <0x7ffd0000 + 0x00000> in <34e9c30f1d7a4aeb8fec877d9ee31613>:0 at BasePlayer.TeamUpdate () [0x00000] in <34e9c30f1d7a4aeb8fec877d9ee31613>:0 at InvokeHandlerBase`1[T].DoTick () [0x00138] in <2590a1c6022648fc8eaf70241f8d81f2>:0 at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <2590a1c6022648fc8eaf70241f8d81f2>:0 NullReferenceException: Object reference not set to an instance of an object at BasePlayer.TeamUpdate (System.Boolean fullTeamUpdate) <0x7ffd0000 + 0x00000> in <34e9c30f1d7a4aeb8fec877d9ee31613>:0 at BasePlayer.TeamUpdate () [0x00000] in <34e9c30f1d7a4aeb8fec877d9ee31613>:0 at InvokeHandlerBase`1[T].DoTick () [0x00138] in <2590a1c6022648fc8eaf70241f8d81f2>:0

Specific analysis

Plugin reloading: The log shows that the o.reload AdminMap command was executed, indicating that the server attempted to reload the AdminMap plugin.

Loading exception: During the process of reloading the AdminMap plugin, an error message Fallback handler could not load library appeared, suggesting that there was a problem loading the relevant library file.

Error occurrence: Immediately after the AdminMap plugin was reloaded, the NullReferenceException error occurred, and this error frequently appeared in the BasePlayer.TeamUpdate method.

Suggested actions

You can try temporarily disabling the AdminMap plugin and then restarting the server to see if the NullReferenceException error still occurs. If the error disappears, it can be determined that the AdminMap plugin is the problem. You can consider updating the plugin to the latest version or contacting the plugin developer for assistance.

 

Here is an example configuration to disable the AdminMap plugin:

Quote

"Plugins": { "AdminMap": { "Enabled": false } }

Add the above configuration to the Oxide configuration file, save it, and then restart the server.

logs - 副本.zip

1.9m

Downloads

Total number of downloads.

8.7k

Customers

Total customers served.

129.9k

Files Sold

Total number of files sold.

2.7m

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.