Corda QueryableState javax.persistence.PersistenceException:org.hibernate.type.SerializationException:无法反序列化

时间:2018-10-24 08:47:08

标签: corda

我已经用SchemaPersistentState创建了一个[ERROR] 08:25:54+0000 [flow-worker] proxies.ExceptionSerialisingRpcOpsProxy.log - Error during RPC invocation {actor_id=user1, actor_owningIdentity=OU=SYSTEM, O=GHSS, L=London, C=GB, actor_store_id=NODE_CONFIG, fiber-id=10000002, flow-id=5d0af041-57e8-46c9-a34c-44768a0f52be, invocation_id=4cd85162-ebce-405e-aa2c-ed40fbde1c23, invocation_timestamp=2018-10-24T08:25:54.004Z, session_id=79a1cd8a-03b3-42ac-84a4-df6818d65fcb, session_timestamp=2018-10-24T08:25:35.329Z, thread-id=240, tx_id=46D4BA2D45F89087C1C845E3222B8AC8D499B6A192681E290BF09125DC8D4B64} javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147) ~[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155) ~[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:162) ~[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:780) ~[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758) ~[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at net.corda.node.services.schema.PersistentStateService.persistStatesWithSchema$node(PersistentStateService.kt:58) ~[corda-node-3.2.jar:?] at net.corda.node.services.schema.PersistentStateService.persist(PersistentStateService.kt:50) ~[corda-node-3.2.jar:?] at net.corda.node.services.vault.NodeVaultService.processAndNotify(NodeVaultService.kt:269) ~[corda-node-3.2.jar:?] at net.corda.node.services.vault.NodeVaultService.access$processAndNotify(NodeVaultService.kt:92) ~[corda-node-3.2.jar:?] at net.corda.node.services.vault.NodeVaultService$notifyAll$1.invoke(NodeVaultService.kt:164) ~[corda-node-3.2.jar:?] at net.corda.node.services.vault.NodeVaultService.notifyAll(NodeVaultService.kt:174) ~[corda-node-3.2.jar:?] at net.corda.node.services.api.ServiceHubInternal$Companion$recordTransactions$1.invoke(ServiceHubInternal.kt:116) ~[corda-node-3.2.jar:?] at net.corda.node.services.api.ServiceHubInternal$Companion$recordTransactions$1.invoke(ServiceHubInternal.kt:60) ~[corda-node-3.2.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:156) ~[corda-node-api-3.2.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:136) ~[corda-node-api-3.2.jar:?] at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:142) ~[corda-node-api-3.2.jar:?] at net.corda.node.services.api.ServiceHubInternal$Companion.recordTransactions(ServiceHubInternal.kt:69) ~[corda-node-3.2.jar:?] at net.corda.node.services.api.ServiceHubInternal$DefaultImpls.recordTransactions(ServiceHubInternal.kt:142) ~[corda-node-3.2.jar:?] at net.corda.node.internal.AbstractNode$ServiceHubInternalImpl.recordTransactions(AbstractNode.kt:977) ~[corda-node-3.2.jar:?] at net.corda.core.node.ServiceHub$DefaultImpls.recordTransactions(ServiceHub.kt:212) ~[corda-core-3.2.jar:?] at net.corda.node.services.api.ServiceHubInternal$DefaultImpls.recordTransactions(ServiceHubInternal.kt) ~[corda-node-3.2.jar:?] at net.corda.node.internal.AbstractNode$ServiceHubInternalImpl.recordTransactions(AbstractNode.kt:977) ~[corda-node-3.2.jar:?] at net.corda.core.node.ServiceHub$DefaultImpls.recordTransactions(ServiceHub.kt:204) ~[corda-core-3.2.jar:?] at net.corda.node.services.api.ServiceHubInternal$DefaultImpls.recordTransactions(ServiceHubInternal.kt) ~[corda-node-3.2.jar:?] at net.corda.node.internal.AbstractNode$ServiceHubInternalImpl.recordTransactions(AbstractNode.kt:977) ~[corda-node-3.2.jar:?] at net.corda.core.flows.FinalityFlow.notariseAndRecord(FinalityFlow.kt:98) ~[corda-core-3.2.jar:?] at net.corda.core.flows.FinalityFlow.call(FinalityFlow.kt:70) ~[corda-core-3.2.jar:?] at net.corda.core.flows.FinalityFlow.call(FinalityFlow.kt:39) ~[corda-core-3.2.jar:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.subFlow(FlowStateMachineImpl.kt:281) [corda-node-3.2.jar:?] at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:312) ~[corda-core-3.2.jar:?] at com.hsbc.gcs.flows.PhysicalSecurityCreationInitiator$PSCInitiator.call(PhysicalSecurityCreationInitiator.kt:68) ~[cordapp-gcs-0.1.jar:0.1] at com.hsbc.gcs.flows.PhysicalSecurityCreationInitiator$PSCInitiator.call(PhysicalSecurityCreationInitiator.kt:24) ~[cordapp-gcs-0.1.jar:0.1] at 状态,并创建了一个流程来创建该State但在进行交易时遇到错误:

Corda Enterprise 3.2

我正在使用Corda open source

我已经在{{1}}上测试了我的代码。

0 个答案:

没有答案