From 8670c59d18063d796c071f64c2231a0b7704abfb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Fri, 22 Feb 2013 11:54:33 +0100 Subject: [PATCH] Fix null exception --- .../com/google/gwt/query/client/builders/JsonBuilderBase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java index ac3b3102..e0d48c26 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java @@ -41,7 +41,9 @@ public abstract class JsonBuilderBase> implements J if (prp != null && prp instanceof String) { return parse((String)prp); } - p = (Properties)prp; + if (prp != null) { + p = (Properties)prp; + } return (J)this; } -- 2.39.5