🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #3210

Re: [java] fout bij schrijven naar RandomAccessFile

#3210
From: Stefan Arentz
Date: Sun, 25 Jan 2004 12:10
19 lines
1591 bytes
"Passero" <bla@bla.bla> writes:

> Wanneer ik probeer te schrijven naar een RandomAccessFile krijg ik deze
> foutmelding:
> 
> Java.io.IOException: Bad file descriptor
>  at java.io.RandomAccessFile.write(Native Method)
>  at java.io.RandomAccessFile.writeInt(RandomAccessFile.java:930)
>  at Beheerder.schrijfRecordWeg(Beheerder.java:52)
> 
> De 52ste lijn van beheerder is zo:
> eenBestand.writeInt(eenRecord.getNummer());
> 
> eenRecord.getNummer() geeft gewoon een integer terug.
> Iemand enig idee aan wat het zou liggen?

Je bent vergeten om de file correct te openen gok ik.

 S.
Technical Details
Message-ID: <m27jzgxm7u.fsf@tiSateh.local>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!news2.euro.net!transit.news.xs4all.nl!not-for-mail
References: <wzNQb.4515$nh4.137351@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,9c8578b861375d7a
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,9c8578b861375d7a
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2004-01-25 04:10:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!news2.euro.net!transit.news.xs4all.nl!not-for-mail
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: Re: [java] fout bij schrijven naar RandomAccessFile
References: <wzNQb.4515$nh4.137351@phobos.telenet-ops.be>
From: Stefan Arentz <stefan@tiSateh.local>
Date: 25 Jan 2004 13:10:45 +0100
Message-ID: <m27jzgxm7u.fsf@tiSateh.local>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 19
NNTP-Posting-Date: 25 Jan 2004 13:10:35 CET
NNTP-Posting-Host: 213.84.100.67
X-Trace: 1075032635 news.xs4all.nl 331 [::ffff:213.84.100.67]:35030
X-Complaints-To: abuse@xs4all.nl