[OpenMap Users] Re: problems writing dbf file

From: Robert Najlis <rnajlis_at_cs.indiana.edu>
Date: Sun, 5 Sep 2004 22:38:55 -0400

Sorry,

here is the stack trace, should have included that earlier:

java.io.IOException: Bad file descriptor
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:260)
        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:110)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
        at
com.bbn.openmap.dataAccess.shape.output.LittleEndianOutputStream.writeSt
ring(LittleEndianOutputStream.java:44)
        at
com.bbn.openmap.dataAccess.shape.output.DbfOutputStream.writeRecords(Dbf
OutputStream.java:203)



Robert



On Sep 5, 2004, at 10:34 PM, Robert Najlis wrote:

> To follow up,
>
> I tried calling the writeRecords() command, and got the error:
>
> java.io.IOException: Bad file descriptor
>
> So there must be something in there that is the problem, but I don't
> know what.
>
> Thanks.
>
> Robert
>
>
> On Sep 5, 2004, at 9:10 PM, Robert Najlis wrote:
>
>> Hi,
>>
>> I am having some problems writing out a dbf file. It seems that most
>> of the values are coming out as 0 I have checked the values in the
>> dbfModel carefully, and they are not zero. I looked in the mailing
>> list archives and I saw that there were had been problems with
>> EsriShapeExport in the past, but these do not seem to be the problem.
>> I have tried with the EsriShapeExport class and the DbfOutputStream
>> class. I get the same result with each. I am changing the folder
>> location of the dbf file (moved it from the original location). I
>> don't know if this would cause any trouble.
>>
>> Thanks for the help.
>>
>> Robert
>>
>>
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sun Sep 05 2004 - 22:42:58 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT