Object reference not set to an instance of an object

If you found a bug, please tell us about it.
Jeżeli znalazłeś błąd, poinformuj nas o tym.

Object reference not set to an instance of an object

Postby dtours » Fri Mar 20, 2015 6:40 pm

I keep getting the following:
"Splash=
Unhandled exception has occurred in your application.
If you click Continue, the application will ignore this error and attempt to continue.
If you click Quit, the application will close immediately.

" Object reference not set to an instance of an object."

Program will run with Continue some times, other times it will not run.
When it does run and load a file, adjustments work, but Output recalls the same error message.

DeBug :
Splash=
Unhandled exception has occurred in your application.
If you click Continue, the application will ignore this error and attempt to continue.
If you click Quit, the application will close immediately.

" Object reference not set to an instance of an object."


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DevExpress.XtraBars.Docking.AutoHideContainer.get_IsHorizontal()
at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.GetAutoHideContainerSize(AutoHideContainer container)
at DevExpress.XtraBars.Docking.AutoHideContainerCollection.LayoutChanged()
at DevExpress.XtraBars.Docking.Helpers.DockLayout.LayoutChangedCore()
at DevExpress.XtraBars.Docking.DockPanel.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraBars.Docking.ZIndexControl.WndProc(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.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SNS-HDR Pro
Assembly Version: 1.4.22.1
Win32 Version: 1.4.22.1
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/SNS-HDR%20Pro.exe
----------------------------------------
Data
Assembly Version: 1.4.22.1
Win32 Version: 1.4.22.1
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/Data.DLL
----------------------------------------
DevExpress.Utils.v8.3
Assembly Version: 8.3.2.0
Win32 Version: 8.3.2.0
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/DevExpress.Utils.v8.3.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/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.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
vihunpwt
Assembly Version: 1.4.22.1
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
uchatzcv
Assembly Version: 1.4.22.1
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Skin
Assembly Version: 1.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/Skin.DLL
----------------------------------------
DevExpress.XtraBars.v8.3
Assembly Version: 8.3.2.0
Win32 Version: 8.3.2.0
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/DevExpress.XtraBars.v8.3.DLL
----------------------------------------
DevExpress.Data.v8.3
Assembly Version: 8.3.2.0
Win32 Version: 8.3.2.0
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/DevExpress.Data.v8.3.DLL
----------------------------------------
DevExpress.XtraEditors.v8.3
Assembly Version: 8.3.2.0
Win32 Version: 8.3.2.0
CodeBase: file:///C:/Program%20Files/SNS-HDR%20Pro/DevExpress.XtraEditors.v8.3.DLL
----------------------------------------
_db7ceri
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.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:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

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.


I have installed the following Windows Updates as of 3/12/2015:
KB3032323
KB3033929
KB3036493
KB3035131
KB3030377
KB3039066
KB3046049
KB3032359
KB890830
KB3033889
KB3035132
KB3034344
KB3035126
dtours
 
Posts: 2
Joined: Fri Mar 20, 2015 4:50 pm

Re: Object reference not set to an instance of an object

Postby Sebastian Nibisz » Fri Mar 20, 2015 10:03 pm

You open directory “C:\Users\UserName\AppData\Roaming\SNS-HDR” and delete file “Layout3.xml”.
User avatar
Sebastian Nibisz
Site Admin
 
Posts: 752
Joined: Tue Sep 13, 2011 8:51 am

Re: Object reference not set to an instance of an object

Postby dtours » Fri Mar 20, 2015 10:13 pm

Worked like a charm !!! Great Software !!!!
Thank You, Sebastian
dtours
 
Posts: 2
Joined: Fri Mar 20, 2015 4:50 pm

Re: Object reference not set to an instance of an object

Postby walshmagger » Mon Dec 19, 2016 7:29 am

The message "Object not set to instance of Object" means that you are trying to use an object which has not been initialized. That is, you either set it to null, or you never set it to anything at all. The runtime throwing a NullReferenceException always means the same thing: you are trying to use a reference. The reference is not initialized (or it was initialized, but is no longer initialized). This points to one of the following:

Your code declared an object variable, but it did not initialize it (create an instance or 'instantiate' it)

Something which your code assumed would initialize an object, did not

Possibly, other code prematurely invalidated an object still in use.

More about....[url=http://net-informations.com/q/faq/null.html]NullReferenceException[/url]

Walsh
walshmagger
 
Posts: 1
Joined: Mon Dec 19, 2016 7:19 am


Return to Bug Reports / Zgłaszanie błędów

Who is online

Users browsing this forum: No registered users and 2 guests

cron