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.
Unfortunately, activation email could not send to your email. Please try again.

System.NullReferenceException, ProgressBarAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

54671 Jan 15,2007 05:15 AM Mar 21,2007 05:50 AM Windows Forms 8
loading
Tags: Tools
dwedewdew
Asked On January 15, 2007 05:15 AM

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

Poly J [Syncfusion]
Replied On January 19, 2007 03:56 PM

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

Poly J [Syncfusion]
Replied On January 23, 2007 01:53 PM

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



Christian Teufel
Replied On January 31, 2007 04:20 AM

Hi,

any news about this issue?

Yours

Christian!

Poly J [Syncfusion]
Replied On January 31, 2007 07:58 AM

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


dwedewdew
Replied On January 31, 2007 12:57 PM

Hi,

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

Thanks

Christian.

Poly J [Syncfusion]
Replied On February 1, 2007 04:01 AM

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

dwedewdew
Replied On March 21, 2007 03:12 AM

Hi there,

I think two days have passed. Any news.

Yours

Christian

Poly J [Syncfusion]
Replied On March 21, 2007 05:50 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;