I am having a problen accessing files in PS CC

I have started having a problems with Photoshop, I am running PS CC 2014 with the latest update. When I open PS  then go  go to File> browse in bridge to access my files, I get the message' building criteria', but nothing happen

Have you reset Bridge’s Preferences? (And re-installing does not invalidate that question.)
If the issue occurs in Bridge maybe you should also post over at
Bridge General Discussion

Similar Messages

  • Time capsule disconnects when accessing files

    I set up the time capsule on my comcast business class internet. It also serves as my wifi router as well.I have been having issues when 7 users are connected to this wifi router and then when we try accessing files on it, it disconnects us and we have to reconnect to the wifi and then try to access again.
    It has become a huge inconvience lately, and quite honestly I did not update to Maverick becauce I was nervous of the issues that would incur.
    When I bought the time capsule, I wish Apple would have helped set this up as we purchased over $15k from them in equipment. I am just really regretting the coplexity of this and the fact that we can not access this time capsule remotely at all.
    NEED HELP ASAP!

    How is the TC setup and what mode is it working in?
    Your profile shows you are using Mavericks.. and we know Mavericks is having issues with accessing files on the TC.
    Then this line confuses me.
    It has become a huge inconvience lately, and quite honestly I did not update to Maverick becauce I was nervous of the issues that would incur.
    So you did update to Mavericks or not?? Do you have a mix of Mountain Lion and Mavericks?
    Why are 7 people trying to access files on the TC?
    The TC is not a NAS.. it is a target for Time Machine backups. If you are using it as a file store, are you also using it as TM backup?? That is likely to cause some issues.
    If you spent that much money with apple did you ring their support and get them to talk you through the issues?
    Keep hassling them if they are not helping you.. They have supplied you equipment that does not work.. you have the right to return it.
    If we are going to be able to help.. spell this line out a bit more.
    I have been having issues when 7 users are connected to this wifi router and then when we try accessing files on it, it disconnects us and we have to reconnect to the wifi and then try to access again.
    Does that mean, when only two or three users are working it is fine? What is the tipping point?
    How do you reconnect to the wifi?
    Is everyone trying to access the same file, ie a company database??

  • Accessing file shares from JSP

    Hi,
    I need to be able to access file shares from a JSP page. Here's the JSP code:
    <%@ page language="java" %>
    <%@ page import="java.io.*" %>
    <%@ page errorPage="errorPage.jsp" %>
    <%
    String fileSystemPath = "\\\\130.26.1.199\\MeetingManager30\\test.txt";
    File f = new File(fileSystemPath);
    f.createNewFile();
    %>The above code resides in a server with IP 130.9.68.6 and is deployed onto the Tomcat on the server.
    When I tried to run the above code, I got this error
    java.io.IOException: Access is denied at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:827) at org.apache.jsp.test_jsp._jspService
    (test_jsp.java:55) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service
    (JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke
    (StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke
    (StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke
    (StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
    nection(Http11Protocol.java:711) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
    (ThreadPool.java:687) at java.lang.Thread.run(Thread.java:536) Seems like I'm having a system level security setting problem here.
    I know it's a security issue, because I've encountered the equivalent problem in ASP/IIS, and I had to give a domain user rights to both the IIS Virtual Directory, and the file share to be able to access.
    Any ideas how to set up Tomcat to be able to access the file share successfully?
    Thanks in advance!

    Hello Veer,
    From what you have posted it looks like while logging your error another problem occurred. Did you get any output from your System.out calls? If not can you try adding a few in order to home in the problem area.
    Hussein Badakhchani
    www.orbism.com

  • Adobe Bridge shuts down when I try to access files on my external drive. Have been using the drive for months with no problems.

    Adobe Bridge shuts down when I try to access files on my external drive. Have been using the drive for several months with no problems.

    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    A lot more information about your hardware and software is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    a screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Having trouble saving tiff files to server

    Hi all,
    I'm having trouble saving tiff files to our server (a mac pro running OSX 10.5.7 client not server). I get the error message 'could not save "filename" because write access was not granted. The disk in question is set to ignore permissions and the other 3 Macs on the network have no problems.
    Bizarrely this only seems to happen when saving as a Tiff file, I can save as JPEG without issue! The file will usually save after a few attempts, sometimes six or seven save as' are needed.
    This problem comes and goes, but at the moment its pretty bad.
    This is becomming very frustrating as Tiff is our prefered format and we work as a team so have to save to the server.
    Any ideas?

    Just to expand on Buko's correct ansswer, this is the boilerplate text I use in connection to saving to a network (please NOTE the part where it explains that normally, it does work, but that it is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe):
    If you are opening files over a network or saving them to a network server, please cease and desist immediately in the event you are currently experiencing problems with one or more files. Working across a network is not supported.
    See: 
    http://www.adobe.com/support/techdocs/322391.html
      Copy the CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
         Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work.   It should.
        Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
      If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.
    When problems arise, a lot of valuable work can be lost.

  • [Solved] Apache and Plex can't access files on my second drive anymore

    Hi, I'm  having a strange issue accessing files on a second drive through web servers.  I have a main SSD drive, and a second HDD that mounts to ~/Media with `/dev/sdb1  /home/diego/Media  ext4  defaults,noatime,data=writeback,x-gvfs-show 0 0`.  I used to have set up my Apache server (2.4) with some symlinks to files in Media, and was able to access them externally.  I also had set up Plex to read from that drive, and everything worked flawlessly.  Ever since a few days ago I noticed that I couldn't access my files externally anymore, and today I noticed Plex isn't able to access my files either.
    I really don't remember having changed anything that would affect this, and the permissions haven't changed since it used to work.  Anybody have any ideas of things to try or how to debug?
    Thanks!
    Last edited by aiguofer (2014-03-31 22:34:54)

    I just did chown -R ~ <user>:users and chmod -R 755 ~ and all is well

  • Server.log and access file previous record are overwrite

    Hi,
    I am having problem that my server.log and access file in all instance have been overwrite by latest record. Suppose all the system.out.print will append to the server.log. However, my problem is the log which has been written to server.log in earlier time (mayb morning till afternoon) is replaced. From the server.log, I am only able to view the log which start from 11 pm. The same case happen to access file as well. This incident is not happen everyday but sometimes.
    I am wondering what is happen and how i can solve the problem.
    Any help/guidance is highly appreaciate.
    Thanks.

    Hi,
    Did anyone know the solution for this issues..
    Thanks.

  • Unable to view and access files

    Since updating to Yosemite on my MacBook Pro (early 2011), I have been unable to view and access files on my time capsule. I can still access my backups through Time Machine, but not able to view or access the files that I saved onto the device (by method of copy and paste from my laptop hard drive to the TM). Before the "upgrade" to Yosemite I used to open Time Machine, close it, and then the icon of the TM (just like a typical external hard drive) would show up on the desktop. I would double click and open the TM icon and be able to view all the files that I saved onto the hard drive of the TM, as well as a folder that said "Time Machine Backups." Now, all I see now is my MacBrook Pro Icon and a folder named "File Server." and when I double click on either icon there is nothing to view. Please help!

    Try this..
    Reset the TC to factory and redo the setup.. I strongly recommend the following setup.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Setup the TC again.
    ie Start from a factory reset. No files are lost on the hard disk doing this.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg TCgen5 and TCwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use TC24ghz and TC5ghz with fixed channels as this also seems to help stop the nonsense. But this can be tried in the second round.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the TC always takes the same IP address.. you will need to do this on the main router using dhcp reservation.. or a bit more complex setup using static IP in the TC. But this is important.. having IP drift all over the place when Yosemite cannot remember its own name for 5 min after a reboot makes for poor networking. If the TC is main router it will not be an issue.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric.. but this change will mess up your TM backup.. so be prepared to do a new full backup. Sorry.. keep this one for second round if you want to avoid a new backup.
    5. Mount the TC disk in the computer manually.
    In Finder, Go, Connect to server from the top menu,
    Type in SMB://192.168.0.254 (or whatever the TC ip is which you have now made static. As a router by default it is 10.0.1.1 and I encourage people to stick with that unless you know what you are doing).
    You can use name.. SMB://TCgen5.local where you replace TCgen5 with your TC name.. local is the default domain of the TC and doesn't change.
    However names are not so easy as IP address.. nor as reliable. At least not in Yosemite they aren't. The domain can also be an issue if you are not plugged or wireless directly to the TC.
    6. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only. If you use ethernet also do it for ethernet.. this is important.
    You can see the summary of the same thing from apple here.
    OS X Yosemite: Connect to shared computers and file servers on a network
    I have given somewhat more specific instructions which I believe are important.
    With the TC manually mounted can you access the files??
    If not please tell me and I will continue to think how to change permissions.
    But please if you can at least open a directory and tell me what the permissions are currently set to.
    eg. This is a directory on my TC.

  • Having Trouble Downloading Certain Files

    I just got a Droid Razr the other day after accidentally dropping my Droid 2 off a third floor balcony. I'm enjoying the phone so far, but I'm having trouble downloading certain files. I use my phone to listen to podcasts. With my old phone I was able to download them from their respective websites by hold-clicking the download link, and clicking "Save Link." Now when I do that, I get the little "Starting Download" message, then, nothing. Is there some setting or something that isn't right?
    Full disclosure, when I was transferring the files from my old 8GB SD card to my new 16GB card, I accidentally put the files on the internal storage instead of the SD card, so after getting the files onto the right card, I deleted those files from internal storage. I was thinking perhaps I accidentally deleted some system file or something that would cause this problem, but I really have no idea.
    Thanks in advance for your help!

    Try Opera Mobile because a number of stock browsers have issues downloading from some sites.... 
    As for the possibilty od deleting system files you should not have access to any system files that would cause and device issues because you have to have Superuser rights and the system wont have this without voiding warrenty..

  • Error message when accessing file browser on NMH300

    Hi, i have a problem here. The error message: "The media hub is not responding, please confirm the device is powered on and connected to your network." appears whenever i try to access File Browser on the NMH300 media hub. I tried rebooting the device, resetting the device but to no avail. I still get the error message. I am using the updated firmware 3.18.4. Any idea how to solve this problem?
    Also, i can't seems to rollback the firmware to the 2.17 version even though i have done a reset of the device by pressing the reset button at the back of the device. any help on this?
    Solved!
    Go to Solution.

    Hi,
    Try to press and hold down the reset button at the back of the mediahub for 30 seconds then check if its now reset back to factory defaults.
    I'm curious, when you began having that problem was it at the time when you created a folder under "File Browser" ? Maybe the Linksys article below is the right way of creating folders on the mediahub or just create a folder using the mapped drive.
    Creating and Deleting New Shares Displayed in File Browser 
    Anyway I hope this helps.
    Message Edited by Wilkins377 on 06-17-2009 08:24 AM

  • Random Access File not working, Need Help!!!!

    I am having trouble creating and displaying a Random Access File for hardware tools. I have included the code below in eight files:
    // Exercise 14.11: HardwareRecord.java
    package org.egan; // packaged for reuse
    public class HardwareRecord
      private int recordNumber;
      private String toolName;
      private int quantity;
      private double cost;
      // no-argument constructor calls other constructor with default values
      public HardwareRecord()
        this(0,"",0,0.0); // call four-argument constructor
      } // end no-argument HardwareRecord constructor
      // initialize a record
      public HardwareRecord(int number, String tool, int amount, double price)
        setRecordNumber(number);
        setToolName(tool);
        setQuantity(amount);
        setCost(price);
      } // end four-argument HardwareRecord constructor
      // set record number
      public void setRecordNumber(int number)
        recordNumber = number;
      } // end method setRecordNumber
      // get record number
      public int getRecordNumber()
        return recordNumber;
      } // end method getRecordNumber
      // set tool name
      public void setToolName(String tool)
        toolName = tool;
      } // end method setToolName
      // get tool name
      public String getToolName()
        return toolName;
      } // end method getToolName
      // set quantity
      public void setQuantity(int amount)
        quantity = amount;
      } // end method setQuantity
      // get quantity
      public int getQuantity()
        return quantity;
      } // end method getQuantity
      // set cost
      public void setCost(double price)
        cost = price;
      } // end method setCost
      // get cost
      public double getCost()
        return cost;
      } // end method getCost
    } // end class HardwareRecord------------------------------------------------------------------------------------------------
    // Exercise 14.11: RandomAccessHardwareRecord.java
    // Subclass of HardwareRecord for random-access file programs.
    package org.egan; // package for reuse
    import java.io.RandomAccessFile;
    import java.io.IOException;
    public class RandomAccessHardwareRecord extends HardwareRecord
      public static final int SIZE = 72;
      // no-argument constructor calls other constructor with default values
      public RandomAccessHardwareRecord()
        this(0,"",0,0.0);
      } // end no-argument RandomAccessHardwareRecord constructor
      // initialize a RandomAccessHardwareRecord
      public RandomAccessHardwareRecord(int number, String tool, int amount, double price)
        super(number,tool,amount,price);
      } // end four-argument RandomAccessHardwareRecord constructor
      // read a record from a specified RandomAccessFile
      public void read(RandomAccessFile file) throws IOException
        setRecordNumber(file.readInt());
        setToolName(readName(file));
        setQuantity(file.readInt());
        setCost(file.readDouble());
      } // end method read
      // ensure that name is proper length
      private String readName(RandomAccessFile file) throws IOException
        char name[] = new char[15], temp;
        for(int count = 0; count < name.length; count++)
          temp = file.readChar();
          name[count] = temp;
        } // end for
        return new String(name).replace('\0',' ');
      } // end method readName
      // write a record to specified RandomAccessFile
      public void write(RandomAccessFile file) throws IOException
        file.writeInt(getRecordNumber());
        writeName(file, getToolName());
        file.writeInt(getQuantity());
        file.writeDouble(getCost());
      } // end method write
      // write a name to file; maximum of 15 characters
      private void writeName(RandomAccessFile file, String name) throws IOException
        StringBuffer buffer = null;
        if (name != null)
          buffer = new StringBuffer(name);
        else
          buffer = new StringBuffer(15);
        buffer.setLength(15);
        file.writeChars(buffer.toString());
      } // end method writeName
    } // end RandomAccessHardwareRecord------------------------------------------------------------------------------------------------
    // Exercise 14.11: CreateRandomFile.java
    // creates random-access file by writing 100 empty records to disk.
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import org.egan.RandomAccessHardwareRecord;
    public class CreateRandomFile
      private static final int NUMBER_RECORDS = 100;
      // enable user to select file to open
      public void createFile()
        RandomAccessFile file = null;
        try  // open file for reading and writing
          file = new RandomAccessFile("hardware.dat","rw");
          RandomAccessHardwareRecord blankRecord = new RandomAccessHardwareRecord();
          // write 100 blank records
          for (int count = 0; count < NUMBER_RECORDS; count++)
            blankRecord.write(file);
          // display message that file was created
          System.out.println("Created file hardware.dat.");
          System.exit(0);  // terminate program
        } // end try
        catch (IOException ioException)
          System.err.println("Error processing file.");
          System.exit(1);
        } // end catch
        finally
          try
            if (file != null)
              file.close();  // close file
          } // end try
          catch (IOException ioException)
            System.err.println("Error closing file.");
            System.exit(1);
          } // end catch
        } // end finally
      } // end method createFile
    } // end class CreateRandomFile-------------------------------------------------------------------------------------------------
    // Exercise 14.11: CreateRandomFileTest.java
    // Testing class CreateRandomFile
    public class CreateRandomFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateRandomFile application = new CreateRandomFile();
         application.createFile();
       } // end main
    } // end class CreateRandomFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.11: WriteRandomFile.java
    import java.io.File;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.RandomAccessHardwareRecord;
    public class WriteRandomFile
      private RandomAccessFile output;
      private static final int NUMBER_RECORDS = 100;
      // enable user to choose file to open
      public void openFile()
        try // open file
          output = new RandomAccessFile("hardware.dat","rw");
        } // end try
        catch (IOException ioException)
          System.err.println("File does not exist.");
        } // end catch
      } // end method openFile
      // close file and terminate application
      public void closeFile()
        try // close file and exit
          if (output != null)
            output.close();
        } // end try
        catch (IOException ioException)
          System.err.println("Error closing file.");
          System.exit(1);
        } // end catch
      } // end method closeFile
      // add records to file
      public void addRecords()
        // object to be written to file
        RandomAccessHardwareRecord record = new RandomAccessHardwareRecord();
        int recordNumber = 0;
        String toolName;
        int quantity;
        double cost;
        Scanner input = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
         "To terminate input, type the end-of-file indicator ",
         "when you are prompted to enter input.",
         "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
         "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s %s\n%s", "Enter record number (1-100),",
          "tool name, quantity and cost.","? ");
        while (input.hasNext())
          try  // output values to file
            recordNumber = input.nextInt();  // read record number
            toolName = input.next();         // read tool name
            quantity = input.nextInt();      // read quantity
            cost = input.nextDouble();       // read cost
            if (recordNumber > 0 && recordNumber <= NUMBER_RECORDS)
              record.setRecordNumber(recordNumber);
              record.setToolName(toolName);
              record.setQuantity(quantity);
              record.setCost(cost);         
              output.seek((recordNumber - 1) *   // position to proper
               RandomAccessHardwareRecord.SIZE); // location for file
              record.write(output);
            } // end if
            else
              System.out.println("Account must be between 0 and 100.");
          } // end try   
          catch (IOException ioException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input.nextLine();  // discard input so enter can try again
          } // end catch
          System.out.printf("%s %s\n%s","Enter record number (1-100),",
            "tool name, quantity and cost.", "? ");
        } // end while
      } // end method addRecords
    } // end class WriteRandomFile-------------------------------------------------------------------------------------------------
    // Exercise 14.11: WriteRandomFileTest.java
    // Testing class WriteRandomFile
    public class WriteRandomFileTest
       // main method begins program execution
       public static void main( String args[] )
         WriteRandomFile application = new WriteRandomFile();
         application.openFile();
         application.addRecords();
         application.closeFile();
       } // end main
    } // end class WriteRandomFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.11: ReadRandomFile.java
    import java.io.EOFException;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import org.egan.RandomAccessHardwareRecord;
    public class ReadRandomFile
      private RandomAccessFile input;
      // enable user to select file to open
      public void openFile()
        try // open file
          input = new RandomAccessFile("hardware.dat","r");
        } // end try
        catch (IOException ioException)
          System.err.println("File does not exist.");
        } // end catch
      } // end method openFile
      // read and display records
      public void readRecords()
        RandomAccessHardwareRecord record = new RandomAccessHardwareRecord();
        System.out.printf("%-10s%-15s%-15s%10s\n","Record","Tool Name","Quantity","Cost");
        try // read a record and display
          while(true)
            do
              record.read(input);
            }while (record.getRecordNumber() == 0);
            // display record contents
            System.out.printf("%-10d%-12s%-12d%10.2f\n", record.getRecordNumber(),
             record.getToolName(), record.getQuantity(), record.getCost());
          } // end while
        } // end try
        catch (EOFException eofException)
          return; // end of file was reached
        } // end catch
        catch (IOException ioException)
          System.err.println("Error reading file.");
          System.exit(1);
        } // end catch
      }  // end method readRecords
      // close file and terminate application
      public void closeFile()
        try // close file and exit
          if (input != null)
            input.close();
        } // end try
        catch (IOException ioException)
          System.err.println("Error closing file.");
          System.exit(1);
        } // end catch
      } // end methode closeFile
    } // end class ReadRandomFile-------------------------------------------------------------------------------------------------
    // Exercise 14.11: ReadRandomFileTest.java
    // Testing class ReadRandomFile
    public class ReadRandomFileTest
       // main method begins program execution
       public static void main( String args[] )
         ReadRandomFile application = new ReadRandomFile();
         application.openFile();
         application.readRecords();
         application.closeFile();
       } // end main
    } // end class ReadRandomFileTest-------------------------------------------------------------------------------------------------
    Below is the sample data to be inputted in the random file:
    Record Tool Name Quantity Cost
    Number
    3 Sander 18 35.99
    19 Hammer 128 10.00
    26 Jigsaw 16 14.25
    39 Mower 10 79.50
    56 Saw 8 89.99
    76 Screwdriver 236 4.99
    81 Sledgehammer 32 19.75
    88 Wrench 65 6.48

    I have managed to fix your program.
    The solution
    The records are sized by the various Writes that occur.
    A record is an int + 15 chars + int + double.
    WriteInt writes 4 bytes
    WriteChar (Called by WriteChars) write 2 bytes
    WriteDouble writes 8 bytes.
    (In Java 1.5 )
    4 bytes + 30 Bytes + 4Bytes + 8 Bytes. = 46 Bytes.
    The details are in the API for Random Acces Files at
    http://java.sun.com/j2se/1.5.0/docs/api/java/io/RandomAccessFile.html
    The code for RandomAccessHardwareRecord line
    public statis final int SIZE = 72needs to have the 72 changed to 46
    This should make your code work.
    I have hacked around with some other bits and will send you my code if you want but that is the key. The asnwers you were getting illustrated a bunch of bytes being read as (say) an int and beacuse of the wrong record length, they were just a bunch of 4 bytes that evaluated to whetever was at that point in the file.
    When the record was written the line
    output.seek((recordNumber -1 ) * RandomAccessHardwareRecord.SIZE);had SIZE as 72 and so the seek operation stuck the file pointer in the wrong place.
    This kind of stuff is good fun and good learning for mentally getting a feel for record filing but in real problems you either serialize your objects or use XML (better) or use jdbc (possibley even better depending on what you are doing).
    I would echo sabre comment about the program being poor though because
    If the program is meant to teach, it is littered with overly complex statements and if it is meant to be a meaningful program, the objects are too tied to hardware and DAO is the way to go. The problem that the program has indicates that maybe it is maybe fairly old and not written with java 2 in mind.
    As for toString() and "Yuk"
    Every class inherits toString() from Object. so if you System.out.println(Any object) then you will get something printed. What gets printed is determined by a complex hieracrchy of classes unless you overRide it with your own method.
    If you use UnitTesting (which would prevent incorrect code getting as far as this code did in having an error), then toString() methods are really very useful.
    Furthermore, IMO Since RandomAccessHardwareRecord knows how to file itself then I hardly think that knowing how to print itself to the console is a capital offence.
    In order to expand on the 72 / 46 byte problem.
    Message was edited by:
    nerak99

  • Time Capsule And Snow Leopard - Problems Accessing Files / Folders

    Hi all,
    I am having a problem accessing the time capsule drive and my networked Macs drop boxes etc from the finder. They were working fine, possibly before 10.6.1 and are very intermittent at the moment. If I goto 'go' then 'network', it shows all connected devices fine however accessing them seems to be sketchy. For example, from my Mac Pro upstairs, I can see the time capsule and macbook fine, I can connect to them fine, even screen share with no problems, however when I try to access the drop box, or anything at folder level, I get a spinning type icon in the lower right of the finder by the new zoom bar that just keeps spinning and nothing happens. I have this problem accessing the 'data' folder on my time capsule from both the Mac Pro and the MacBook unless I access it from the drive it mounts on the desktop, I get straight in that way! It's quite infuriating really. Anyone else having this problem? Just to update, I have both Macs connected to the time capsule for time machine and backups are working fine. It would seem that you do eventually get into the folder you try to access, but takes forever for some reason.
    Cheers.
    Message was edited by: Judda

    I couldn't access files on a drive attached to my TC recently, and I fixed the problem by repairing permissions on my main hard drive (the one in my computer.) This option is in Disk Utility. Not sure if that will work for you but it's worth a shot, it doesn't hurt anything! A lot of people recommend repairing permissions every time you update your operating system.

  • N97 freezing up - unable to access file manager/co...

    I don't know if anyone can help me ... My n97 was working fine uptil yesterday! however, this morning it kept getting stuck e.g. not able to see the photos, accessing apps, or file manager. Now even the four contacts I have on my home screen aren't showing ... or rather one isn't the other three are horribly blurred images!
    I've tried giving a hard reset which it did but it's still not working. I'm trying to uninstall some apps I don't need but it freezes up every single time. When I try to access file manager it gets stuck showing "opening". I can't access my messages because it freezes.
    I've got a feeling its something to do with the phone memory. I've recently updated to the new firmware version 11 ... however I've found out it's gotten slower!
    Please can someone help me ... I'm going crazy I simply can't use my fone!
    Solved!
    Go to Solution.

    Can anyone help????
    I purchased a Nokia N97 approx 6 weeks ago, I am now up to handset number 4 and am about to take it back AGAIN!!!
    I am continuously having problems with the phone freezing, black/blue screens, "unable to use/access functions" coming up on screen, when switching off phone it goes through all the applications I have had opened before it turns off, just to name a few.
    These are just a few issues that I have been having and continue to have with the handsets. I love using the N97 and am quite happy to keep using it, but am starting to think it is not a reliable phone at all and unfortunately I signed up to a 2 year contract.
    I have gone online on numerous occasions and checked for software updates and nothing comes up on my phone, so I assume that the phone has the latest software. If anyone has any solutions to my problems can you please let me know as I am not gettig any help from Nokia or my service provider.
    Thank you

  • Cannot access files on Android phone

    Hello! I just setup a WD My Cloud 3TB and copied some pictures to a private share.  When using WD My Cloud app on my android phone, these pictures are getting listed; however, when I try to launch/open any picture, I get the message "cannot access file." Also, on WD Photos app, I get the message "No photos found." On my Windows 8 PC, using WD My Cloud, I can see and open pictures. No problem here. The problem seems to be only through remotely. I'm puzzled why I'm presented the list of pictures but when I try to open I'm not allowed to. Thanks for your attention!Ravi.

    denisdyer wrote:
    Hi,I hope you can help, I'm having exactly the sam eissue. I bought the my cloud yesterday have uploaded about 1TB of photos and video and i can access everything no problem except the photos. When I try and open any of the photos form my samsung galaxy S5 I get the spinning circle and then it says the photo cannot be accessed, do I just have to wait? Any assitance would be appreciatedWhich Android app are you using that generates the error? The WD Photos or the WD My Cloud app? May want to unsintall the app and reinstall it. Sometimes that can fix strange app behavior.

  • How can multiple users edit and access same ACCESS file

    Hello,
    We have 2 access files and multiple users needs to edit and access those files.
    How can I enable mulitple access but only one user can edit rest of users are in read-only mode for one file and multiple access and edit on the another file.

    Hi,
    You should split your database in a front and backend. Then create two seperate front ends which you can distribute. If you need readonly you can opt for two options, setting the attributes of the file to read only or create a front end with read only forms.
    The last one takes a little more work but is safer than setting the attributes to read only because people can change that back themselfs.
    Maurice

Maybe you are looking for

  • Issue with JMS XAQueueSession

    My Application Server is SAP NetWeaver Application Server CE7.1 While I'm creating XAQueueSession and publishing, the messages are not published into the queue. Is there any error in my code? public class JMSSender extends javax.servlet.http.HttpServ

  • Xp_delete_file

    I created a maintenance plan to remove files older than 2 weeks. The plan executes successfully, but does not work. I notice in the log that the single quotes are doubled. I ran one command which worked, but others did not. Is there a problem with th

  • Current progress in fixing 10.4.6 failed install

    I'm now making some progress in understanding the failiure, however it's leaving me with some BIG questions as to the checks apple put in. This still hasn't fully worked for me! This is also an abbreviated account, please don't try unless your famili

  • CS 5.5. Flatten Selection Batch Command Problem

    Hello, I created a command "Flatten Selection" using the History panel. It now appears on the Commands menu. However, I need to Batch apply this command to 80 icons on a layer of my image so I can flatten them individually. How can I do this? Thank Y

  • LABVIEW capacity to handle 2 systems at once(?).

    We have a leak test system working with LABVIEW V5.1 , we need to know if the system can be expanded to test 2 parts at the same time without buying a new PC and a new software license. We understand that the program will need changes, but can it be