Dynamic Campaign Generator (DCG) is a mod for the game "Men of War" and some of its successors that randomly generates skirmish missions and lets you keep your surviving forces from one battle to another. Some people find this mod tricky to install the first time - please read the readme.txt carefully and ask for help (if you need it) on our forums here on this site, or at the game developer's site.

Forum Thread
  Posts  
java lang exception installing AS1 DCG 4.0 (Games : Men of War : Mods : Dynamic Campaign Generator (DCG) : Forum : Bugs, problems, troubleshooting : java lang exception installing AS1 DCG 4.0) Locked
Thread Options
Sep 2 2017 Anchor

I was running as1 dcg 4.0 and I was having map problems "some mninmaps not showing" so I deleted dcg for AS1 and reinstalled dcg. I also updated java. Now I am getting JAVA LANG error. See details below. Any ideas?


DETAILS

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for 'java.lang.System' threw an exception. ---> java.lang.UnsatisfiedLinkError: Unable to load DLL 'vjsnativ': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
--- End of inner exception stack trace ---
at java.io.File.getCanonicalPath()
at java.io.FileInputStream..ctor(File file)
at java.util.zip.ZipFile.readZIPEntries(String fname)
at java.util.zip.ZipFile..ctor(String fname)
at CampaignGenerator.FileHandlerPak.ExtractAllMaps(String pakfilename, String outputfolder)
at CampaignGenerator.frmSettings.btnExtractAllMaps_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8794 (WinRelRS2.050727-8700)
CodeBase: C:
----------------------------------------
Campaign
Assembly Version: 4.0.0.0
Win32 Version: 1.0.0.0
CodeBase: C: Games/Men of War - Assault Squad/mods/Campaign/Campaign.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
CodeBase: C:
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8793 (WinRelRS2.050727-8700)
CodeBase: C:
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
CodeBase: C:
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
CodeBase: C:
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
CodeBase: C:
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
CodeBase: C:
----------------------------------------
Microsoft.Xna.Framework
Assembly Version: 3.1.0.0
Win32 Version: 3.1.10527.0 built by: xnabldr
CodeBase: C:
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.9279
Win32 Version: 9.00.30729.9279
CodeBase: C:
----------------------------------------
vjslib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.937 (jsertm.050727-9300)
CodeBase: C:
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
CodeBase: C:
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.