Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 72990 invoked from network); 24 Sep 2007 15:58:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2007 15:58:13 -0000 Received: (qmail 28726 invoked by uid 500); 24 Sep 2007 15:58:04 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 28691 invoked by uid 500); 24 Sep 2007 15:58:04 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 28682 invoked by uid 99); 24 Sep 2007 15:58:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 08:58:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 16:00:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DAF9F7141ED for ; Mon, 24 Sep 2007 08:57:50 -0700 (PDT) Message-ID: <31531657.1190649470893.JavaMail.jira@brutus> Date: Mon, 24 Sep 2007 08:57:50 -0700 (PDT) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Resolved: (OPENJPA-326) NPE if a discriminator column is specified without discriminator type in orm.xml In-Reply-To: <10285998.1187755231086.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPENJPA-326. ---------------------------------- Resolution: Fixed > NPE if a discriminator column is specified without discriminator type in orm.xml > -------------------------------------------------------------------------------- > > Key: OPENJPA-326 > URL: https://issues.apache.org/jira/browse/OPENJPA-326 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 0.9.7 > Reporter: Michael Dick > Assignee: Michael Dick > Fix For: 1.0.1, 1.1.0 > > Attachments: OPENJPA-326.patch.txt > > > XMLPersistenceMappingParser should initialize _discType to STRING to avoid a potential NPE. I'll provide an example shortly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.