[1645] "Object reference not set to an instance of an object" & "Nullable object must have a value"

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Ryzo90
Posts: 35
Joined: Sun Mar 02, 2025 9:08 pm

[1645] "Object reference not set to an instance of an object" & "Nullable object must have a value"

Post by Ryzo90 »

Latest beta. Play scenario wooden leg as per walkthrough instructions in community manual.
For ease of reproduction I have attached a save. Exceptions start to occur once the strike mission is cloned.

ExceptionLog:
12/05/2025 13:47:31!!!WARNING!!! EXCEPTION FUSE REACHED (x20 exceptions) FOR : -- Bv1.08 Public Beta - Build 1645 -- Object reference not set to an instance of an object. -- Scen : Wooden Leg, 1985 -- DB : -- Exception: Object reference not set to an instance of an object.
Stack Trace: at Command_Core.Doctrine.FbRO4LViU1Ox9AVYiYhY(Object )
at Command_Core.Doctrine.GetParentDoctrine(Boolean& UnitIsOperating, Boolean IgnoreMissionStatusEvaluation, Side FallbackSide)
Call Stack & Error details:
Error at 101171:
12/05/2025 13:47:31 -- Bv1.08 Public Beta - Build 1645 -- Nullable object must have a value. -- Scen : Wooden Leg, 1985 -- DB : -- Exception: Nullable object must have a value.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable`1.get_Value()
at Command_Core.Aircraft_Weaponry.IsWinchesterOrShotgun()
Call Stack & Error details:
Error at 200295: Nullable object must have a value.
12/05/2025 13:49:54!!!WARNING!!! EXCEPTION FUSE REACHED (x20 exceptions) FOR : -- Bv1.08 Public Beta - Build 1645 -- Nullable object must have a value. -- Scen : Wooden Leg, 1985 -- DB : -- Exception: Nullable object must have a value.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable`1.get_Value()
at Command_Core.Aircraft_Weaponry.IsWinchesterOrShotgun()
Call Stack & Error details:
Error at 200295: Nullable object must have a value.Error in Exception Handler! OnThreadException
Error in Exception Handler! theEx != null
Error in Exception Handler! e.Exception.GetType().Name: NullReferenceException
Error in Exception Handler! theEx.Message: Object reference not set to an instance of an object.
Error in Exception Handler! theEx.StackTrace: at Command.DoctrineItem_uc.RefreshPanel(DoctrineItem Item, Scenario thescen, String CustomTitle, Nullable`1 Config)
at Command.DoctrineItem_uc.updateListener()
at Command_Core.Doctrine.DoctrineItem.Upnp4ayyjeLwvMl7cXHD(Object )
at Command_Core.Doctrine.DoctrineItem.PropagateToListeners()
at Command_Core.Doctrine.DoctrineItem.set_CurrentState(Boolean ConsiderInheritance, Nullable`1 value)
at Command.DoctrineItem_uc.v9sBeEoN2s(Object , EventArgs )
at System.Windows.Forms.ComboBox.OnSelectionChangeCommitted(EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectionChangeCommittedInternal(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Error in Exception Handler! This is probably a Error in Exception Handler!. Please save a screenshot of this and submit it, along with the autosave files, for investigation.
It goes very quickly after this to 8000+ exceptions!:
12/05/2025 13:52:39!!!WARNING!!! EXCEPTION FUSE REACHED (x400 exceptions) FOR : -- Bv1.08 Public Beta - Build 1645 -- Nullable object must have a value. -- Scen : Wooden Leg, 1985 -- DB : -- Exception: Nullable object must have a value.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable`1.get_Value()
at Command_Core.Aircraft_Weaponry.IsWinchesterOrShotgun()
Call Stack & Error details:
Error at 200295: Nullable object must have a value.

It eventually goes to 8000+ exceptions!:
12/05/2025 13:53:07 -- Bv1.08 Public Beta - Build 1645 -- Nullable object must have a value. -- Scen : Wooden Leg, 1985 -- DB : -- Exception: Nullable object must have a value.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable`1.get_Value()
at Command_Core.ActiveUnit_AI.EngageTargets(Single elapsedTime)
Call Stack & Error details:
Error at 100054:
12/05/2025 13:53:21 -- Bv1.08 Public Beta - Build 1645 -- Object reference not set to an instance of an object. -- Scen : Wooden Leg, 1985 -- DB : -- Exception: Object reference not set to an instance of an object.
Stack Trace: at Command_Core.ActiveUnit_DockingOps.kIe2Vi0ev2skw9oT7ybl(Object )
at Command_Core.ActiveUnit_DockingOps.get_IsCurrentlyProvidingUNREP()
at Command.UnitStatus_WPF.bV90weiHZL9qpfoXHpF0(Object )
at Command.UnitStatus_WPF.zkhSNZJksA3(Scenario , Side , Unit )
Call Stack & Error details:
Error at 32165474243245: Object reference not set to an instance of an object.
Attachments
Wooden Leg, 1985 - Build 1645 Refueling issue.zip
(129.99 KiB) Downloaded 5 times
Last edited by Ryzo90 on Mon May 12, 2025 1:11 pm, edited 1 time in total.
User avatar
blu3s
Posts: 1251
Joined: Fri Jul 08, 2022 9:45 am

Re: [1645] "Object reference not set to an instance of an object" & "Nullable object must have a value"

Post by blu3s »

Thanks for the report

Logged 16727
Post Reply

Return to “Tech Support”