FileNotFoundException during saving of PDF file

Bug #572876 reported by Aurélien Beltrame on 2010-05-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
Low
Unassigned
0.7
Fix Released
Undecided
Unassigned

Bug Description

I export a PDF and I put the same name that a already open file with acrobat reader.
Because the file is already open, gephi cannot overwrite it (normal behavior).

A:n exception message popup is open (details at the end of bug report). I think gephi should open a popup by saying "this file is already open/cannot be overwrited".

java.io.FileNotFoundException: C:\****\Untilted.pdf (Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
 at org.gephi.io.exporter.preview.PDFExporter.exportData(PDFExporter.java:378)
 at org.gephi.io.exporter.preview.PDFExporter.exportData(PDFExporter.java:72)
 at org.gephi.desktop.io.export.DesktopExportController$6.run(DesktopExportController.java:253)
 at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[catch] at java.lang.Thread.run(Thread.java:619)

Changed in gephi:
importance: Undecided → Low
milestone: none → 0.7alpha4
Changed in gephi:
status: New → Confirmed
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers