🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #364

Re: can't use Calendar or GregorianCalendar classes: "Hit uncaught exception java.io.FileNotFoundException"

#364
From: Kevin Dean [TeamB]
Date: Mon, 25 Apr 2005 14:05
48 lines
2529 bytes
Henry Eck wrote:

> I am using JBuilder X developer, but also saw similar problems with
> JBuilder 9 personal.
> 
> This line of code:
> 
>     GregorianCalendar cal = new
> GregorianCalendar((int)(longDate/10000), (int)((longDate/100)%100),
> (int)(longDate%100));
> 
> Generates this runtime error:
> 
>     Hit uncaught exception java.io.FileNotFoundException
> 
> 
> The same thing happens with SimpleDateFormat.
> 
> I have attached a "stack" trace as a screen shot (gif file).  It
> looks to me like it can't find a zoneInfoFile which it is trying to
> get from Sun.  (?)
> 
> (oops it won't let me attach the file).  I can email it to anyone who
> is willing to take a look.
> 
> By the way, I am fairly sure this is not an install problem as it
> happens quite reliably, even after reinstalling both of the
> aforementioned versions of java.
> 
> Any help will be appreciated, as this is causing me a lot of problems.
> Thanks.

I duplicated that line of code and had no trouble.  Upload the source
file to the borland.public.attachments group and I'll take a closer
look.

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0e1f1yy7blef002-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <426c283f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,dc24d52afc8ec5c1
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: can't use Calendar or GregorianCalendar classes: "Hit uncaught exception java.io.FileNotFoundException"
Newsgroups: borland.public.jbuilder.java.language
References:  <426c283f$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.3.1
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
 p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e1f1yy7blef002-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:0000018D
NNTP-Posting-Host: 24.57.153.235
Date: 25 Apr 2005 07:05:50 -0700
X-Trace: newsgroups.borland.com 1114437950 24.57.153.235 (25 Apr 2005 07:05:50 -0700)
Lines: 48
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail