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 2D63B200BD0 for ; Tue, 15 Nov 2016 11:58:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2C26A160B02; Tue, 15 Nov 2016 10:58:01 +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 6D5E2160B03 for ; Tue, 15 Nov 2016 11:58:00 +0100 (CET) Received: (qmail 87139 invoked by uid 500); 15 Nov 2016 10:57:59 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 87126 invoked by uid 99); 15 Nov 2016 10:57:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 10:57:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 29BD32C4C78 for ; Tue, 15 Nov 2016 10:57:59 +0000 (UTC) Date: Tue, 15 Nov 2016 10:57:59 +0000 (UTC) From: "Andrus Adamchik (JIRA)" To: commits@cayenne.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CAY-2143) NPE in BaseSchemaUpdateStrategy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Nov 2016 10:58:01 -0000 [ https://issues.apache.org/jira/browse/CAY-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrus Adamchik closed CAY-2143. -------------------------------- Resolution: Fixed Fix Version/s: 4.0.M4 > NPE in BaseSchemaUpdateStrategy > ------------------------------- > > Key: CAY-2143 > URL: https://issues.apache.org/jira/browse/CAY-2143 > Project: Cayenne > Issue Type: Bug > Affects Versions: 4.0.M4 > Reporter: Andrus Adamchik > Fix For: 4.0.M4 > > > Per https://github.com/apache/cayenne/pull/130 there is a NullPointerException unboxing BaseSchemaUpdateStrategy.threadRunInProgress , which makes sense as this ThreadLocal is only initialized in one thread. Looks like I introduced this bug in 60fc4d2678b3d57f7dd896e9c8d07b7029cf3572 ... (so it is on me to build a unit test :)) -- This message was sent by Atlassian JIRA (v6.3.4#6332)