Hi Experts,
I implemented note 904571 to prefilldata, with which all standard layouts loaded to mobile system maintenance. But problem here is if I try to open any one of the layout its giving following error
"An unhandled exception has occured in your application. If you click continue, the application will ignore this error and attempt to ccontinue. If you click Quit, the application will be shut down immediately.
Object variable or with variable not set."
If I click on details of error, its giving following details
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 variable or With block variable not set.
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at MSY.Tlayoutdet1.ctrlctrlbtnOpen_onClicked() in C:\Ars_Translation50\Batch\app\MSY\src\Tlayoutdet1.vb:line 281
at SAP.MT.FW.UI.ExposedFWElements.CoreCtrlButton.BtnClicked()
at SAP.MT.FW.UI.ExposedFWElements.CoreCtrlButton.IPeerCtrlListener_btnClicked()
at SAP.MT.FW.UI.PeerLayer.PeerCtrlButton.button_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at SAP.MT.FW.UI.NativeControl.NBaseControl.OnClick(EventArgs e)
at SAP.MT.FW.UI.NativeControl.NButton.OnClick(EventArgs e)
at SAP.MT.FW.UI.NativeControl.NButton.mButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
-
MobileClient
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MobileClient.exe
-
UFCore
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFCore.DLL
-
UFCoreExt
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFCoreExt.DLL
-
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2365
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
-
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
-
UFInternal
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFInternal.DLL
-
UFCommon
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFCommon.DLL
-
UFStorage
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFStorage.DLL
-
Interop.Scripting
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/Interop.Scripting.DLL
-
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6310.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
-
UFControlLibrary
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFControlLibrary.DLL
-
Interop.UFGeneratorInterfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/Interop.UFGeneratorInterfaces.DLL
-
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2327
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
-
MTIServices
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MTIServices.DLL
-
UFDialogs
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFDialogs.DLL
-
UFIPlugins
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/UFIPlugins.DLL
-
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2371
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
-
Interop.ERRCOMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/Interop.ERRCOMPLib.DLL
-
MTBLLFWInterfaces
Assembly Version: 1.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MTBLLFWInterfaces.DLL
-
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
-
MSY
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/APP.Net/MSY/bin/MSY.dll
-
MTBLLFW
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MTBLLFW.DLL
-
MTFWServices
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MTFWServices.DLL
-
MTServices
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MTServices.DLL
-
OnlineOffline
Assembly Version: 1.0.2477.11060
Win32 Version: 1.0.2477.11060
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/OnlineOffline.DLL
-
vqq-mx7r
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
-
RegexAssembly40_0
Assembly Version: 0.0.0.0
Win32 Version: n/a
CodeBase:
-
MTBLLFWMetaInternal
Assembly Version: 5.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/MTBLLFWMetaInternal.DLL
-
TLSender
Assembly Version: 1.5.1.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/TLSender.DLL
-
Interop.CRYPTINGLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/Interop.CRYPTINGLib.DLL
-
Authentication
Assembly Version: 5.5.0.0
Win32 Version: 5.5.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/Authentication.DLL
-
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2365
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
-
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2326
CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
-
sfabol
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/APP.Net/MSY/bol/apps/sfabol/vba/WBIT/sfabol/bin/sfabol.dll
-
SSActiveTreeView.SSTree
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/APP.Net/MSY/Bin/SSActiveTreeView.SSTree.dll
-
SSActiveTreeView
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/APP.Net/MSY/Bin/SSActiveTreeView.DLL
-
AxSSActiveTreeView.AxSSTree_EventsRouter
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/APP.Net/MSY/Bin/AxSSActiveTreeView.AxSSTree_EventsRouter.dll
-
Interop.UFBBInterfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/Interop.UFBBInterfaces.DLL
-
StdType
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/APP.Net/MSY/Bin/StdType.DLL
-
Microsoft.VisualBasic.Compatibility
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3077
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic.compatibility/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.compatibility.dll
-
stdole
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase: file:///c:/windows/assembly/gac/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll
-
RFMobileReporting
Assembly Version: 1.0.0.0
Win32 Version: 5.11.0.40
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/RFMobileReporting.DLL
-
AxInterop.SAPCalendar50
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/SAP/Mobile/Bin.NET/AxInterop.SAPCalendar50.DLL
-
JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.
Its urgent, Please help me out to rectify this error.
Thanks & Regards,
Venkata Ramana