Updated Branches: refs/heads/camel-2.10.x 0033647c9 -> 70ef7024a refs/heads/camel-2.11.x e2b5add51 -> 41af3ef24 refs/heads/master 9d06f956e -> 663282939
Avoid potential NPE Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/978b1028 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/978b1028 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/978b1028 Branch: refs/heads/master Commit: 978b102866d37fa4eb33b4ecec3cc83584905ae3 Parents: 9d06f95 Author: Claus Ibsen <davscl...@apache.org> Authored: Sat May 25 08:35:16 2013 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat May 25 08:35:16 2013 +0200 ---------------------------------------------------------------------- .../apache/camel/util/IntrospectionSupport.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/978b1028/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java b/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java index f6be206..22bb389 100755 --- a/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java +++ b/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java @@ -534,7 +534,7 @@ public final class IntrospectionSupport { // we did not find a setter method to use, and if we did try to use a type converter then throw // this kind of exception as the caused by will hint this error throw new IllegalArgumentException("Could not find a suitable setter for property: " + name - + " as there isn't a setter method with same type: " + value.getClass().getCanonicalName() + + " as there isn't a setter method with same type: " + (value != null ? value.getClass().getCanonicalName() : "[null]") + " nor type conversion possible: " + typeConversionFailed.getMessage()); } else { return false;