From derby-user-return-14879-apmail-db-derby-user-archive=db.apache.org@db.apache.org Mon Jan 28 23:05:25 2013 Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6547BD36E for ; Mon, 28 Jan 2013 23:05:25 +0000 (UTC) Received: (qmail 53233 invoked by uid 500); 28 Jan 2013 23:05:25 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 53173 invoked by uid 500); 28 Jan 2013 23:05:25 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 53166 invoked by uid 99); 28 Jan 2013 23:05:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2013 23:05:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.30.239.78] (HELO nm34-vm6.bullet.mail.bf1.yahoo.com) (72.30.239.78) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2013 23:05:13 +0000 Received: from [98.139.212.146] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 28 Jan 2013 23:04:52 -0000 Received: from [98.139.212.225] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 28 Jan 2013 23:04:51 -0000 Received: from [127.0.0.1] by omp1034.mail.bf1.yahoo.com with NNFMP; 28 Jan 2013 23:04:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 860468.32307.bm@omp1034.mail.bf1.yahoo.com Received: (qmail 7497 invoked by uid 60001); 28 Jan 2013 23:04:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1359414291; bh=L1UBLAv3OtA7irTyOxBoTNajyyhQhBvB0BUMvHu5sa0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=jsfRuu+NgbbCBikBRgu1UZz7GZrLcRnOolTskdcql13N5B9FlCxM+eMnOg/+z6RAmyX5GqPcFyR8iQLQWJX0tz2Jl3asQEzSYN9/bCoSldRI8BCrrekRKx4Tgb2DNyWaKzUrrI5gknE8U4/jiQKsmwXi5QHiWgDGMr2/9isGCY0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=IAJy3BQIBnDKtGJAX6Ln6QQaD2rrjuVrVE57/uzOp9FR5bGNaGO1851WitRo4GAb7tJunp7hcovjcnqFHk9LR+8BAqgZKMJmsn1jr4BbrGYidfciTQpiSv03O0F4GffIgCyINJ2Qs5l1GeK+v3VRpJAEuXpka5yulWvpwCgMRPU= ; X-YMail-OSG: lQhPho8VM1la90cvH0HWrJLpuQkmb1RuEnw3gfGGi5w1Lfj xGYovo0qThtXjVI2gBRrIWf94hO66OWXX0Kw4har_ub1nirqrKy.bOMXXsho SNIqVxWnD7aIJo1_Qm3CxvTGgCnWkW2b87SbltAVnJGBhn8ioFDeHEt.lZ3w .ivAtXJzC5DoAqUamXCUQdTOEoa6f0f9hOvE6sDoolOYtasgLMzivE2rm77l 9RyLyW4FikYV82IljGRKkZc5lieg19ixyQlBGP.3.98gF6vXig1bEMos93Ci JByL3FeIIdwJtM9IIQEb2K4ZSSiILjTugFUr3cffdJ1BZ2uIeUhkudH7AgWf o5XrQ4BYwUYiNnok1VvirpfcMHo8LdfFWRMlawhHH9V_2QqmZxtKHVvErtiE 61V5zFHxCOHdQUK3fGNdmpU6bjtNoWQwSuXyg0dQ9ehrFIArCEaYY30WkXwO G5..jiFOZ7pn4MJEuwAC2lW9UEBVOEag63Ik_xOY_SAWsTyGduObP_tZcnLl uvAqniNPHxE_Hkw-- Received: from [24.193.76.99] by web162804.mail.bf1.yahoo.com via HTTP; Mon, 28 Jan 2013 15:04:51 PST X-Rocket-MIMEInfo: 001.001,SSBqdXN0IHVwZ3JhZGVkIHRvIDEwLjguMyBhbmQgSSBhbSBzdGlsbCBydW5uaW5nIGludG8gdGhlIHNhbWUgTnVsbFBvaW50ZXJFeGNlcHRpb24gKE5QRSkuCgoKVGhpcyBpcyBhY3R1YWxseSBkaWZmZXJlbnQsIGl0IGNvbWVzIGZyb206Cm9yZy5hcGFjaGUuZGVyYnkuaW1wbC5zdG9yZS5yYXcueGFjdC5YYWN0RmFjdG9yeS5hZGQoVW5rbm93biBTb3VyY2UpCgpUaGFua3MsCk9za2FyCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCiBGcm9tOiBLYXRoZXJpbmUgTWFyc2RlbiA8a21hcnNkZW4BMAEBAQE- X-Mailer: YahooMailWebService/0.8.131.499 References: <1359406360.84496.YahooMailNeo@web162803.mail.bf1.yahoo.com> <5106ED8E.3050304@sbcglobal.net> Message-ID: <1359414291.68672.YahooMailNeo@web162804.mail.bf1.yahoo.com> Date: Mon, 28 Jan 2013 15:04:51 -0800 (PST) From: Oskar Zinger Reply-To: Oskar Zinger Subject: Re: NullPointerException when Shuting Down Derby To: Derby Discussion In-Reply-To: <5106ED8E.3050304@sbcglobal.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-905771916-877674088-1359414291=:68672" X-Virus-Checked: Checked by ClamAV on apache.org ---905771916-877674088-1359414291=:68672 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I just upgraded to 10.8.3 and I am still running into the same NullPointerE= xception (NPE).=0A=0A=0AThis is actually different, it comes from:=0Aorg.ap= ache.derby.impl.store.raw.xact.XactFactory.add(Unknown Source)=0A=0AThanks,= =0AOskar=0A=0A=0A=0A________________________________=0A From: Katherine Mar= sden =0ATo: Derby Discussion =0ACc: Oskar Zinger =0ASent: Monday, January = 28, 2013 4:28 PM=0ASubject: Re: NullPointerException when Shuting Down Derb= y=0A =0A=0AOn 1/28/2013 12:52 PM, Oskar Zinger wrote:=0A=0AWhen I do the fo= llowing it sometimes returns a NullPointerException:=0A>=0A>=0A>=A0=A0=A0= =A0=A0=0ADriverManager.getConnection("jdbc:derby:;shutdown=3Dtrue;deregiste= r=3Dfalse");=0A>=0A>=0A>Here is the exception stack trace:=0A>=0A>=0A>Cause= d by: java.lang.NullPointerException=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.d= erby.impl.store.raw.xact.XactFactory.add(Unknown Source)=0A>=A0=A0=A0 =A0= =A0=A0 at org.apache.derby.impl.store.raw.xact.XactFactory.pushTransactionC= ontext(Unknown Source)=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.derby.impl.stor= e.raw.xact.XactFactory.startInternalTransaction(Unknown Source)=0A>=A0=A0= =A0 =A0=A0=A0 at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWi= thTran(Unknown Source)=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.derby.impl.stor= e.raw.log.LogToFile.checkpoint(Unknown Source)=0A>=A0=A0=A0 =A0=A0=A0 at or= g.apache.derby.impl.store.raw.RawStore.stop(Unknown Source)=0A>=A0=A0=A0 = =A0=A0=A0 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown= Source)=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.derby.impl.services.monitor.T= opService.shutdown(Unknown Source)=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.der= by.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)=0A>=A0=A0=A0 = =A0=A0=A0 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Un= known Source)=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.derby.jdbc.InternalDrive= r.connect(Unknown Source)=0A>=A0=A0=A0 =A0=A0=A0 at org.apache.derby.jdbc.A= utoloadedDriver.connect(Unknown Source)=0A>=A0=A0=A0 =A0=A0=A0 at java.sql.= DriverManager.getConnection(DriverManager.java:399)=0A>=A0=A0=A0 =A0=A0=A0 = at java.sql.DriverManager.getConnection(DriverManager.java:350)=0A>=0A>=0A>= Does anyone know why this is happening?=0A>=0A>=0A>I am using Derby 10.8.2.= 3=0A>=0A>=0A>Thanks,=0A>Oskar Zinger=0Ahttps://issues.apache.org/jira/brows= e/DERBY-5916 was backported to 10.8 with revision 1395186 and looks similar= =0AI suggest you pick up 10.8.3 that has that fix. ---905771916-877674088-1359414291=:68672 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I just upgraded to 10.8.3 and I = am still running into the same NullPointerException (NPE).

