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 10:52:20 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-950-new 0b23b04f3 -> 6ada24942


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/6ada2494
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/6ada2494
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/6ada2494

Branch: refs/heads/ignite-950-new
Commit: 6ada24942a0c401e23ad64764d3b154b93127c38
Parents: 0b23b04
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Sun Nov 1 13:52:10 2015 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Sun Nov 1 13:52:10 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/6ada2494/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 2120485..346c8e8 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
@@ -179,6 +179,10 @@ 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);


Mime
View raw message