Cannot write to file

Hello everyone,
I'm new to java and I need some help for writing to a file, I wrote a programe using the AWT that is suppose to read from a file as soon as the programs comes up, then changes could be made and resubmitted, but I can't seem to capture the new written text, can someone help me please!! here is the code
import java.applet.*;
import java.awt.*;
import java.io.*;
import java.net.URL;
import java.lang.*;
import java.awt.event.*;
public class EditFile2 extends Panel implements ActionListener
   String labelnames [] = {"line1", "line2", "line3", "line4",
                                "line5", "line6", "line7", "line8",
                                 "line9", "line10", "line11", "line12",
                                "line13", "line14", "line15", "line16",
                                "line17", "line18", "line19", "line20"}; 
   String textfieldnames[] = {"line1", "line2", "line3", "line4",
                                "line5", "line6", "line7", "line8",
                                 "line9", "line10", "line11", "line12",
                                "line13", "line14", "line15", "line16",
                                "line17", "line18", "line19", "line20"}; 
    private Panel editPanel = new Panel();
    public EditFile2(){
         String in[] = new String[20];
         try{
            FileInputStream fis = new FileInputStream("C:/Program Files/s1studio_jdk/j2sdk1.4.1_02/javastuff/sampledir/icc.txt");
            BufferedInputStream bis= new BufferedInputStream(fis);
            BufferedReader dis = new BufferedReader(new InputStreamReader(bis));
                for(int i=0; i<20; i++){
                   in= dis.readLine();
System.out.println(in[i]);
this.textfieldnames[i] = in[i];
catch(IOException ioe){
System.out.println("file not found" +ioe);
//g.drawString("file not found" +ioe, 200, 200);
catch(SecurityException e){
System.out.println("file not security");
//g.drawString("e" + e, 1, 1);
editPanel.setLayout(new GridLayout(21, 2));
for(int row=0; row< textfieldnames.length; row++){
editPanel.add(new TextField (textfieldnames[row]));
editPanel.add(new Label(labelnames[row]));
submitButton = new Button("Enter New Scroll Lines");
editPanel.add(submitButton);
submitButton.addActionListener(this);
setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.gridx= 1; c.gridy =1;
c.weightx=1.0;
add(editPanel, c);
public void actionPerformed( ActionEvent event )
try{
FileOutputStream fos = new FileOutputStream("C:/Program Files/s1studio_jdk/j2sdk1.4.1_02/javastuff/sampledir/icc.txt");
DataOutputStream dos = new DataOutputStream(fos);
for(int i=0; i<20; i++){
dos.writeBytes(new String(textfieldnames[i]));
System.out.println("writing to file");
catch(IOException ioe){
System.out.println("file not found" +ioe);
//g.drawString("file not found" +ioe, 200, 200);
private FileInputStream fis;
private BufferedInputStream bis;
private BufferedReader dis;
private Button submitButton;
public static void main(String args[]){
Frame f = new Frame("Edit text form here");
f.add(new EditFile2());
f.pack();
f.setVisible(true);

Hi islandcat,
I don't understand your question.
You've got values that you read from a file. You're talking about values in text boxes. Please try to write a sensible sequence of events that you want to happen and tell me where the behavior you observe goes wrong.
Maybe you're saying this:
1. Read initial values for text boxes from a file on startup.
2. Allow users to modify values in text boxes during operation.
3. Save altered values to file again when shutting down the app.
I didn't study your code carefully enough to really understand what you're doing. I'm not sure that I want to.
I've taken care of your exceptions. Unwanted behavior is really your problem. I'd suggest that you study what you've done more carefully and try to figure it out for yourself. You'll get some satisfaction out of having solved a real problem. You might even learn something about how to go about it. - MOD

Similar Messages

  • Trying to install itunes on my new windows 8 laptop and getting an error message cannot write to file?

    error message cannot write to file when trying to install itunes on windows 8 laptop.

    Hi Stacy,
    Welcome to Apple Support Communities.
    Take a look at the article below, it provides a lot of great tips that will resolve most iTunes installation issues.
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    If you run into any issues, just reply with details about the step you're on and what you're seeing.
    -Jason

  • I'm trying to download my Master CS6 onto a new hard drive because my old one crashed and I keep getting a message saying " Cannot write the file" or "I don't have permission to access the requested resource." ? What does this mean?

    I'm trying to download my Master CS6 onto a new hard drive because my old one crashed and I keep getting a message saying " Cannot write the file" or "I don't have permission to access the requested resource." ? What does this mean?

    Yes- it is a Mac. I went through adobes system requirements and re- downloaded supportive software. The notice seems to happen near the end of the down load with the messages above. I'll look into your suggestion. Thank you- appreciated.

  • Cannot write configuration file

    Hello,
    I have a problem loading up a project I have taken over from some one else. I need some guidance as I can't seem to find the solution. However im not that familiar with .NET or MVS as I once
    was. The message I get is as follows :-
    Microsoft Visual Studio
    Creation of the virtual directory localhost:49623/ failed with the error: Filename: \\?\C:\Users\firstname.surname\Documents\IISExpress\config\applicationHost.config
    Error: Cannot write configuration file
    However I have checked the permissions and can't see anything obvious. Under guidance from another developer I have also updated :-
    www.nuget.org/
    and
    www.nuget.org/packages/Microsoft.AspNet.Mvc
    I am using a Windows 7 enterprise edition Dell Lattitude laptop. With MVS as follows
    Microsoft Visual Studio Professional 2012
    Version 11.0.50727.1 RTMREL
    Microsoft .NET Framework
    Version 4.5.50938
    Installed Version: Professional
    Microsoft Visual Studio Tools for Applications 2012   04938-088-1153812-02395
    Microsoft Visual Studio Tools for Applications 2012
    Office Developer Tools   04938-088-1153812-02395
    Microsoft Office Developer Tools
    Team Explorer for Visual Studio 2012   04938-088-1153812-02395
    Microsoft Team Explorer for Visual Studio 2012
    Visual Basic 2012   04938-088-1153812-02395
    Microsoft Visual Basic 2012
    Visual C# 2012   04938-088-1153812-02395
    Microsoft Visual C# 2012
    Visual C++ 2012   04938-088-1153812-02395
    Microsoft Visual C++ 2012
    Visual F# 2012   04938-088-1153812-02395
    Microsoft Visual F# 2012
    Visual Studio 2012 Code Analysis Spell Checker   04938-088-1153812-02395
    Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V.
    All rights reserved.
    Visual Studio 2012 SharePoint Developer Tools   04938-088-1153812-02395
    Microsoft Visual Studio 2012 SharePoint Developer Tools
    NuGet Package Manager   2.8.60318.667
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit docs.nuget.org/.
    PreEmptive Analytics Visualizer   1.0
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 11.0.5058.0
    SQL Server Data Tools   11.1.20627.00
    Microsoft SQL Server Data Tools
    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 11.0.3436.0
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 11.0.3436.0
    Web Developer Tools   1.0.30710.0
    Microsoft Web Developer Tools contains the following components:
    Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
    Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
    Web Form Templates: Includes the default templates for Web Form Applications.
    Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

    I see some others have had success by removing encryption on the IISExpress folder and removing the Read Only attribute as well.
    See this post for details.
    Others have had success by doing the following:
    - Run Command Prompt (cmd) in Admin Mode
    - Enter the following command: DISM /Online /Cleanup-image /Restorehealth
    ...as detailed here.

  • Cannot write class file...

    I have no idea what this means. This app was running just
    fine. Then wham.
    Here is the error message:
    Errors reported by Java compiler: Found 1 semantic error
    compiling
    "D:/CFusionMX/wwwroot/WEB-INF/cfclasses/cfApplication2ecfm855244706.java":
    1. public final class cfApplication2ecfm855244706 extends
    coldfusion.runtime.CFPage{ <-------------------------> ***
    Error: Cannot write class file "cfApplication2ecfm855244706.class"
    because that name conflicts with the name of the class file
    "cfapplication2ecfm855244706.class" in directory "cfclasses". This
    is illegal because file names are case-insensitive in this system.
    If anyone can tell me where to look and what to do here, I
    would be very grateful.
    Thanks,
    Lee

    Try clearing out your cfclasses directory which is located on
    your machine at D:\CFusionMX\wwwroot\WEB-INF\cfclasses. Then
    restart CF.

  • REP-50127 Cannot write into file

    Our situation:
    DB Oracle 10.2.0.3
    Reports server version: 10.1.2.0.2
    We are generating reports in PDF and storing them in the Oracle OCM (previous IFS) system.
    Once in a while we get an error.
    The report trace gives the following:
    [2010/9/29 7:10:9:739] Exception 50127 (): Cannot write into file Invoicexxx.PDF
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.utility.Utility.newRWException(Utility.java:758)
    at oracle.reports.utility.Utility.copyFile(Utility.java:469)
    at oracle.reports.server.DesFile.sendFile(DesFile.java:85)
    at oracle.reports.server.Destination.send(Destination.java:484)
    at oracle.reports.server.JobObject.distribute(JobObject.java:1594)
    at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2332)
    at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:134)
    at oracle.reports.server._EngineCommImplBase._invoke(_EngineCommImplBase.java:94)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    [2010/9/29 7:10:9:739] State 56016 (JobManager:updateJobStatus): Job 642218 status is: Executed successfully but there were some errors when distribute the ou
    tput
    REP-50159: Executed successfully but there were some errors when distribute the output
    REP-50127: FILE : Cannot write into file Invoicexxx.PDF
    [2010/9/29 7:10:9:740] State 56004 (EngineInfo:setState): Engine rwEng-1 state is: Ready
    [2010/9/29 7:10:9:741] Exception 50159 (): Executed successfully but there were some errors when distribute the output
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1110)
    at oracle.reports.server.ExecAsynchJobThread.run(ExecAsynchJobThread.java:54)
    [2010/9/29 7:10:9:741] Exception 50159 (): Executed successfully but there were some errors when distribute the output
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1110)
    at oracle.reports.server.ExecAsynchJobThread.run(ExecAsynchJobThread.java:54)
    There is enough diskspace available so that's not the issue.
    Does anybody know what triggers the error and how we can avoid it?
    Edited by: vccservice on Sep 30, 2010 11:02 AM

    no freespace in the tablespace is also the reason for this error

  • Satellite P500/01R reads data but cannot write data files to CD

    I recently bought a Satellite P500/01R laptop. I am able to read a data CD but cannot write data files to CD. The CD is read/write.
    Any ideas?

    Hi
    Did you try different burning software?
    Im using the Nero and in my opinion one of the best burning applications.
    There I can choose between CD, DVD, DL or Blueray (only possible if CD/DVD drive supports this too.)
    Did you also check different CDs from different manufacturers?
    You should do this since not all disks are 100% compatible.
    I had many issues with different CD or DVD in most cases it was an compatibility issue I tested TDK and these kind of disk is compatible with my CD/DVD drive
    Im using the R standard.

  • FileWriter Problem, cannot write a file larger than 8K

    Hi,
    My servlet write 2 files. The problem is the second file I wrote cannot exceed 8K
    PrintWriter os = new PrintWriter(new FileWriter("temp\\q0.dat"));
    os.close();
    PrintWriter os2 = new PrintWriter(new FileWriter("temp\\q1.html"));
    I have the following write statement:
    os2.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">");
    os2.println("<HTML><HEAD><TITLE> Q1 </TITLE>");
    os2.println("</HEAD><BODY><FORM METHOD=POST ACTION=\"\"><BLOCKQUOTE><TABLE border=\"0\">");
    The problem is if I use this kind of statement, some println statement not appear in the destination file q1.html (those lines at bottom)
    then if I turn these 3 statement and change to 1 print statement, more letter write to q1.html?
    Pls tell me what's wrong with my program! Thank you

    You didn't close the second PrintWriter after you finished using it?

  • Servlet I/O Stream problem: cannot write into file, error 500

    I am a new Java developer and now, I am facing a problem regarding the error 500. I try to grab records from a table with a date as a constraint. There are two servlets involed: a) saveRecord and b) getRecord. Servlet getRecord will grab data from a database while another servlet, saveRecord will get the data from servlet getRecord and save it into a file. The codes are as below:
    =========================================================================================================================================
    // Servlet Name : saveRecord
    BufferedInputStream instr     = null;
    BufferedOutputStream outstr     = null;
    PostMethod http_post          = null;
    http_post = new PostMethod("getRecord");
    http_client.executeMethod(http_post);
    instr     = new BufferedInputStream(http_post.getResponseBodyAsStream());
    outstr     = new BufferedOutputStream(new FileOutputStream("c:\student.csv"), false));
    int byte_at;
    while (-1 != (byte_at = instr.read())) {
         outstr.write(byte_at);
    =========================================================================================================================================
    // Servlet Name : getRecord
    ServletOutputStream out     = response.getOutputStream();
    StringBuffer str_buf     = new StringBuffer();
    str_buf = generateStudentAc();
    out = response.getOutputStream();
    FileStream(out, response, str_buf);
    // Function Called
    private StringBuffer generateStudentAc() {
         StringBuffer str_buf = new StringBuffer();
         String date = "2000-01-01";
         statement = connection.createStatement();
         resultset = statement.executeQuery("SELECT NAME, ADDRESS FROM STUDENT WHERE DATE>'" + date + "';
         // Write column headers               
    str_buf.append("NAME,ADDRESS");
    String data_row;
    while (resultset.next()) {
              data_row = "\n";
              data_row += "\"" + resultset.getString("STUDENT") + "\"";
              data_row += ",\"" + resultset.getString("ADDRESS") + "\"";
              // Write row
              str_buf.append(data_row);
         return str_buf;
    // Function called
    private void FileStream(ServletOutputStream out, HttpServletResponse response, StringBuffer str_buf) {
         BufferedOutputStream buf_out = null;
    // Create input/output streams
         buf_out     = new BufferedOutputStream(out);
         int length     = str_buf.length();
         // Read/Write
         for (int i = 0; i < length; i++) {
              buf_out.write(str_buf.charAt(i));
    =========================================================================================================================================
    Then, the result will be post back to a JSP page. It didn't work when the records in database growing bigger ( > 100 000 records) but works nice while the records are still in a small quantities ( < 20 000 records). It seems that no record can be inserted into the file and the JSP page becomes blank. When I opened the csv file, I found a message"Error 500:" inside it.
    Hope you all experts can help to figure out this problem. TQ

    I am amatuer in Java Programming, so I don't know how to implement serializable interface but I will look through it.
    However, as I mention before, the code run perfectly if there are not much records un the table. But once there are more and more table added in (> 1000 000 records) in the table, it becomes unstable - sometime it works but most of the time it doesn't. So, I didn't find any different event I replaced the code with String date = "=2000-01-01".
    Anyway, thanks for your help.

  • Every time I download a large file in safari (mavericks version) at the end i get the error cannot write file. help

    evrytime i dowload a file on my macbook pro it tells me at the end that it cannot write the File. Small files download Ok but Large files do not.
    Help Please.
    mackbook pro 13 late 2012 upgraded to Mavericks restored backup from M lion with time Machine.
    Thx

    I am experiencing this as well.  I've found a workaround.  Once you know the file has stopped (the Safari download menu says it cannot write the file) then do the following:
    1. Open the Downloads folder.
    2. Open Terminal.
    3. In Terminal type "cd " and then drag the "incomplete" .download file to terminal (this just copies the path), then hit "Return" and you will change into the directory.
    4. Type "ls -l" and you should see within the .download bundle, the complete file is actually there and complete.
    5. Now, let's say the file name is "file.mp4" type "mv file.mp4 ../" and it will be moved out of the bundle one level up into the Downloads folder.  You may need to enclose the file name in quotes if it has any special characters.
    6. You can now drag the .download container to the trash, and the file should be fine.

  • Contact your help desk with this information: cannot create connection file "CitrixID"

    Has anyone overcome an issue with logging in to a Citrix server and getting the following message: Contact your help desk with this information: cannot create connection file “CitrixID”? I can log on, but once logged in, the apps available to me will not launch.  All worked fine before I upgraded to OS X Mavericks. I do a lot of foreign travel and Citrix kept me connected to the office. Unfortunately, our IT team aren't really "Mac Guys" so they are just as perplexed as I am. I have deleted and deleted Citrix Receiver several times as posts on other sites recommended, but to no avail.

    There are some discussions on the citrix forum that may help if you haven't already seen them. Here are two and there are likely more:
    http://discussions.citrix.com/topic/325359-reciever-117-cannot-write-connection- file-usersnamelibraryapplication-supportcitrix-receivermodules/
    http://discussions.citrix.com/topic/302900-reciever-1143-cannot-write-connection -file-userschristinalibraryapplication-supportcitrix-receivermodules-error-numbe r-30/

  • Cannot write to transaction log "C:\Program Files (x86)\SAP BusinessObjects\sqlanywhere\database\BI4_Audit.log

    Hi friends,
    My server Intelligence Agent (SIA) can not start because the database service "SQLAnywhereForBI" can't start also. I got the following error :
    "I . 08/09 20:35:06. A read failed with error code: (1392), Le fichier ou le répertoire est endommagé et illisible.
    E. 08/09 20:35:06. Fatal error:  cannot write to transaction log "C:\Program Files (x86)\SAP BusinessObjects\sqlanywhere\database\BI4_Audit.log"
    E. 08/09 20:35:06. unable to start database "C:\Program Files (x86)\SAP BusinessObjects\sqlanywhere\database\BI4_CMS.db"
    E. 08/09 20:35:06. Error writing to transaction log file
    I. 08/09 20:35:06. Database server shutdown due to startup error "
    inside the database log file.
    Please, can you help me

    I found the solution by following the advice given on the following forum:
    http://evtechnologies.com/transaction-logs-on-sybase-sql-anywhere-and-sap-​​businessobjects-bi-4-1
    In fact, I crushed the BI4_Audit.db and BI4_Audit.log files and I replaced with others that I got from another machine where I installed BO again and where the files are not corrupted . After I logged in to the CMS database by executing the command in the command line:
    dbisql -c "UID = DBA; PWD = mypassword; BI4 Server =; DBF = C: \ Program Files (x86) \ SAP BusinessObjects \ sqlanywhere \ database \ BI4_CMS.db."
    Once connected, I start the command:
    alter database 'C: \ Program Files (x86) \ SAP BusinessObjects \ sqlanywhere \ database \ BI4_Audit.db' alter log off;
    The query runs successfully.
    And that's good, I can be connected to BO smoothly.
    Thank you again Eric

  • Using digital editions 2.0, I cannot transfer books downloaded to digital editions from library to my nook.  Error message: failed to write destination file.

    Using digital editions 2.0, I cannot transfer books downloaded to digital editions from the library to my nook.  I get an error message: failed to write destination file. At first, this happened once in a while but now every time. Help!!!

    Modern kobo books should just use regular Adobe DRM and be readable on compatible ereaders that are authorized to the correct Adobe ID.
    I understand older kobo book had different DRM: but I wouldn't expect those to
    When Adobe DRM book information say 'no copying', that generally means no copying outside those Adobe DRM limitations.
    You should be able to copy within the restrictions.  You can double-check that with the sellers (Kobo).
    Just double-checking
    the pocket book is Adobe DRM compatible?
    that you have authorized your pocket book with your current Adobe ID?
    menu/Help/Authorize Device when plugged into ADE:  Library/Authorize Device if using the older more reliable ADE 1.7.2
    If the pocket book is already authorized but to a different ID, you will need to deauthorize it first, ctrl-shift-E to ADE with device plugged in (or cmd-shift-E on Mac).
    Be aware that will lose the ability to read DRM books authorized with the previous ID.

  • Weird error: "Cannot write file summary in a read-only environment"

    Disclaimer: We are using an old version of bdb - 3.2.76 but are not able to easily upgrade.
    We see this occasionally in production. From looking at the code it looks like critical eviction is happening since more memory is used then the limit we set then eviction is happening but then failing since the env is read only. I'm just wondering how it got to this point. we set the max size (je.maxMemory) to 1572864 bytes.
    This is not urgent but is adding noise to logs so any suggestions would be welcome...
    <application specific exception>
    …causedBy com.sleepycat.je.DatabaseException: (JE 3.2.76) Cannot write file summary in a read-only environment
    at com.sleepycat.je.cleaner.UtilizationProfile.putFileSummary(UtilizationProfile.java:720)
    at com.sleepycat.je.cleaner.UtilizationProfile.flushFileSummary(UtilizationProfile.java:708)
    at com.sleepycat.je.cleaner.UtilizationTracker.evictMemory(UtilizationTracker.java:120)
    at com.sleepycat.je.evictor.Evictor.evictBatch(Evictor.java:314)
    at com.sleepycat.je.evictor.Evictor.doEvict(Evictor.java:253)
    at com.sleepycat.je.evictor.Evictor.doCriticalEviction(Evictor.java:279)
    at com.sleepycat.je.dbi.CursorImpl.close(CursorImpl.java:690)
    at com.sleepycat.je.dbi.CursorImpl.close(CursorImpl.java:660)
    at com.sleepycat.je.Cursor.endRead(Cursor.java:1820)
    at com.sleepycat.je.Cursor.retrieveNextAllowPhantoms(Cursor.java:1616)
    at com.sleepycat.je.Cursor.retrieveNext(Cursor.java:1397)
    at com.sleepycat.je.Cursor.getNext(Cursor.java:456)
    ...

    Hi Nick,
    It is strange to me also that this is happening in a read-only env. Looking at the code, we don't prevent this sort of eviction in the 3.2 release or later releases. Yet we've never seen this problem before.
    This sort of eviction only happens when writing is occurring. Of course, in a read-only env there is no writing. The only way I can think of for this to occur in a read-only env is when there is a very large recovery interval -- the amount of log between the last checkpoint start and the end of the log. This can occur if you didn't close the env cleaning when you last wrote to it, or if the last checkpoint just happened to be very large.
    So one thing you could try is to ensure that you have a small checkpoint when you write to the log, before opening it in read-only mode. To do this, just before you call Environment.close, call Environment.checkpoint(new CheckpointConfig().setForce(true)). This will do one checkpoint before closing the env, and then another during the close. The last checkpoint should be small.
    If you can't do this, or it isn't sufficient, you could increase the je.cleaner.detailMaxMemoryPercentage env config property. This is the max amount of memory (% of total cache) used for the information that is being evicted. Since nothing can really be evicted in read-only mode, there is no harm in setting this to a much higher value than the default (2). I would try 10. This doesn't reserve or waste any memory, it just prevents this sort of eviction from occurring until a larger part of the cache is used. This is probably the simplest solution.
    A third approach is to simply accept that this sort of eviction will be attempted, but try to prevent the exception. If you're willing to rebuild JE (and you're not a supported Oracle customer -- please contact us if you are), then you could simply replace the 'throws' statement with a 'return null' in src/com/sleepycat/je/cleaner/UtilizationProfile.java:
        private synchronized PackedOffsets putFileSummary(TrackedFileSummary tfs)
            throws DatabaseException {
            if (env.isReadOnly()) {
                throw new DatabaseException
                    ("Cannot write file summary in a read-only environment");
            }--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Scanning problem. Receive error message: cannot write file. Code 10,242,7. Please help

    I just purchased and installed a Canon MX 922 multi-function printer. I'm having a problem with the scanner in that the output after scanning cannot be displayed and is accompanied with an error message : Cannot write file. Code 10,242,7. This occurs when scanning documents and images. My operating system Windows XP (32).  Can anyone please help me solve this problem? Thank you.  

    Hello. Please try the following adjustment to see if we can resolve this issue: 1.  Open the IJ Scan Utility from your Desktop or the Canon Utilities listing of the Start Menu.2.  Click Settings.3.  On the left, choose the Auto Scan tab.4.  Click the Defaults button on the lower right.5.  Continue this process with each tab on the left.6.  Click OK at the bottom of the Settings menu. Once this has been done, try scanning from the IJ Scan Utility to test the unit. If these troubleshooting steps do not work, feel free to call us at 1-800-OKCANON.

Maybe you are looking for

  • Macbook Pro not recognizing blank CD

    When I insert a blank CD into the drive to burn music onto it, the CD doesn't show on the desktop like it usually does. I know it is a blank CD, I can find it in Disk Utility, but it doesn't show up anywhere else (including iTunes). I've checked my S

  • SWF header duration reduced to 2 frames after using a Motion Preset

    It seems that after you apply a Motion Preset the header of an exported SWF reports an incorrect duration of 2 frames even though its much longer. Also, after removing the elements that are related to the Motion Preset, the SWF still reports 2 frames

  • Ipad error message when connecting to itunes

    Itunes on PC tells me the ipad should have 64 bit version on the ipad.  This it does have already.  Removed and reloaded itunes several times, still the same problem for over a year!   PC has 64 bit version loaded too!

  • Don't want edited images showing up in same folder as RAW images

    As I go through my catalog of RAW images, I'll select an image (or more if I'm doing a pany/stacked), then use the "Edit in CS5" command.  After I edit the photo and save in a new/different folder (usually as a .jpeg), the saved image will then show

  • PXI-5402 timeout error

     I am running into an issue with the PXI-5402 Function Generator card in my system. First, here is the configuration of my system: PXI Chassis (1045) PXI-8361 controller card (MXI-Express) controlled by a remote computer running the PCI-E controller