Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

[BUG 3.0.0.2] Unhandled Exception When Creating Messages


Dhruv Kalra
 Share

Recommended Posts

Dhruv Kalra
Posted
Posted

Attempting to create an Airport Conditions or NOTAMs canned message throws the following:

 

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

************** Exception Text **************
Ninject.ActivationException: Error activating UserDefinedAirportCondition using conditional implicit self-binding of UserDefinedAirportCondition
Provider returned null.
Activation path:
 2) Injection of dependency UserDefinedAirportCondition into parameter A_2 of constructor of type d
 1) Request for d

Suggestions:
 1) Ensure that the provider handles creation requests properly.

  at Ninject.Activation.Context.ResolveInternal(Object scope)
  at Ninject.Activation.Context.Resolve()
  at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
  at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
  at Ninject.KernelBase.Resolve(IRequest request)
  at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)
  at Ninject.Activation.Providers.StandardProvider.GetValue(IContext context, ITarget target)
  at Ninject.Activation.Providers.StandardProvider.<>c__DisplayCl[Mod - Happy Thoughts]15_0.<Create>b__0(ITarget target)
  at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
  at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
  at Ninject.Activation.Providers.StandardProvider.Create(IContext context)
  at Ninject.Activation.Context.ResolveInternal(Object scope)
  at Ninject.Activation.Context.Resolve()
  at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
  at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
  at Ninject.KernelBase.Resolve(IRequest request)
  at Ninject.ResolutionExtensions.GetResolutionIterator(IResolutionRoot root, Type service, Func`2 constraint, IEnumerable`1 parameters, Boolean isOptional, Boolean isUnique)
  at Ninject.Extensions.Factory.Factory.InstanceResolver.Get(Type type, String name, Func`2 constraint, IParameter[] parameters, Boolean fallback)
  at Ninject.Extensions.Factory.StandardInstanceProvider.GetInstance(IInstanceResolver instanceResolver, MethodInfo methodInfo, Object[] arguments)
  at Ninject.Extensions.Factory.FactoryInterceptor.Intercept(IInvocation invocation)
  at Castle.DynamicProxy.AbstractInvocation.Proceed()
  at Castle.Proxies.bmProxy.a(UserDefinedAirportCondition A_0)
  at e.e(Object A_0, EventArgs A_1)
  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 [Mod - Happy Thoughts]emblies **************
mscorlib
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
vATIS_MergedVVL
   [Mod - Happy Thoughts]embly Version: 3.0.0.2
   Win32 Version: 3.0.0.2
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/vATIS.exe
----------------------------------------
System.Windows.Forms
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Ninject
   [Mod - Happy Thoughts]embly Version: 3.3.3.0
   Win32 Version: 3.3.3.0
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/Ninject.DLL
----------------------------------------
System.Core
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Ninject.Extensions.Factory
   [Mod - Happy Thoughts]embly Version: 3.3.2.0
   Win32 Version: 3.3.2.0
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.4.0
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/Castle.Core.DLL
----------------------------------------
bbv.Common.EventBroker
   [Mod - Happy Thoughts]embly Version: 7.1.0.0
   Win32 Version: 7.1.12149.1635
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/bbv.Common.EventBroker.DLL
----------------------------------------
System.Configuration
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DynamicProxyGen[Mod - Happy Thoughts]embly2
   [Mod - Happy Thoughts]embly Version: 0.0.0.0
   Win32 Version: 4.4.0
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/Castle.Core.dll
----------------------------------------
Anonymously Hosted DynamicMethods [Mod - Happy Thoughts]embly
   [Mod - Happy Thoughts]embly Version: 0.0.0.0
   Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.GeneratedCode
   [Mod - Happy Thoughts]embly Version: 1.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
   [Mod - Happy Thoughts]embly Version: 1.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
   [Mod - Happy Thoughts]embly Version: 1.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
RestSharp
   [Mod - Happy Thoughts]embly Version: 106.6.9.0
   Win32 Version: 106.6.9.0
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/RestSharp.DLL
----------------------------------------
Newtonsoft.Json
   [Mod - Happy Thoughts]embly Version: 12.0.0.0
   Win32 Version: 12.0.2.23222
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/Newtonsoft.Json.DLL
----------------------------------------
System.Web
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3282.0 built by: NET472REL1LAST_B
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
bbv.Common
   [Mod - Happy Thoughts]embly Version: 7.1.0.0
   Win32 Version: 7.1.12149.1635
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/bbv.Common.DLL
----------------------------------------
System.Runtime.Serialization
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Numerics
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
   [Mod - Happy Thoughts]embly Version: 4.0.0.0
   Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
NAudio
   [Mod - Happy Thoughts]embly Version: 1.9.0.0
   Win32 Version: 1.9.0.0
   CodeBase: file:///C:/Users/Dhruv%20Kalra/AppData/Local/vATIS/NAudio.DLL
----------------------------------------

************** 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:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

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.

Dhruv Kalra

VATUSA ZMP ATM | Instructor | VATSIM Network Supervisor

878508.png878508.png

Link to comment
Share on other sites

Justin Shannon
Posted
Posted

This has been fixed for the next release.

Controller (C3), Los Angeles ARTCC
Developer: xPilot, vATIS

Link to comment
Share on other sites

 Share