Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0582F200BC7 for ; Fri, 25 Nov 2016 08:02:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 04449160B1C; Fri, 25 Nov 2016 07:02:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 78E4B160B01 for ; Fri, 25 Nov 2016 08:01:59 +0100 (CET) Received: (qmail 24609 invoked by uid 500); 25 Nov 2016 07:01:58 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 24595 invoked by uid 99); 25 Nov 2016 07:01:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2016 07:01:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6EE442C03E6 for ; Fri, 25 Nov 2016 07:01:58 +0000 (UTC) Date: Fri, 25 Nov 2016 07:01:58 +0000 (UTC) From: "Andrea Cosentino (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10504) Hiding an underlying exception if MongoDbBasicConverters fails to convert to DBObject MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 25 Nov 2016 07:02:00 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-10504: ------------------------------------- Fix Version/s: 2.19.0 2.18.1 > Hiding an underlying exception if MongoDbBasicConverters fails to convert to DBObject > ------------------------------------------------------------------------------------- > > Key: CAMEL-10504 > URL: https://issues.apache.org/jira/browse/CAMEL-10504 > Project: Camel > Issue Type: Bug > Components: camel-mongodb > Affects Versions: 2.17.3, 2.18.0 > Reporter: Evgenii Lomonosov > Assignee: Andrea Cosentino > Priority: Minor > Fix For: 2.18.1, 2.19.0 > > > If conversion fails it could be hard to understand what is a problem because it returns just a message "Conversion has fallen back to generic Object -> DBObject, but unable to convert type {}. Returning null" that points to a class that was not converted. > In case of, as example, if a list of objects that should be converted leads to a memory error because of parent-child link are cycled for 2 objects, it would take a lot of efforts to understand what is going on. And information about underlying exception, stackoverflow in this case, could help to find the root cause much faster than now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)