在实际运行中,好好运行的程序出现了以下问题:

2019-12-27 10:40:00,164 [DefaultQuartzScheduler_Worker-2] ERROR IBeam.BCPool.Objects.CloudPowerIncome [(null)] - AutoSynchronizeIncomeFromPoolAPI CloudPowerPriceID=8155-c0a6ff2c7179,SequenceNo=CP_20191216_0001,Name=标准算力R1(立即生效),MaxPower=27.0000000000,MinerPoolName=BTC.Com,ViewLink=19w9ikPdGopjh3xQY9KpRTmUFTLTCAr25u,Error=System.InvalidOperationException: One or more properties are not registered for this type ---> System.IndexOutOfRangeException: 索引超出了数组界限。
在 Csla.Core.FieldManager.FieldDataManager.GetFieldData(IPropertyInfo propertyInfo)
--- 内部异常堆栈跟踪的结尾 ---
在 Csla.Core.FieldManager.FieldDataManager.GetFieldData(IPropertyInfo propertyInfo)
在 Csla.Core.BusinessBase.ReadProperty[P](PropertyInfo`1 propertyInfo)
在 Csla.Core.BusinessBase.GetProperty[P](PropertyInfo`1 propertyInfo, NoAccessBehavior noAccess)
在 Csla.Core.BusinessBase.GetProperty[P](PropertyInfo`1 propertyInfo)
在 IBeam.BCPool.Objects.CloudPowerPrice.get_WalletAddress()
在 IBeam.BCPool.Objects.CloudPowerPrice.GetQueryArgs()
在 IBeam.BCPool.Objects.CloudPowerIncome.AutoSynchronizeIncomeFromPoolAPI(CloudPowerPrice price, DateTime date)

仔细检查类的定义代码,发现没有问题啊?但实际运行却不行,之前也出现过 CloudPowerPrice.Name 上出现过这个问题,最终确认是这样的,

在同一台物理服务器上部署了 两个以上不同的应用,但类库的版本不一致,新运行的进程获取类定义 元数据时,总是取了之前加载的类定义,更新类定义后,问题解决。

Csla One or more properties are not registered for this type的更多相关文章

  1. This is probably because there is no OLE editor registered against the type of file you were trying to open.

    Reason: This is probably because there is no OLE editor registered against the type of file you were ...

  2. SpringBoot标准Properties

    # =================================================================== # COMMON SPRING BOOT PROPERTIE ...

  3. spring boot application.properties 属性详解

    2019年3月21日17:09:59 英文原版: https://docs.spring.io/spring-boot/docs/current/reference/html/common-appli ...

  4. 附录A application.properties配置项

    摘自官网,仅作为参考用 Part X. Appendices # =================================================================== ...

  5. springboot application.properties 常用完整版配置信息

    从springboot官方文档中扒出来的,留存一下以后应该会用到 # ================================================================= ...

  6. spring boot application.properties详解

    附上最新文档地址:https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-propertie ...

  7. Spring boot 全局配置文件application.properties

    #更改Tomcat端口号 server.port=8090 #修改进入DispatcherServlet的规则为:*.htmlserver.servlet-path=*.html#这里要注意高版本的s ...

  8. spring-boot2.x Application properties属性配置

    # =================================================================== # COMMON SPRING BOOT PROPERTIE ...

  9. Appendix A. Common application properties

    Appendix A. Common application properties Prev  Part X. Appendices  Next URl链接:https://docs.spring.i ...

随机推荐

  1. 杭电-------2051Bitset(C语言)

    #include<stdio.h> ] = { }; int main() { int m; ; while (~scanf("%d", &m)) { whil ...

  2. 单元测试-xUnit总结

    xUnit总结 什么是xUnit xUnit.net是针对.NET Framework的免费,开源,以社区为中心的单元测试工具. 自动化测试的优点 可以频繁的进行测试 可以在任何时间进行测试,也可以按 ...

  3. codewars--js--RGB To Hex Conversion

    问题描述: The rgb() method is incomplete. Complete the method so that passing in RGB decimal values will ...

  4. C++ char to string 方法

    1. 使用string()构造函数方法 //method 1: the constructor of string() char c = 'F'; , c); cout << s ; 2. ...

  5. Android中点击按钮启动另一个Activity以及Activity之间传值

    场景 点击第一个Activity中的按钮,启动第二个Activity,关闭第二个Activity,返回到第一个Activity. 在第一个Activity中给第二个Activity传递值,第二个Act ...

  6. Winfom 使用 BackgroundWorker 实现进度条

    BackgroundWorker 简介(来自百度) BackgroundWorker是·net里用来执行多线程任务的控件,它允许编程者在一个单独的线程上执行一些操作.耗时的操作(如下载和数据库事务)在 ...

  7. mysql必知必会--排序检索数据

    排序数据 其实,检索出的数据并不是以纯粹的随机顺序显示的.如果不排 序,数据一般将以它在底层表中出现的顺序显示.这可以是数据最初 添加到表中的顺序.但是,如果数据后来进行过更新或删除,则此顺 序将会受 ...

  8. 回炉重造之重读Windows核心编程-001-错误处理

    Windows处理错误靠的是API的返回值,类型不止一种种: VOID,函数不可能失败,Windows API的返回值很少是这个情况. BOOL,如果函数失败,则返回值是0,否则返回是非零值.不要测试 ...

  9. jQuery XSS漏洞

    漏洞成因: jQuery中过滤用户输入数据所使用的正则表达式存在缺陷,可能导致location.hash跨站脚本攻击. 演示程序: <!DOCTYPE html> <html lan ...

  10. PHP0015:PHP分页案例