This post was updated on .
After restart of Log4View the Logger, Filter, Search, and Message Panels could no longer be shown, had to reinstall Log4View to see them again!
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at DevExpress.XtraBars.Docking.ReadOnlyPanelCollection.get_Item(Int32 index) at DevExpress.XtraBars.Docking.DockManager.CheckActivePanel() at DevExpress.XtraBars.Docking.DockManager.DeserializeLayoutManager() at DevExpress.XtraBars.Docking.DockManager.SafeOnLoaded() at DevExpress.XtraBars.Docking.DockManager.OnLoaded() at DevExpress.XtraBars.Docking.DockManager.DevExpress.Utils.Serializing.IXtraSerializable.OnEndDeserializing(String restoredVersion) at DevExpress.Utils.Serializing.Helpers.DeserializeHelper.RaiseEndDeserializing(Object obj, String restoredLayoutVersion) at DevExpress.Utils.Serializing.Helpers.DeserializeHelper.DeserializeObject(Object obj, IXtraPropertyCollection store, XtraSerializationFlags parentFlags, OptionsLayoutBase options) at DevExpress.Utils.Serializing.XtraSerializer.DeserializeObject(Object obj, IXtraPropertyCollection store, OptionsLayoutBase options) at DevExpress.Utils.Serializing.XtraSerializer.DeserializeObject(Object obj, String path, String appName, OptionsLayoutBase options) at DevExpress.XtraBars.Docking.DockManager.RestoreLayoutCore(XtraSerializer serializer, Object path) at DevExpress.XtraBars.Docking.DockManager.RestoreLayoutFromRegistry(String path) at Prosa.Log4View.Log4ViewCtrl.RestoreLayout() at Prosa.Log4View.ProgramForm.ProgramFormLoad(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg) 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) |
Administrator
|
Dear Jens,
we are sorry to hear that. If this problem occurs again, could you please try deleting the key "Layout" at HKEY_CURRENT_USER\Software\PROSA\Log4View\<Log4View Version> in your registry? Also would you mind sending us the values there causing your problem before deleting them? Thank you for your feedback Philipp Lauchner PROSA GmbH Development & Support |
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\PROSA\Log4View] "installed"=dword:00000001 @="Desktop" [HKEY_CURRENT_USER\Software\PROSA\Log4View\12.0.7] [HKEY_CURRENT_USER\Software\PROSA\Log4View\12.0.7\Layout] [HKEY_CURRENT_USER\Software\PROSA\Log4View\12.0.7\Layout\Log4ViewCtrl] "X"=dword:fffffff8 "Y"=dword:fffffff8 "Width"=dword:00000790 "Height"=dword:00000498 "WindowState"=dword:00000002 [HKEY_CURRENT_USER\Software\PROSA\Log4View\12.3.7] [HKEY_CURRENT_USER\Software\PROSA\Log4View\12.3.7\Layout] [HKEY_CURRENT_USER\Software\PROSA\Log4View\12.3.7\Layout\Log4ViewCtrl] "X"=dword:000001c3 "Y"=dword:0000008b "Width"=dword:00000580 "Height"=dword:000002bd "WindowState"=dword:00000000 [HKEY_CURRENT_USER\Software\PROSA\Log4View\Layout] [HKEY_CURRENT_USER\Software\PROSA\Log4View\Layout\DockManagerData] "#LayoutVersion"="9" "AllowGlyphSkinning"="False" "AutoHiddenPanelCaptionShowMode"="ShowForAllPanels" "ActivePanelID"=dword:ffffffff [HKEY_CURRENT_USER\Software\PROSA\Log4View\Layout\DockManagerData\AutoHideContainers] @=dword:00000000 [HKEY_CURRENT_USER\Software\PROSA\Log4View\Layout\DockManagerData\DockingOptions] "AutoHidePanelVerticalTextOrientation"="Default" "CursorFloatCanceled"="~Xtra#NULL" "HideImmediatelyOnAutoHide"="False" "CloseActiveTabOnly"="True" "CloseActiveFloatTabOnly"="False" "ShowCaptionOnMouseHover"="False" "ShowCaptionImage"="False" "DockPanelInTabContainerTabRegion"="DockImmediately" "DockPanelInCaptionRegion"="Default" "ShowMaximizeButton"="True" "ShowAutoHideButton"="True" "ShowCloseButton"="True" "FloatOnDblClick"="True" [HKEY_CURRENT_USER\Software\PROSA\Log4View\Layout\DockManagerData\Panels] @=dword:00000000 [HKEY_CURRENT_USER\Software\PROSA\Log4View\Layout\DockManagerData\TopZIndexControls] @=dword:00000005 "Item1"="DevExpress.XtraBars.BarDockControl" "Item2"="DevExpress.XtraBars.StandaloneBarDockControl" "Item3"="System.Windows.Forms.StatusBar" "Item4"="DevExpress.XtraBars.Ribbon.RibbonStatusBar" "Item5"="DevExpress.XtraBars.Ribbon.RibbonControl" |
Administrator
|
Dear Jens,
there seems to be a problem with saving the layout to the registry, which causes these problems at startup of Log4View, when these values are read again. As the management (and thus saving/loading) of the layout is done by an external libary, we are unable to fix this problem on our own. In the meantime, we added a workaround in our latest beta version (12.4.1) which should reset the layout to default when this error is detected at startup. Philipp Lauchner PROSA GmbH Development & Support |
Free forum by Nabble | Edit this page |