Error message:
For details about calling real-time (JIT) debugging instead of the dialog box, See the end of the message.
I don't know why I want to use such a difficult prompt, or I don't understand why. The cause of this error is as follows:
1. The value is null.
2. Use it without instantiation
Therefore, the object is empty before use.
If (OBJ! = NULL ){}
URL: http://greatverve.cnblogs.com/archive/2011/06/30/error-jit.html
The following are all error prompts and solutions for some people. They seem to be worth your reference, but I did not try them and recorded them:
See the end of the message.
**************
System. nullreferenceexception: object reference is not set to the instance of the object.
In bitauto. hcsinterface. frmmain. tupdown_tick (Object sender, eventargs E)
In system. Windows. Forms. Timer. ontick (eventargs E)
In system. Windows. Forms. Timer. timernativewindow. wndproc (Message & M)
In system. Windows. Forms. nativewindow. Callback (intptr hwnd, int32 MSG, intptr wparam, intptr lparam)
*************** Loaded Program Set **************
Mscorlib
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic Code : File: // C:/Windows/Microsoft. NET/framework/v2.0.50727/mscorlib. dll
----------------------------------------
Hcsinterface
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Basic code: file: // C:/program % 20 files/CRM Phase II system/interface/hcsinterface.exe
----------------------------------------
System
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system/2.0.0.0 _ b77a5c561934e089/system. dll
----------------------------------------
System. Windows. Forms
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system. Windows. Forms/2.0.0.0 _ b77a5c561934e089/system. Windows. Forms. dll
----------------------------------------
System. Drawing
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system. Drawing/2.0.0.0 _ b03f5f7f11d50a3a/system. Drawing. dll
----------------------------------------
Bitauto. Common
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Basic code: file: // C:/program % 20 files/CRM Phase II system/interface/bitauto. Common. dll
----------------------------------------
Bitauto. modeldown
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Basic code: file: // C:/program % 20 files/CRM Phase II system/interface/bitauto. modeldown. dll
----------------------------------------
System. Data
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_32/system. Data/2.0.0.0 _ b77a5c561934e089/system. Data. dll
----------------------------------------
System. xml
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: 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 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system. configuration/2.0.0.0 _ b03f5f7f11d50a3a/system. configuration. dll
----------------------------------------
System. Transactions
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_32/system. Transactions/2.0.0.0 _ b77a5c561934e089/system. Transactions. dll
----------------------------------------
System. enterpriseservices
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_32/system. enterpriseservices/2.0.0.0 _ b03f5f7f11d50a3a/system. enterpriseservices. dll
----------------------------------------
Bitauto. blldown
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Basic code: file: // C:/program % 20 files/CRM Phase II system/interface/bitauto. blldown. dll
----------------------------------------
Bitauto. daldown
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Basic code: file: // C:/program % 20 files/CRM Phase II system/interface/bitauto. daldown. dll
----------------------------------------
Bitauto. dbutility
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Basic code: file: // C:/program % 20 files/CRM Phase II system/interface/bitauto. dbutility. dll
----------------------------------------
System. Windows. Forms. Resources
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system. Windows. Forms. Resources/2.0.0.0 _ zh-CHS_b77a5c561934e089/system. Windows. Forms. Resources. dll
----------------------------------------
System. Web. Services
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system. Web. Services/2.0.0.0 _ b03f5f7f11d50a3a/system. Web. Services. dll
----------------------------------------
Cvuqyfxw
Assembly version: 1.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/ASSEMBLY/gac_msil/system/2.0.0.0 _ b77a5c561934e089/system. dll
----------------------------------------
Mscorlib. Resources
Assembly version: 2.0.0.0
Win32 (RTM.050727-4200) version: 2.0.50727.42)
Basic code: file: // C:/Windows/Microsoft. NET/framework/v2.0.50727/mscorlib. dll
----------------------------------------
* ************* JIT debugging **************
To enable real-time (JIT) debugging,
This application or the system. Windows. Forms section of the computer's. config file (machine. config) must be set
Jitdebugging value.
Must be enabled when compiling the application
Debugging.
For example:
<Configuration>
<System. Windows. Forms jitdebugging = "true"/>
</Configuration>
Any exceptions that cannot be handled after JIT debugging is enabled
Will be sent to the JIT debugger registered on this computer,
Instead of processing this dialog box.
<Configuration>
<System. Windows. Forms jitdebugging = "true"/>
</Configuration>
Set this value to false!