找回密码
 立即注册

QQ登录

只需一步,快速开始

高阳酒徒

中级会员

29

主题

174

帖子

611

积分

中级会员

积分
611
高阳酒徒
中级会员   /  发表于:2023-1-10 17:40  /   查看:1297  /  回复:6
之前是好的  今天突然绑定外联数据库了

测试能通过  数据库通过数据库管理工具也能正常连接

产品卸载重装问题依然存在



这一步是好的



## Overview
- Version: 8.0.104.0
- Exception: `System.ArgumentNullException`
- DateTime: 2023-01-10 17:27:28
- Email: 2211960282@qq.com
- Tags: #CN

## Exception
```json
{
  "ClassName": "System.ArgumentNullException",
  "Message": "值不能为 null。",
  "Data": {
    "$type": "System.Collections.ListDictionaryInternal, mscorlib",
    "System.Object": null
  },
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   在 System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   在 System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   在 System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   在 Forguncy.Model.ProcessConnectionInfo.ChangeConnection(Dictionary`2 oldToNewConnections)
   在 Forguncy.Common.Utilities.a(ManageDBConnectionsEditor A_0)
   在 Forguncy.Common.Utilities.ShowManageDBConnectionDialog()
   在 Forguncy.Views.RibbonView.ManageDBConnectionButton_Click(Object sender, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8
ThrowArgumentNullException
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.ThrowHelper
Void ThrowArgumentNullException(System.ExceptionArgument)",
  "HResult": -2147467261,
  "Source": "mscorlib",
  "WatsonBuckets": null,
  "ParamName": "key"
}
```

## EventLog
- 17:27:28 `MouseL`:Window:管理数据库连接->Button:确定->确定
- 17:27:07 `MouseL`:Window:管理数据库连接->新建
- 17:27:06 `MouseL`:Window:零售3.fgcc - 活字格->RibbonView->RibbonGroupBox:外部数据源->Inline:管理数据库连接
- 17:27:05 `MouseL`:Window:零售3.fgcc - 活字格->RibbonView->RibbonTabItem

## ActionList



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

6 个回复

倒序浏览
Simon.Sun活字格认证 Wyn认证
超级版主   /  发表于:2023-1-11 09:16:57
沙发
您好,这个现象是个 bug(9 版本已修复)。
这个问题和工程文件有关。您那边看能不能新建一个空的工程文件,然后将有问题的文件里面的模块导入,再新的工程文件上去配置外联库链接。

如果上面操作不能解决问题,还烦请以上传下工程文件(您可以将工程文件设置为超级版主可见),这边反馈看能不能处理一下。
回复 使用道具 举报
高阳酒徒
中级会员   /  发表于:2023-1-11 14:11:32
板凳
好的   我试一下
回复 使用道具 举报
高阳酒徒
中级会员   /  发表于:2023-1-11 16:37:44
地板
Simon.Sun 发表于 2023-1-11 09:16
您好,这个现象是个 bug(9 版本已修复)。
这个问题和工程文件有关。您那边看能不能新建一个空的工程文件 ...

感谢  已解决!
回复 使用道具 举报
Erik.Xue讲师达人认证 悬赏达人认证 活字格认证 Wyn认证
超级版主   /  发表于:2023-1-11 16:50:14
5#
回复 使用道具 举报
sz_xd
金牌服务用户   /  发表于:2023-1-17 00:18:18
6#
Simon.Sun 发表于 2023-1-11 09:16
您好,这个现象是个 bug(9 版本已修复)。
这个问题和工程文件有关。您那边看能不能新建一个空的工程文件 ...

最好能将这个问题 Bug,放在新版的活字格 8.0.105 中一起处理好,不要等 活字格9.0,谢谢!

回复 使用道具 举报
Simon.Sun活字格认证 Wyn认证
超级版主   /  发表于:2023-1-17 08:57:57
7#
您好,因为这个问题涉及到相对底层的功能,所以放到了 9 版本哈。感谢您的反馈。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部