View Issue Details

IDProjectCategoryView StatusLast Update
1875Cross SectionGraphicsPublicJul 15th 2024 1:44 PM
ReporterNBug Reporter Assigned ToTravis Herzog  
Priority ImmediateSeverityCrashReproducibilityAlways
Status AssignedResolutionOpen 
ProjectionModerate FixETA2-3 Days 
PlatformWin32NTOSMicrosoft Windows NT 6.2.9200.0OS Version6.2.9200.0
Product Version1.23.0.6 
Target Version1.24.0.0 
Summary1875: The print button is disabled and attempting to print causes NullReferenceException
DescriptionThe print button is always disabled, even after drawing the plot, and attempting to print causes NullReferenceException.

Object reference not set to an instance of an object. @ System.Drawing.Bitmap GeneratePrintPreview() @ CrossSection.frm_XS_Print

<SerializableException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ExtendedInformation>
    <HResult>-2147467261</HResult>
  </ExtendedInformation>
  <InnerExceptions />
  <Message>Object reference not set to an instance of an object.</Message>
  <Source>HN32-18</Source>
  <StackTrace>   at CrossSection.frm_XS_Print.GeneratePrintPreview()
   at CrossSection.frm_XS_Print.frm_XS_Print_New_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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)</StackTrace>
  <TargetSite>System.Drawing.Bitmap GeneratePrintPreview() @ CrossSection.frm_XS_Print</TargetSite>
  <Type>System.NullReferenceException</Type>
</SerializableException>
Additional Information
<Report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GeneralInfo>
    <CLRVersion>4.0.30319.42000</CLRVersion>
    <DateTime>6/14/2024 10:31:05 PM</DateTime>
    <ExceptionMessage>Object reference not set to an instance of an object.</ExceptionMessage>
    <ExceptionType>System.NullReferenceException</ExceptionType>
    <HostApplication>HN32-18.exe</HostApplication>
    <HostApplicationVersion>1.23.0.6</HostApplicationVersion>
    <NBugVersion>1.2.1.0</NBugVersion>
    <TargetSite>System.Drawing.Bitmap GeneratePrintPreview() @ CrossSection.frm_XS_Print</TargetSite>
    <UserDescription />
  </GeneralInfo>
</Report>
TagsBug, Crash, NBug
Attached Files
Exception_133628778767392084.zip (1,120 bytes)

Zip Contents

  • Exception.xml (1,554 bytes)   
    <?xml version="1.0"?>
    <SerializableException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ExtendedInformation>
        <HResult>-2147467261</HResult>
      </ExtendedInformation>
      <Message>Object reference not set to an instance of an object.</Message>
      <Source>HN32-18</Source>
      <StackTrace>   at CrossSection.frm_XS_Print.GeneratePrintPreview()
       at CrossSection.frm_XS_Print.frm_XS_Print_New_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message&amp; m)
       at System.Windows.Forms.Control.WndProc(Message&amp; m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)
       at System.Windows.Forms.ContainerControl.WndProc(Message&amp; m)
       at System.Windows.Forms.Form.WmShowWindow(Message&amp; m)
       at System.Windows.Forms.Form.WndProc(Message&amp; m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</StackTrace>
      <TargetSite>System.Drawing.Bitmap GeneratePrintPreview() @ CrossSection.frm_XS_Print</TargetSite>
      <Type>System.NullReferenceException</Type>
    </SerializableException>
      
  • Report.xml (715 bytes)   
    <?xml version="1.0"?>
    <Report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GeneralInfo>
        <CLRVersion>4.0.30319.42000</CLRVersion>
        <DateTime>6/14/2024 10:31:05 PM</DateTime>
        <ExceptionMessage>Object reference not set to an instance of an object.</ExceptionMessage>
        <ExceptionType>System.NullReferenceException</ExceptionType>
        <HostApplication>HN32-18.exe</HostApplication>
        <HostApplicationVersion>1.23.0.6</HostApplicationVersion>
        <NBugVersion>1.2.1.0</NBugVersion>
        <TargetSite>System.Drawing.Bitmap GeneratePrintPreview() @ CrossSection.frm_XS_Print</TargetSite>
        <UserDescription />
      </GeneralInfo>
    </Report>
      

Installation TypeWorkstation

Activities