doesn't work... the usual hang when there is an incompatibility
Fixed ReflectionTypeLoadException and TypeLoadException errors
Discussion in 'Rust Discussion' started by infused, Jan 27, 2015.
-
Wulf Community Admin
It should work fine. The config changed, so make sure you've updated that as well.
-
Didn't know oxide had a config...
-
Wulf Community Admin
-
This is what the log says
Code:9:40 AM [Info] Loading Oxide core... 9:40 AM [Info] Loading extensions... 9:40 AM [Info] Error: Cannot compile C# plugins. Unable to find csc.exe! Have you installed .Net v3.5 x64? 9:40 AM [Info] Loaded extension CSharp version 0.5.0 by bawNg 9:40 AM [Info] Loaded extension JavaScript version 1.0.0 by Nogrod 9:40 AM [Error] Failed to load extension Oxide.Ext.Lua (ReflectionTypeLoadException: The classes in the module cannot be loaded.) 9:40 AM [Debug] at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 at Oxide.Lua.LuaExtension.<InitialiseLua>m__0 (System.Reflection.Assembly a) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Reflection.Assembly,System.Type].MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext () [0x00000] in <filename unknown>:0 at Oxide.Lua.LuaExtension.InitialiseLua () [0x00000] in <filename unknown>:0 at Oxide.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 9:40 AM [Error] Failed to load extension Oxide.Ext.Python (TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.) 9:40 AM [Debug] at (wrapper managed-to-native) System.Reflection.Module:InternalGetTypes () at System.Reflection.Module.GetTypes () [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Utils.ReflectionUtils+<GetAllTypesFromAssembly>d__3e.MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext () [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Actions.TopNamespaceTracker.PublishComTypes (System.Reflection.Assembly interopAssembly) [0x00000] in <filename unknown>:0 at IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded (System.Object sender, Microsoft.Scripting.AssemblyLoadedEventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) System.EventHandler`1<Microsoft.Scripting.AssemblyLoadedEventArgs>:invoke_void__this___object_AssemblyLoadedEventArgs (object,Microsoft.Scripting.AssemblyLoadedEventArgs) at Microsoft.Scripting.Runtime.ScriptDomainManager.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Hosting.ScriptRuntime.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ScriptRuntime:LoadAssembly (System.Reflection.Assembly) at Oxide.Ext.Python.PythonExtension.InitialisePython () [0x00000] in <filename unknown>:0 at Oxide.Ext.Python.PythonExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 9:40 AM [Info] Loaded extension Rust version 1.0.0 by Oxide Team 9:40 AM [Info] Loaded extension RustWeb version 1.0.0 by dcode 9:40 AM [Info] Loaded extension Unity version 1.0.0 by Oxide Team
-
Wulf Community Admin
-
Installed it after I noticed that. Get this now.
Code:10:06 AM [Info] Loading Oxide core... 10:06 AM [Info] Loading extensions... 10:06 AM [Info] Loaded extension CSharp version 0.5.0 by bawNg 10:06 AM [Info] Loaded extension JavaScript version 1.0.0 by Nogrod 10:06 AM [Error] Failed to load extension Oxide.Ext.Lua (ReflectionTypeLoadException: The classes in the module cannot be loaded.) 10:06 AM [Debug] at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 at Oxide.Lua.LuaExtension.<InitialiseLua>m__0 (System.Reflection.Assembly a) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Reflection.Assembly,System.Type].MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext () [0x00000] in <filename unknown>:0 at Oxide.Lua.LuaExtension.InitialiseLua () [0x00000] in <filename unknown>:0 at Oxide.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 10:06 AM [Error] Failed to load extension Oxide.Ext.Python (TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.) 10:06 AM [Debug] at (wrapper managed-to-native) System.Reflection.Module:InternalGetTypes () at System.Reflection.Module.GetTypes () [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Utils.ReflectionUtils+<GetAllTypesFromAssembly>d__3e.MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext () [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Actions.TopNamespaceTracker.PublishComTypes (System.Reflection.Assembly interopAssembly) [0x00000] in <filename unknown>:0 at IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded (System.Object sender, Microsoft.Scripting.AssemblyLoadedEventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) System.EventHandler`1<Microsoft.Scripting.AssemblyLoadedEventArgs>:invoke_void__this___object_AssemblyLoadedEventArgs (object,Microsoft.Scripting.AssemblyLoadedEventArgs) at Microsoft.Scripting.Runtime.ScriptDomainManager.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Hosting.ScriptRuntime.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ScriptRuntime:LoadAssembly (System.Reflection.Assembly) at Oxide.Ext.Python.PythonExtension.InitialisePython () [0x00000] in <filename unknown>:0 at Oxide.Ext.Python.PythonExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 10:06 AM [Info] Loaded extension Rust version 1.0.0 by Oxide Team 10:06 AM [Info] Loaded extension RustWeb version 1.0.0 by dcode 10:06 AM [Info] Loaded extension Unity version 1.0.0 by Oxide Team
-
Wulf Community Admin
Could you try removing the Oxide.Ext.CSharp.dll and see if you still have issues?
-
Still have the issue on the latest build with the file there and removed. I can give you rdp access to the server if you want to investigate
-
Wulf Community Admin
-
If I remove the python plugin it kind of loads... keep getting errors about reflection
Code:3:02 PM [Error] Failed to initialise plugin rustcore (ReflectionTypeLoadException: The classes in the module cannot be loaded.) 3:02 PM [Debug] at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 at ConsoleSystem+Index.Build () [0x00000] in <filename unknown>:0 at ConsoleSystem+Index.GetAll () [0x00000] in <filename unknown>:0 at Oxide.Rust.Libraries.Command.AddConsoleCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [0x00000] in <filename unknown>:0 at Oxide.Rust.Plugins.RustCore.Init () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 3:02 PM [Info] Initializing 3:02 PM [Error] Failed to initialise plugin rustweb (NullReferenceException: Object reference not set to an instance of an object) 3:02 PM [Debug] at Oxide.Rust.Plugins.RustWebPlugin.Init () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
Sorry, I should have said, both of those were removed and it loaded. However, within the console there were a ton of errors about reflection. Let me know if you want me to try anything else.
-
Wulf Community Admin
-
2.0.209
[DOUBLEPOST=1422411330][/DOUBLEPOST]I just nuked the entire folder apart from my server instance and it now works... there must have been a conflict dll wise. Rust Maps was installed, that's all I can think of... -
Hi Guys,
Running: Oxide Version: 2.0.209, Rust Protocol: 1189
I'm getting some errors as well on start up, but everything seems to be working correctly:
Note: see the `2 after the System.Collections.Generic.Dictionary, that seems out of place. A typo in the code somwhere?
Code:[1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loading Oxide core... [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loading extensions... [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension CSharp version 0.5.0 by bawNg [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension JavaScript version 1.0.0 by Nogrod [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension Lua version 1.0.0 by Oxide Team [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension Python version 1.0.0 by Nogrod [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension Rust version 1.0.0 by Oxide Team [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension RustWeb version 1.0.6 by dcode [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded extension Unity version 1.0.0 by Oxide Team [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loading plugins......[1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded plugin Rust Core (v1.0.0) by Oxide Team [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded plugin RustWeb Core (v1.1.0) by dcode [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Loaded plugin Unity Core (v1.0.0) by Oxide Team [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Rust.Libraries.Command+ChatCommand].Add (System.String key, ChatCommand value) [0x00000] in <filename unknown>:0 at Oxide.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [1/28/2015 11:45:26 AM] [Oxide] 11:45 AM [Info] Initializing [1/28/2015 11:45:27 AM] Creating Terrain.. [1/28/2015 11:45:27 AM] Generating terrain of size 5000 with seed 8465112 [1/28/2015 11:45:29 AM] ALLOCATING TERRAIN DATA 00:00:01.2999549 [1/28/2015 11:45:29 AM] CREATING TERRAIN OBJECT 00:00:00.2047693 [1/28/2015 11:45:30 AM] GENERATING HEIGHT MAP 00:00:01.1915057 [1/28/2015 11:45:36 AM] GENERATING NORMAL MAP 00:00:05.4909736 [1/28/2015 11:45:36 AM] GENERATING BIOME MAP 00:00:00.2242761 [1/28/2015 11:45:37 AM] GENERATING TOPOLOGY MAP 00:00:00.7622396 [1/28/2015 11:45:37 AM] GENERATING SPLAT MAP 00:00:00.1200994 [1/28/2015 11:45:37 AM] GENERATING COLOR MAP 00:00:00.2903443 [1/28/2015 11:45:37 AM] POST PROCESSING HEIGHT MAP 00:00:00.0510479 [1/28/2015 11:45:37 AM] POST PROCESSING NORMAL MAP 00:00:00.0000737 [1/28/2015 11:45:37 AM] POST PROCESSING BIOME MAP 00:00:00.0000774 [1/28/2015 11:45:37 AM] POST PROCESSING TOPOLOGY MAP 00:00:00.0000906 [1/28/2015 11:45:37 AM] POST PROCESSING SPLAT MAP 00:00:00.0000793 [1/28/2015 11:45:37 AM] POST PROCESSING COLOR MAP 00:00:00.0000799 [1/28/2015 11:45:38 AM] PLACING LANDMARKS 00:00:00.5397212 [1/28/2015 11:45:40 AM] PLACING DECOR 00:00:01.3066911 [1/28/2015 11:45:41 AM] PLACING INFRASTRUCTURE 00:00:00.0007061 [1/28/2015 11:45:42 AM] APPLYING HEIGHT MAP 00:00:00.8392480 [1/28/2015 11:45:43 AM] UPDATING SPAWN HANDLER 00:00:00.8668898 [1/28/2015 11:46:22 AM] AngryAnt Behave version 2.5 (d859964) - Copyright (C) Emil Johansen - AngryAnt 2015 [1/28/2015 11:46:47 AM] SPAWNING INITIAL RESOURCES 00:01:04.3494264 [1/28/2015 11:46:49 AM] CALCULATING CHECKSUM 00:00:01.3553148 [1/28/2015 11:46:49 AM] Done! [1/28/2015 11:46:49 AM] Loading Save From server/1174294/save/Procedural Map_5000_8465112/0.sav [1/28/2015 11:46:59 AM] Destroyed 19115 old entities [1/28/2015 11:46:59 AM] Creating 123072 entities from save
-TheDoc -
Wulf Community Admin
-
Ok makes sense... let me investigate that, thank you.
-
I downloaded lastest version of Oxide 2(2.0.239)
and i'm getting these errors
Code:[1/30/2015 11:25:08 PM] TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. [1/30/2015 11:25:08 PM] TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. [1/30/2015 11:25:08 PM] TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. [1/30/2015 11:25:08 PM] TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. [1/30/2015 11:25:08 PM] TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. [1/30/2015 11:25:08 PM] TypeLoadException: Could not load type 'TOD_ReflectionParameters' from assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Last edited by a moderator: Jan 30, 2015 -
Same here. Shitting its self with the latest version.