We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

System.NullReferenceException, ProgressBarAdv

Hi,

I'm using Syncfusion 4.3.0.30 on both win2000 SP4 and winXP SP2 os.

Using the ProgressBarAdv with WaitingGradient style works perfectly on WinXP SP2. However, launching the same ProgressBarAdv under win2000 SP4 throws an System.NullreferenceException.
this is ugly, because our main application has to support both operating systems.

We need a workaround for this problem as soon as possible.

Yours

Christian!
---
I attached an sample which demonstrates this behaviour.

The exception message follows:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Windows.Forms.Tools.ProgressBarAdv.DrawWaitingGradient(Graphics g)
at Syncfusion.Windows.Forms.Tools.ProgressBarAdv.DrawProgress(Graphics g, Rectangle rect)
at Syncfusion.Windows.Forms.Tools.ProgressBarAdv.OnBarPaint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ThemedControl.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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ProgressBarAdvTest
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Desktop/ProgressBarAdvTest/ProgressBarAdvTest/bin/Debug/ProgressBarAdvTest.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Syncfusion.Shared.Base
Assembly Version: 4.302.0.30
Win32 Version: 4.302.0.30
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Desktop/ProgressBarAdvTest/ProgressBarAdvTest/bin/Debug/Syncfusion.Shared.Base.DLL
----------------------------------------
Syncfusion.Core
Assembly Version: 4.302.0.30
Win32 Version: 4.302.0.30
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Desktop/ProgressBarAdvTest/ProgressBarAdvTest/bin/Debug/Syncfusion.Core.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:





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.

ProgressBarAdvTest.zip

8 Replies

PJ Poly J Syncfusion Team January 19, 2007 08:56 PM UTC

Hi Christian,

Sorry for the delay in updating you.We are looking into this incident.After contacting the development team I will update you more details on this incident by Tuesday.
Regards,
Poly


PJ Poly J Syncfusion Team January 23, 2007 06:53 PM UTC

Hi Christian,

I have tested the sample in Win 2000 SP4, and I could see the issue with ProgressbarAdv.I have contacted our development team regarding this.I will update you once I hear back from them with the time frame for fixing this issue.

Best Regards,
Poly




CT Christian Teufel January 31, 2007 09:20 AM UTC

Hi,

any news about this issue?

Yours

Christian!


PJ Poly J Syncfusion Team January 31, 2007 12:58 PM UTC

Hi Christian,

Our development team promised that they can provide a fix for this issue in March first week. We will update you when the fix is available.

Best Regards,
Poly



DW dwedewdew January 31, 2007 05:57 PM UTC

Hi,

in this case, we have to find another manufacturer offering a stable .net ProgressBar.

Thanks

Christian.


PJ Poly J Syncfusion Team February 1, 2007 09:01 AM UTC

Hi Christian,

We are very much sorry for the inconvenience caused. I have contacted our development team and we will get back to you within two days regarding this issue.

Best Regards,
Poly


DW dwedewdew March 21, 2007 07:12 AM UTC

Hi there,

I think two days have passed. Any news.

Yours

Christian


PJ Poly J Syncfusion Team March 21, 2007 09:50 AM UTC

Hi Christian,

Sorry for not updating you for a long time.
Could you please create a Direct-Trac incident with subject "ProgressBarAdv under win2000 SP4 throws an System.NullreferenceException - 54671" ?
We will send you the bug fix details through our Direct-trac system.

Thanks for your interest in Syncfusion Products.

Best Regards,
Poly


Loader.
Live Chat Icon For mobile
Up arrow icon