Article View: borland.public.jbuilder.java.language
Article #629Re: ArrayList
From: Gillmer J. Derge [TeamB]
Date: Mon, 04 Apr 2005 15:04
Date: Mon, 04 Apr 2005 15:04
15 lines
1584 bytes
1584 bytes
Petar Popara wrote: >>I got java.lang.NullPointerException. :( > Not with String[], but with X509Certificate[]. It works fine with String[]. If you actually got it from this code (or its equivalent with X509Certificate): String[] s = (String[])l.toArray(new String[0]); then your list (l) is null. Otherwise, more likely, it happened somewhere else. Print the stack trace and make sure of what line it's pointing to as the original cause of the exception. -- Gillmer J. Derge [TeamB]
Technical Details
Message-ID:
<42515770@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42512ba2@newsgroups.borland.com> <xn0e0lkj816f90z002-kdean@www.teamb.com> <42515415@newsgroups.borland.com> <425155e9@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,b5d68c9c70412a4d X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 04 Apr 2005 11:04:08 -0400 From: "Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: ArrayList References: <42512ba2@newsgroups.borland.com> <xn0e0lkj816f90z002-kdean@www.teamb.com> <42515415@newsgroups.borland.com> <425155e9@newsgroups.borland.com> In-Reply-To: <425155e9@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.149.56.207 Message-ID: <42515770@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112627056 24.149.56.207 (4 Apr 2005 08:04:16 -0800) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail