找回密码
 立即注册

QQ登录

只需一步,快速开始

kagami 活字格认证

金牌服务用户

26

主题

94

帖子

711

积分

金牌服务用户

积分
711

活字格高级认证活字格认证微信认证勋章

[已处理] 官方插件bug

kagami 活字格认证
金牌服务用户   /  发表于:2021-1-27 14:28  /   查看:5788  /  回复:11
本机使用--导入json数据到表格  插件会出现报错,在另外一台电脑上无bug正常运行。下面是报错信息:
## Overview
- Version: 6.0.103.0
- Exception: `System.Windows.Markup.XamlParseException`
- DateTime: 2021/1/27 14:24:31

## Exception
```json
{
  "ClassName": "System.Windows.Markup.XamlParseException",
  "Message": "设置属性“System.Windows.ResourceDictionary.Source”时引发了异常。",
  "Data": {
    "$type": "System.Collections.ListDictionaryInternal, mscorlib",
    "System.Object": null
  },
  "InnerException": {
    "$type": "System.IO.FileNotFoundException, mscorlib",
    "ClassName": "System.IO.FileNotFoundException",
    "Message": "Could not load file or assembly 'PostDataToWebApi, Culture=neutral' or one of its dependencies. 系统找不到指定的文件。",
    "Data": null,
    "InnerException": null,
    "HelpURL": null,
    "StackTraceString": "   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 System.Windows.Navigation.BaseUriHelper.GetLoadedAssembly(String assemblyName, String assemblyVersion, String assemblyKey)
   在 MS.Internal.AppModel.ResourceContainer.GetResourceManagerWrapper(Uri uri, String& partName, Boolean& isContentFile)
   在 MS.Internal.AppModel.ResourceContainer.GetPartCore(Uri uri)
   在 System.IO.Packaging.Package.GetPartHelper(Uri partUri)
   在 System.IO.Packaging.Package.GetPart(Uri partUri)
   在 System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
   在 System.IO.Packaging.PackWebResponse.get_ContentType()
   在 MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
   在 System.Windows.ResourceDictionary.set_Source(Uri value)
   在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)",
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": "8
_nLoad
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Reflection.RuntimeAssembly
System.Reflection.RuntimeAssembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)",
    "HResult": -2147024894,
    "Source": "mscorlib",
    "WatsonBuckets": null,
    "FileNotFound_FileName": "PostDataToWebApi, Culture=neutral",
    "FileNotFound_FusionLog": "WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog].
"
  },
  "HelpURL": null,
  "StackTraceString": "   在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   在 JsonDataSource.Control.ParseJsonDataWindow..ctor()
   在 JsonDataSource.Control.ImportJsonDataToListviewCommandEditor.SampleJsonHyperlink_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.Documents.Hyperlink.OnClick()
   在 System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender)
   在 System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(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.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.ContentElement.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
RewrapException
PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Windows.Markup.XamlReader
Void RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)",
  "HResult": -2146233087,
  "Source": "PresentationFramework",
  "WatsonBuckets": null,
  "Line": 0,
  "Position": 0
}


11 个回复

倒序浏览
Erik.Xue讲师达人认证 悬赏达人认证 活字格认证 Wyn认证
超级版主   /  发表于:2021-1-27 15:02:05
沙发
您好,您可以上传一下出现此问题的工程文件吗?

我们这边复现一下,查一下具体问题的原因是什么哈。
回复 使用道具 举报
kagami活字格认证
金牌服务用户   /  发表于:2021-1-27 15:22:29
板凳
Erik.Xue 发表于 2021-1-27 15:02
您好,您可以上传一下出现此问题的工程文件吗?

我们这边复现一下,查一下具体问题的原因是什么哈。

在我电脑上就会有问题,工程文件到其他电脑上就可以正常使用,我想知道是不是我电脑上少了什么东西导致它不能运行
回复 使用道具 举报
Simon.hu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2021-1-27 16:03:13
地板
你试试,我看报错似乎是插件有问题,你试试把你电脑的插件卸载一下,重新安装最新的插件试试~
回复 使用道具 举报
Lucas.Su讲师达人认证 悬赏达人认证 活字格认证
葡萄城公司职员   /  发表于:2021-2-25 08:36:21
6#
感谢支持
回复 使用道具 举报
kagami活字格认证
金牌服务用户   /  发表于:2021-2-25 11:12:04
7#

我卸载重装了还是报错,是不是我的环境有问题
回复 使用道具 举报
Erik.Xue讲师达人认证 悬赏达人认证 活字格认证 Wyn认证
超级版主   /  发表于:2021-2-25 11:37:33
8#
感觉很可能是电脑环境的问题,是只有您这一台电脑是有问题吗?其他的电脑测试都是好的是吧?

如果是的话,可以看下系统日志有没有关于kernelbase的报错,如果有的话可能就要重装系统了。
回复 使用道具 举报
kagami活字格认证
金牌服务用户   /  发表于:2021-2-26 13:53:24
9#
Erik.Xue 发表于 2021-2-25 11:37
感觉很可能是电脑环境的问题,是只有您这一台电脑是有问题吗?其他的电脑测试都是好的是吧?

如果是的话 ...

我人晕了,今天重装了系统还是这个问题
回复 使用道具 举报
kagami活字格认证
金牌服务用户   /  发表于:2021-2-26 13:56:29
10#
Erik.Xue 发表于 2021-2-25 11:37
感觉很可能是电脑环境的问题,是只有您这一台电脑是有问题吗?其他的电脑测试都是好的是吧?

如果是的话 ...

是不是我的工程出了问题
回复 使用道具 举报
Eric.Liang讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2021-2-26 16:45:50
11#
kagami 发表于 2021-2-26 13:56
是不是我的工程出了问题

所以你可以把有问题的工程文件发给我们看下,我们测试下看看是否正常,也好去排查原因
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部