This is actually different, it comes from:
org.apache.derby.impl.store.raw.xact.XactFactory.add(Unknown=0A = Source)

Thanks,
Oskar

=

From: Katherine Ma= rsden <kmarsdenderby@sbcglobal.net>
To: Derby Discussion <derby-user@db.apache.org> <= br>Cc: Oskar Zinger <oskarzn@yahoo= .com>
Sent: Monday= , January 28, 2013 4:28 PM
Subjec= t: Re: NullPointerException when Shuting Down Derby
=

=0A
=0A =0A=0A =0A =0A
=0A =
On 1/28/2013 12:52 PM, Oskar Zi= nger=0A wrote:
=0A
=0A
=0A =
=0A
When I do the following it= sometimes returns a=0A NullPointerException:
=0A
=0A
=0A
     =0ADriverManager= .getConnection("jdbc:derby:;shutdown=3Dtrue;deregister=3Dfalse");
=0A =

=0A
=0A
Here is the exception stack=0A trac= e:
=0A

=0A
=0A
Caused by:=0A java.lang= .NullPointerException
=0A
 &nb= sp;      = at=0A org.apache.derby.impl.store.raw.xact.XactFactory.add(Unknown= =0A Source)
=0A
 &nbs= p;      at org.apache.derby.impl.store.raw.xact.XactFactory.pushTransactionContext(U= nknown=0A Source)
=0A
&nbs= p;       at= org.apache.derby.impl.store.raw.xact.XactFactory.startInternalTrans= action(Unknown=0A Source)
=0A
      &= nbsp; at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWit= hTran(Unknown=0A Source)
=0A
      &n= bsp; at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unk= nown=0A Source)
=0A
 =        at <= /span>org.apache.derby.impl.store.raw.RawStore.stop(Unknown=0A Sou= rce)
=0A
    =     at org.apache.der= by.impl.services.monitor.TopService.stop(Unknown=0A Source)
= =0A
        at org.apache.derby.impl.se= rvices.monitor.TopService.shutdown(Unknown=0A Source)
=0A =
=         at org.apache.derby.impl.services.= monitor.BaseMonitor.shutdown(Unknown=0A Source)
=0A         at org.apache.derby.impl.services.monito= r.BaseMonitor.shutdown(Unknown=0A Source)
=0A
        at org= .apache.derby.jdbc.InternalDriver.connect(Unknown=0A Source)
= =0A
        at org.apache.derby.jdbc.Au= toloadedDriver.connect(Unknown=0A Source)
=0A
        at java.sql.DriverManager.getConnection(Drive= rManager.java:399)
=0A
  =       at = java.sql.DriverManager.getConnection(DriverManager.java:350)
=0A =
=0A
=0A
Does anyone know why this is=0A happenin= g?
=0A

=0A
=0A
I am using Derby 10.8.2.3
= =0A

=0A
=0A
Thanks,
=0A
Oskar Zinger
= =0A
=0A =0A
=0A https://issues.apache.org/jira/b= rowse/DERBY-5916 was backported to=0A 10.8 with revision 1395186 and= looks similar
=0A I suggest you pick up 10.8.3 that has that fix.=0A
=0A
=0A=0A


---905771916-877674088-1359414291=:68672--