Jump to content

Better Linux support? - Unable to run the gui with mono as launching throws "Object reference not set to an instance of an object", cannot edit Plugin Settings with WINE because clicking on a plugin also throws the same unhandled exception.


iPaq

Recommended Posts

Hi all,

 

I'm trying to use Procon for a BF4 server we hired this month.

The entire thing works perfectly with wine 10.12 except the Plugins, which upon clicking any plugin throws a Unhandled exception popup because of `Object reference not set to an instance of an object`.

 

You can click Continue and the program continues along just fine, but there's no way to edit a plugin's settings.

 

Trying to launch Procon with mono 6.12.0.206 cannot launch the application instantly throwing the same exception for something else.

 

The full exception for clicking a Plugin in WINE to try and manage it is:

 

See the end of this message for details on invoking \njust-in-time (JIT) debugging instead of this dialog box.\n\n************** Exception Text **************\nSystem.NullReferenceException: Object reference not set to an instance of an object
  at PRoCon.Controls.uscPluginPanel.RefreshSelectedPlugin () [0x000d9] in <943991b8af9a4b3abc6237f00549ea45>:0 
  at PRoCon.Controls.uscPluginPanel.lsvLoadedPlugins_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0001e] in <943991b8af9a4b3abc6237f00549ea45>:0 
  at System.Windows.Forms.ListView.OnSelectedIndexChanged (System.EventArgs e) [0x0001f] in <afb6e908edac45f8910a1d6f26fc6b9c>:0 
  at System.Windows.Forms.ListView.WmReflectNotify (System.Windows.Forms.Message& m) [0x00519] in <afb6e908edac45f8910a1d6f26fc6b9c>:0 
  at System.Windows.Forms.ListView.WndProc (System.Windows.Forms.Message& m) [0x000bc] in <afb6e908edac45f8910a1d6f26fc6b9c>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <afb6e908edac45f8910a1d6f26fc6b9c>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <afb6e908edac45f8910a1d6f26fc6b9c>:0 
  at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <afb6e908edac45f8910a1d6f26fc6b9c>:0 

\n************** Loaded Assemblies **************\nmscorlib\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/4.5/mscorlib.dll\n----------------------------------------\nPRoCon\n    Assembly Version: 1.5.4.0\n    Win32 Version: 1.5.4.0\n    CodeBase: file:///Z:/data/games/procon/PRoCon.exe\n----------------------------------------\nPRoCon.Core\n    Assembly Version: 1.5.4.0\n    Win32 Version: 1.5.4.0\n    CodeBase: file:///Z:/data/games/procon/PRoCon.Core.dll\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll\n----------------------------------------\nSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Drawing\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll\n----------------------------------------\nSystem.Xml\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll\n----------------------------------------\nAccessibility\n    Assembly Version: 4.0.0.0\n    Win32 Version: \n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n----------------------------------------\nSystem.Core\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\nWineMono.I18N\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/WineMono.I18N/4.0.0.0__0738eb9f132ed756/WineMono.I18N.dll\n----------------------------------------\nWineMono.I18N.West\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/WineMono.I18N.West/4.0.0.0__0738eb9f132ed756/WineMono.I18N.West.dll\n----------------------------------------\nNewtonsoft.Json\n    Assembly Version: 13.0.0.0\n    Win32 Version: 13.0.1.25517\n    CodeBase: file:///Z:/data/games/procon/Newtonsoft.Json.dll\n----------------------------------------\nPRoConPluginEnumAssembly\n    Assembly Version: 0.0.0.0\n    Win32 Version: n/a\n    CodeBase: \n----------------------------------------\nPRoConPluginEnumAssembly\n    Assembly Version: 0.0.0.0\n    Win32 Version: n/a\n    CodeBase: \n----------------------------------------\nPRoConPluginEnumAssembly\n    Assembly Version: 0.0.0.0\n    Win32 Version: n/a\n    CodeBase: \n----------------------------------------\nPRoConPluginEnumAssembly\n    Assembly Version: 0.0.0.0\n    Win32 Version: n/a\n    CodeBase: \n----------------------------------------\nSystem.Runtime.Serialization\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll\n----------------------------------------\nSystem.Numerics\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll\n----------------------------------------\nSystem.Data\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll\n----------------------------------------\nSystem.Web\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll\n----------------------------------------\nWineMono.Security\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/WineMono.Security/4.0.0.0__0738eb9f132ed756/WineMono.Security.dll\n----------------------------------------\nSystem.Design\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-10.1.0/lib/mono/gac/System.Design/4.0.0.0__b03f5f7f11d50a3a/System.Design.dll\n----------------------------------------\n\n************** JIT Debugging **************\n

The error logged in DEBUG.txt for trying to launch Procon at all using mono is:

Exception caught at: 

Line 0
Method Main
DateTime: Thursday, 28 August 2025 1:22:37 PM
Version: 1.5.4.0
Packet: 
Application error
Additional: 


Invalid handle to path "/data/games/procon/[Unknown]"

  at System.IO.FileStream.WriteInternal (System.Byte[] src, System.Int32 offset, System.Int32 count) [0x00077] in <296872a6734f443990477e3abd954b57>:0 
  at System.IO.FileStream.Write (System.Byte[] array, System.Int32 offset, System.Int32 count) [0x00090] in <296872a6734f443990477e3abd954b57>:0 
  at System.IO.StreamWriter.Flush (System.Boolean flushStream, System.Boolean flushEncoder) [0x00080] in <296872a6734f443990477e3abd954b57>:0 
  at System.IO.StreamWriter.WriteSpan (System.ReadOnlySpan`1[T] buffer, System.Boolean appendNewLine) [0x000a7] in <296872a6734f443990477e3abd954b57>:0 
  at System.IO.StreamWriter.WriteLine (System.String value) [0x0000d] in <296872a6734f443990477e3abd954b57>:0 
  at System.IO.TextWriter+SyncTextWriter.WriteLine (System.String value) [0x00000] in <296872a6734f443990477e3abd954b57>:0 
  at (wrapper synchronized) System.IO.TextWriter+SyncTextWriter.WriteLine(string)
  at System.Console.WriteLine (System.String value) [0x00000] in <296872a6734f443990477e3abd954b57>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00059] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00196] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x000d5] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, System.Windows.Forms.WindowType windows) [0x0003d] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00521] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00009] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Control.CreateHandle () [0x00031] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00039] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00057] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00065] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
  at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00059] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00011] in <c87c1b414e134a3b85f757beb69a2505>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00006] in <c87c1b414e134a3b85f757beb69a2505>:0 

Is there any hope in the slightest that either of these could be fixed so I can try managing plugins without having to create a Windows VM just for one program?

Link to comment
  • Administrators

It's never really was designed for Linux. You'd have better luck and ease of setup by just doing a temp windows VM, configure procon and it's plugins, then just run the service (console) in the background. You don't have to activate Windows so shouldn't be hard. 

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment

I'd say it's time for a rewrite in something more modern 😝

 

It looks like that particular tab uses some kind of embedded IE function which is probably why it's borking out. Likely no way to fix that on Linux.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. 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.