File Not Found Error Message

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

File Not Found Error Message

Shekar Eswarakrishnan
I keep getting an error that says:

"Errorjava.io.FileNotFoundException: Values.txt (Access is Denied)"

I'm trying to output values from a matrix to a text file and I keep getting this
error.  It will not even let me output a string to the text file.

The matrix is the localTransform matrix created in the code and I want to output
the second and third values in the third column.

The attached code I made builds on the StackReg_ code already created for
imageJ.  My additions are in lines 1801-1805 and the localTransform matrix is
created in line 1110.

Thank You

Shekar

XandY_translation.txt (63K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: File Not Found Error Message

Michael Schmid
Hi Shekar,

it seems that you have not specified a directory where you have write  
permission.

java.io.FileNotFoundException
This exception will be thrown ... when a file with the specified  
pathname does not exist. It will also be thrown by these constructors  
if the file does exist but for some reason is inaccessible, for  
example when an attempt is made to open a read-only file for writing.

Michael
________________________________________________________________

On 13 Apr 2009, at 01:40, Shekar Eswarakrishnan wrote:

> I keep getting an error that says:
>
> "Errorjava.io.FileNotFoundException: Values.txt (Access is Denied)"
>
> I'm trying to output values from a matrix to a text file and I keep  
> getting this
> error.  It will not even let me output a string to the text file.
>
> The matrix is the localTransform matrix created in the code and I  
> want to output
> the second and third values in the third column.
>
> The attached code I made builds on the StackReg_ code already  
> created for
> imageJ.  My additions are in lines 1801-1805 and the localTransform  
> matrix is
> created in line 1110.
>
> Thank You
>
> Shekar<XandY_translation.txt>