Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
Infragistics.Win.Printing.UltraPrintPreviewDialog issue with version 15.2.20152.1000 and visual studio 2015 with 4.6
posted

Hi,

After upgrading to version 15.2 along with VS2015 (with .net frame to 4.6),  I got this error. Please see attached.

Any idea?

Thanks

System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.UltraWinGrid.UltraGridGroup.AlignHeaderInFixedHeaderArea(Rectangle& headerRect, Rectangle& fixedHeaders, BandHeaderMetricsCache bandHeaderMetricsCache)
   at Infragistics.Win.UltraWinGrid.UltraGridGroup.CalculateHeaderRect(Rectangle& headerRect, Rectangle& fixedHeaderRect, BandHeaderMetricsCache bandHeaderMetricsCache)
   at Infragistics.Win.UltraWinGrid.PrintManager.GetBandOverallWidth(Double& pageExtent, Double& totalExtent, UltraGridBand band, Boolean addPageHOrigin)
   at Infragistics.Win.UltraWinGrid.PrintManager.GetBandsOverallWidth(Boolean addPageHOrgin)
   at Infragistics.Win.UltraWinGrid.PrintManager.CalculateHorizontalOrigins()
   at Infragistics.Win.UltraWinGrid.PrintManager.CalculatePageDimensions()
   at Infragistics.Win.UltraWinGrid.PrintManager.BeginPrint(Object sender, PrintEventArgs e)
   at Infragistics.Win.UltraWinGrid.UltraGridPrintDocument.OnBeginPrint(PrintEventArgs e)
   at System.Drawing.Printing.PrintDocument._OnBeginPrint(PrintEventArgs e)
   at System.Drawing.Printing.PrintController.Print(PrintDocument document)
   at System.Drawing.Printing.PrintDocument.Print()
   at Infragistics.Win.Printing.UltraPrintPreviewControl.GeneratePreviewHelper(Boolean synchronous)
   at Infragistics.Win.Printing.UltraPrintPreviewControl.OnApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at Infragistics.Win.UltraMessageBox.UltraMessageBoxManager.ShowDialogHelper(UltraMessageBoxInfo messageBoxInfo)
   at Infragistics.Win.UltraMessageBox.UltraMessageBoxManager.ShowDialogHelper(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, DefaultableBoolean displayHelpButton, HelpInfo helpInfo)
   at Infragistics.Win.UltraWinDock.UltraDockManager.CheckDragDropCallBack()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0

Parents
  • 2575
    Verified Answer
    Offline posted

    Hello Joon,

    We cannot determine from this what the issue is. It is quite possible it was a bug which was fixed in a service release for 15.2, so we first recommend downloading/installing the latest service release, running the version utility to upgrade your project to the latest service and seeing if this resolves the issue.

    If the issue still isn't resolved, we will need to reproduce it in order to investigate the cause. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing, and include all steps that you took to witness this behavior.

    Please let me know if I can provide any further assistance.

Reply Children
No Data