ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: IGNITE-950-new - Debug
Date Sun, 01 Nov 2015 12:05:28 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-950-new 291f97979 -> 2c7b230e8


IGNITE-950-new - Debug


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2c7b230e
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2c7b230e
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2c7b230e

Branch: refs/heads/ignite-950-new
Commit: 2c7b230e8d63a7cc141a7cea2c73a992b3222466
Parents: 291f979
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Sun Nov 1 15:05:18 2015 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Sun Nov 1 15:05:18 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/portable/PortableContext.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2c7b230e/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableContext.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableContext.java
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableContext.java
index 346c8e8..146455c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableContext.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableContext.java
@@ -180,9 +180,6 @@ public class PortableContext implements Externalizable {
         this.metaHnd = metaHnd;
         this.igniteCfg = igniteCfg;
 
-        if (igniteCfg == null)
-            U.dumpStack("Attempting to create portable context with null configuration.");
-
         gridName = igniteCfg.getGridName();
 
         colTypes.put(ArrayList.class, GridPortableMarshaller.ARR_LIST);
@@ -499,6 +496,10 @@ public class PortableContext implements Externalizable {
             if (userType && !ldr.equals(dfltLdr) && (desc = descriptorForTypeId(true,
typeId, dfltLdr)) != null)
                 return desc;
 
+            e.printStackTrace();
+
+            U.dumpStack("Failed resolve class for ID: " + typeId);
+
             throw new IgniteObjectException("Failed resolve class for ID: " + typeId, e);
         }
 


Mime
View raw message