Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 012F918782 for ; Thu, 24 Mar 2016 10:33:13 +0000 (UTC) Received: (qmail 51619 invoked by uid 500); 24 Mar 2016 10:33:12 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 51569 invoked by uid 500); 24 Mar 2016 10:33:12 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 51558 invoked by uid 99); 24 Mar 2016 10:33:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2016 10:33:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0C1E218046D for ; Thu, 24 Mar 2016 10:33:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.486 X-Spam-Level: ***** X-Spam-Status: No, score=5.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HTML_MESSAGE=2, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id uEbURBW_eykB for ; Thu, 24 Mar 2016 10:33:10 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id D62415F47C for ; Thu, 24 Mar 2016 10:33:09 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 4F2B91E894F87 for ; Thu, 24 Mar 2016 03:21:16 -0700 (PDT) Date: Thu, 24 Mar 2016 03:03:32 -0700 (PDT) From: endianignite To: dev@ignite.apache.org Message-ID: <1458813812360-8049.post@n4.nabble.com> Subject: Serialization exception when migrating from 1.3 to 1.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_84810_2015732595.1458813812361" ------=_Part_84810_2015732595.1458813812361 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am attempting to migrate from 1.3.0-incubating to 1.5.0.final. However, when I start my cache I get the following exception Exception in thread "main" java.lang.IllegalArgumentException: This method should be accessed under org.apache.ignite.thread.IgniteThread at org.apache.ignite.internal.IgnitionEx.localIgnite(IgnitionEx.java:1252) at org.apache.ignite.internal.IgniteKernal.readResolve(IgniteKernal.java:3234) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1104) I can see that this is related to a change by Semen Boikov on Dec 9 2015 (change id 0adee3a). I have tried to understand what this change means, and how I might need to change my code, but without success. -- View this message in context: http://apache-ignite-developers.2346864.n4.nabble.com/Serialization-exception-when-migrating-from-1-3-to-1-5-tp8049.html Sent from the Apache Ignite Developers mailing list archive at Nabble.com. ------=_Part_84810_2015732595.1458813812361--