java.io.IOException: Cannot create a file when that file already exists

Oracle Community | avrom | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    File handle leak?

    Oracle Community | 9 years ago | avrom
    java.io.IOException: Cannot create a file when that file already exists
  2. 0

    OC4J 10.1.2: Logging and File I/O Problems

    Oracle Community | 9 years ago | avrom
    java.io.IOException: Cannot create a file when that file already exists
  3. 0

    Java.io.IOException:Cannot create a file when that file already exists

    Oracle Community | 1 decade ago | 807596
    java.io.IOException: Cannot create a file when that file already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Oracle WebLogic Domain Compliance Standards

    oracle.com | 3 weeks ago
    java.io.IOException: java.io.FileNotFoundException:/opt/u01/skurumel/remotedom/servers/domain_bak/config_bak/config.xml (No such file or directory)

  1. rp 1 times, last 3 months ago
  2. tone5992 2 times, last 10 months ago

Root Cause Analysis

  1. java.io.IOException

    Cannot create a file when that file already exists

    at java.io.FileOutputStream.openAppend()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.openAppend(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    3 frames
  3. oracle.core.ojdl
    BufferedLogWriter$Flusher.run
    1. oracle.core.ojdl.BusStopLogWriter.writeBytes(BusStopLogWriter.java:240)
    2. oracle.core.ojdl.BufferedLogWriter.flush(BufferedLogWriter.java:159)
    3. oracle.core.ojdl.BufferedLogWriter$Flusher.run(BufferedLogWriter.java:396)
    3 frames