无法构造DTO的实例(尽管至少存在一个创建者): Cannot deserialize from Object value (no delegate- or property-based Creator)
at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 2, column: 2]. 我正在尝试在corda控制器中发布一个JSON对象。它在corda 3.3上运行良好,但在升级到4.1后,它给出了错误 @JsonInclud
我得到的错误如下:
步骤1: serviceHub.jdbcSession().prepareStatement("Query")
步骤2:我已经执行了step1。
第三步:我得到了我需要的数据。
而且我也得到了下面的例外。
com.esotericsoftware.kryo.KryoException: java.lang.UnsupportedOperationException: com.zaxxer.hikari.pool.HikariProxyPreparedStatement, which is a closeable resource, has been dete
我设置了corda网络,如下所示:
2个银行节点
1个CentralBank节点(观察者)
1个公证人
我已经从CentralBank向每个银行节点发放了现金。用于发行现金使用的"CashIssueAndPaymentFlow“。我也可以多次向同一个节点发送现金。
然后尝试从一个Bank节点到另一个以CentralBank为观察者的bank节点执行事务。
交易完成后,当我尝试向任何银行节点发放现金时,出现以下错误:
java.util.NoSuchElementException: Collection contains no element matching the predicat
我有使用(测试)密钥管理服务执行流逻辑以生成新的参与方和证书的流测试。在设置时,我创建了一个模拟网络实例和多个StartedMockNode实例。我们的项目是用Kotlin 1.1.60编写的,使用corda-3.3开源(OS),运行在JDK 1.8_u192上。在IntelliJ Idea 2019.3中运行测试时,我从quasar库中得到以下异常。 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2217) ~[guava-21.0.jar:?]
at com.google.common.
我试图只将特定的状态持久化到观察者节点的保险库状态。
在我的usecase观察者是现金发行者,其中观察员发放现金和转移到其他节点在corda网络。当corda节点执行事务时,作为观察者,节点的所有现金状态也会在观察者节点上持久化。
当试图从观察者那里重新发行现金时,会出现以下错误:
java.util.NoSuchElementException: Collection contains no element matching the predicate.
at net.corda.node.services.keys.PersistentKeyManagementServic
当被运行在A方上的流调用时,是否可以使用以下方法创建从B方到A方的支出?
这将替换从运行流的当前节点到参与方B的身份。但是,它将为cashKeys返回一个异常:
java.util.NoSuchElementException: Collection contains no element matching the predicate.
方法:
val (_, cashKeys) = Cash.generateSpend(serviceHub, builder, amount, partyBCert, forwardState.initiator)
PartyAndCertificate ge
我正在构建一个Spring服务器,使用CordaRPCClient作为Corde的中间件。从节点查询当前时间运行良好。然而,在打电话时
Set matchingParties = CordaClient.getInstance().proxy.partiesFromName("PartyB",false);
我得到了以下堆栈跟踪:
com.esotericsoftware.kryo.KryoException: java.lang.ClassCastException: org.bouncycastle.asn1.DLSequence cannot be cast to
将Corda节点从CE3.2升级到CE4.0,并遵循以下文档步骤: 运行ubuntu@ip-xyz:~$ java -jar tools-database-manager-4.0.jar dry-run -b /opt/corda/ 给出错误: Exporting the current database migrations ...
Failed to create datasource.
Please check that the correct JDBC driver is installed in one of the following folders:
- /opt/c
我编写了以下流程,以方便双方- issuer和subscriber之间的事务。在Gathering the counterparty's signature.阶段,我得到了这个错误:
java.lang.IllegalArgumentException: The Initiator of CollectSignaturesFlow must have signed the transaction.
堆栈跟踪:
java.lang.IllegalArgumentException: The Initiator of CollectSignaturesFlow must have sign
我用Corda4构建SignatureConstraint,用Testnet进行部署。然后当我进行交易时,我得到了这个异常
net.corda.core.node.ZoneVersionTooLowException: Signature constraints requires all nodes on the Corda compatibility zone to be running at least platform version 4. The current zone is only enforcing a minimum platform version of 1. Please
我的Spring和Corda节点共享相同的Posgres数据库。当我首先启动Corda节点,然后启动Spring时,一切都很顺利。但是如果我像“docker-compose up”一样一起开始,我会看到下面的异常。似乎Corda不喜欢Spring先创建hibernate_sequence。 我在Corda4.0中看到了这个问题,但在Corda3.3中一切都运行得很好。 有没有办法避免这种非预期的行为? > ! ATTENTION: This node is running in development mode! This is not safe for production dep
我想评估Corda Enterprise v4.0的Corda独立Shell。我已经从下面的URL下载了corda-shell-4.0.jar
和参考下面的文档
我正在分析独立的外壳程序,当我运行java -jar corda-shell-4.0.jar命令时,我得到了以下错误:
no main manifest attribute, in corda-shell/corda-shell-4.0.jar
当我检查MANIFEST.MF文件时,在清单文件中没有指定主类。有没有人可以指导我如何使用独立的shell?
这是关于corda的github问题的的副本。
我正在尝试包含对其中一个的外部依赖项。
此依赖项调用ClassLoader.defineClass,它随java.lang.ClassFormatError: Illegal UTF8 string in constant pool in class file org/apache/xerces/impl/xpath/regex/ParserForXMLSchema一起退出。该异常与提到的异常相同,该异常表明它是由冲突的依赖项引起的,并且是在使用类星体时。
在运行项目的依赖报告后,我不仅可以看到外部库和Corda之间的一些冲突,而且还可以看到Co
我正在使用Corda4.0 RC1,并且有一个现金发行商存储库的克隆;在那里我有一个应该进行业务测试的Corda-ResponderFlow;目前它抛出了一个异常;流程是这样编程的 class ReceiveBankAccount(val otherSession: FlowSession) : FlowLogic<Unit>() {
@Suspendable
override fun call() {
logger.info("Starting ReceiveBankAccount flow...")
val s
当我使用docker旋转我的码头容器时,我会得到以下错误:
partyb | Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
partyb | at java.util.Arrays.copyOf(Arrays.java:3236)
partyb | at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191)
partyb | at kotli
尝试将Corda v3.3连接到SQL server 2017时遇到此错误。
Could not find method dataSourceProperties() for arguments [build_b58g7zpxmgi2o4qynsvg23rrl$_run_closure7$_closure18$_closure22@6e5d745d] on object of type
net.corda.plugins.Node.
deployNodes代码片段是
dataSourceProperties {
dataSourceClassName ("com.mi