惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
博客园 - Franky
MyScale Blog
MyScale Blog
L
LangChain Blog
Martin Fowler
Martin Fowler
Recent Announcements
Recent Announcements
Stack Overflow Blog
Stack Overflow Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
量子位
A
About on SuperTechFans
C
Check Point Blog
大猫的无限游戏
大猫的无限游戏
Last Week in AI
Last Week in AI
小众软件
小众软件
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
V
Visual Studio Blog
Vercel News
Vercel News
B
Blog
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
U
Unit 42

博客园 - 杨义金

unomp 矿池运行问题随记 矿池负载运行监测记录 MySql 数据库移植记录 后台服务运行后无故停止运行,原因不明 缓存过期时间的设置 Bitcoin 使用及配置记录 关于 CSLA 服务器部署WCF访问出错的问题 AR 不同 继承映射的问题总结 当事人角色 变更映射策略引起的问题 Castle ActiveRecord 二级缓存使用 异常记录 VS2013 抛出 stackoverflow exception 的追踪 CastleActiveRecord在多线程 事务提交时数据库资源竞争导致更新失败的测试结果记录 WF4.0 工作流设计器 传入参数问题记录? Solving GitHub FetchHead (MergeConflict) in Visual Studio 2013 昆明光标科技有限公司简介 Castle.ActiveRecord 多对多关系 引发的错误处理 String PK StringBuilder,传说就是传说,只有动手实验,才能得出确定的答案 .net mvc Bundle 问题解决方案 .net 4.0 自定义本地缓存策略的不同实现
Csla One or more properties are not registered for this type
杨义金 · 2019-12-27 · via 博客园 - 杨义金

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

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 上出现过这个问题,最终确认是这样的,

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