Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 080E6200CCF for ; Mon, 24 Jul 2017 18:23:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 061521654EE; Mon, 24 Jul 2017 16:23:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4C65C1654E8 for ; Mon, 24 Jul 2017 18:23:03 +0200 (CEST) Received: (qmail 19604 invoked by uid 500); 24 Jul 2017 16:23:02 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 19594 invoked by uid 99); 24 Jul 2017 16:23:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2017 16:23:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D5FE1C004A for ; Mon, 24 Jul 2017 16:23:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.125 X-Spam-Level: *** X-Spam-Status: No, score=3.125 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.022, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xpihE91GflN6 for ; Mon, 24 Jul 2017 16:23:00 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B97875FCC6 for ; Mon, 24 Jul 2017 16:22:59 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mwork.nabble.com (Postfix) with ESMTP id 0F4A755C3D49D for ; Mon, 24 Jul 2017 09:22:58 -0700 (MST) Date: Mon, 24 Jul 2017 09:22:58 -0700 (MST) From: franck102 To: user@ignite.apache.org Message-ID: <1500913378054-15489.post@n6.nabble.com> In-Reply-To: <1500909174573-15458.post@n6.nabble.com> References: <1500887440533-15440.post@n6.nabble.com> <1500906978645-15456.post@n6.nabble.com> <1500909174573-15458.post@n6.nabble.com> Subject: Re: Failure to deserialize simple model object MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 24 Jul 2017 16:23:04 -0000 Some more findings after a debugging session: - the client sends a MissingMappingRequest with the correct typeId; the server doesn't have the typeId in its context - I don't understand what/who is supposed to register the typeid with the MissingMappingRequestListener's marshallerContext; one possible code path is that a BinaryObjectBuilder would do it when an object instance is constructed... - however if I debug the response to the cache.get() client request, my CacheJdbcPojoStore finds the entry then calls this constructor: org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl#BinaryObjectBuilderImpl(org.apache.ignite.internal.binary.BinaryContext, int, java.lang.String) ... which doesn't register the typeId (the next constructor does by calling ctx.descriptorForClass(...)). I am probably doing something wrong, but I am out of ideas... Thanks! Franck -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failure-to-deserialize-simple-model-object-tp15440p15489.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.