BlueJ Help [Mainly File Operations, I think]

I've been working on my Computers project for ages and have been breaking my head over it. It's 5AM and I'm still awake. Could somebody please please please help me with this code:
    public void Rates() throws IOException, IndexOutOfBoundsException
        double xrxClrRatesTemp2;
        double xrxBWRatesTemp2;
        int xrxLoop3;
        java.util.ArrayList<String> xrxClrRatesTemp1 = new java.util.ArrayList<String>();
        java.util.ArrayList<Double> xrxClrRatesTemp = new java.util.ArrayList<Double>();
        java.util.ArrayList<String> xrxBWRatesTemp1 = new java.util.ArrayList<String>();
        java.util.ArrayList<Double> xrxBWRatesTemp = new java.util.ArrayList<Double>();
        System.out.println("Xerox - Golden Bird Stores");
        System.out.println("What would you like to do?");
        Xerox:
        do
            xrxFlag = 0;
            xrxFlag1 = 0;
            xrxFlag2 = 0;
            xrxFlag3 = 0;
            FileWriter xrxClrFW = new FileWriter("Xerox Colour Rates.txt", true) ;
            FileReader xrxClrFR = new FileReader("Xerox Colour Rates.txt");
            BufferedReader xrxClrBR = new BufferedReader (xrxClrFR);
            FileWriter xrxBWFW = new FileWriter("Xerox BW Rates.txt", true) ;
            FileReader xrxBWFR = new FileReader("Xerox BW Rates.txt");
            BufferedReader xrxBWBR = new BufferedReader (xrxBWFR);
            String xrxClrText;
            String xrxBWText;
            while( (xrxClrText = xrxClrBR.readLine() ) != null )
                xrxClrRatesTemp1.add(0, xrxClrText);
                double xrxClrTempVal = Double.parseDouble(xrxClrRatesTemp1.get(0));
                xrxClrRatesTemp.add(0, xrxClrTempVal);
            while( (xrxBWText = xrxBWBR.readLine() ) != null )
                xrxBWRatesTemp1.add(0, xrxBWText);
                double xrxBWTempVal = Double.parseDouble(xrxBWRatesTemp1.get(0));
                xrxBWRatesTemp.add(0, xrxBWTempVal);
            if( (xrxClrRatesTemp.isEmpty() ) == true)
                String xrxClrTempAdd = "0";
                xrxClrRatesTemp1.add(0, xrxClrTempAdd);
                double xrxClrTempAdd2 = Double.parseDouble(xrxClrRatesTemp1.get(0));
                xrxClrRatesTemp.add(0, xrxClrTempAdd2);
            if( (xrxBWRatesTemp.isEmpty() ) == true)
                String xrxBWTempAdd = "0";
                xrxBWRatesTemp1.add(0, xrxBWTempAdd);
                double xrxBWTempAdd2 = Double.parseDouble(xrxBWRatesTemp1.get(0));
                xrxBWRatesTemp.add(0, xrxBWTempAdd2);
            BufferedWriter xrxClrBW = new BufferedWriter(xrxClrFW);
            PrintWriter xrxClrOutFile = new PrintWriter(xrxClrBW);
            BufferedWriter xrxBWBW = new BufferedWriter(xrxBWFW);
            PrintWriter xrxBWOutFile = new PrintWriter(xrxBWBW);
            Xerox1:
            do
                xrxClrRatesTemp.ensureCapacity(1);
                xrxBWRatesTemp.ensureCapacity(1);
                InputStreamReader xrxRead = new InputStreamReader(System.in);
                BufferedReader xrxBr = new BufferedReader(xrxRead);
                System.out.println("1. Increase Xerox Rates");
                System.out.println("2. Decrease Xerox Rates");
                System.out.println("Type Exit if you wish to terminate.");
                System.out.println();
                System.out.println("Kindly enter a number to select a category.");
                String xrxCheck = xrxBr.readLine();
                if (xrxCheck.equalsIgnoreCase(xrxStr3))
                    break Xerox;
                else if (xrxCheck.equals("1"))
                    XeroxInc:
                    do
                        xrxFlag1 = 1;
                        InputStreamReader xrxIncRead = new InputStreamReader(System.in);
                        BufferedReader xrxIncBr = new BufferedReader(xrxIncRead);
                        System.out.println();
                        System.out.println("1. Increase Colour Xerox Rates.");
                        System.out.println("2. Increase B/W Xerox Rates.");
                        String xrxIncCheck = xrxIncBr.readLine();
                        if (xrxIncCheck.equals("1"))
                            xrxFlag2 = 1;
                            XeroxClr1:
                            do
                                InputStreamReader xrxClrRead1 = new InputStreamReader(System.in);
                                BufferedReader xrxClrBr1 = new BufferedReader(xrxClrRead1);
                                System.out.println();
                                System.out.println("How much would you like to increase the rates by?");
                                System.out.println("The current rate is: Rs. " + xrxClrRatesTemp.get(0) + " per side.");
                                String xrxClrCheck1 = xrxClrBr1.readLine();
                                double xrxClrCheck2;
                                char xrxClrCheckA = xrxClrCheck1.charAt(0);
                                if (xrxClrCheck1.equalsIgnoreCase(xrxStr3))
                                    break Xerox1;
                                else if ( (xrxClrCheckA >= 'a' && xrxClrCheckA <= 'z') || (xrxClrCheckA >= 'A' && xrxClrCheckA <='Z') || ( (xrxClrCheckA  >= '0' && xrxClrCheckA <= '9') == false ) )
                                    System.out.println("That is not an acceptable value. Please try again.");
                                    continue XeroxClr1;
                                else if ( (xrxClrCheck2 = Double.parseDouble(xrxClrCheck1) ) >= 0)
                                    xrxFlag3 = 1;
                                    xrxClrCheck2 = Double.parseDouble(xrxClrCheck1);
                                    System.out.println();
                                    xrxClrRatesTemp2 = xrxClrRatesTemp.get(0);
                                    xrxClrRatesTemp2 = xrxClrRatesTemp2 + xrxClrCheck2;
                                    xrxClrRatesTemp.set(0, xrxClrRatesTemp2);
                                    System.out.println("The rate has been increased by Rs. " + xrxClrCheck2 + " per side.");
                            while(xrxFlag3 == 0);
                        else if (xrxIncCheck.equals("2"))
                            xrxFlag2 = 1;
                            XeroxBW1:
                            do
                                InputStreamReader xrxBWRead1 = new InputStreamReader(System.in);
                                BufferedReader xrxBWBr1 = new BufferedReader(xrxBWRead1);
                                System.out.println();
                                System.out.println("How much would you like to increase the rates by?");
                                System.out.println("The current rate is: Rs. " + xrxBWRatesTemp.get(0) + " per side.");
                                String xrxBWCheck1 = xrxBWBr1.readLine();
                                double xrxBWCheck2;
                                char xrxBWCheckA = xrxBWCheck1.charAt(0);
                                if (xrxBWCheck1.equalsIgnoreCase(xrxStr3))
                                    break Xerox1;
                                else if ( (xrxBWCheckA >= 'a' && xrxBWCheckA <= 'z') || (xrxBWCheckA >= 'A' && xrxBWCheckA <='Z') || ( (xrxBWCheckA  >= '0' && xrxBWCheckA <= '9') == false ) )
                                    System.out.println("That is not an acceptable value. Please try again.");
                                    continue XeroxBW1;
                                else if ( (xrxBWCheck2 = Double.parseDouble(xrxBWCheck1) ) >= 0)
                                    xrxFlag3 = 1;
                                    xrxBWCheck2 = Double.parseDouble(xrxBWCheck1);
                                    System.out.println();
                                    xrxBWRatesTemp2 = xrxBWRatesTemp.get(0);
                                    xrxBWRatesTemp2 = xrxBWRatesTemp2 + xrxBWCheck2;
                                    xrxBWRatesTemp.set(0, xrxBWRatesTemp2);
                                    System.out.println("The rate has been increased by Rs. " + xrxBWCheck2 + " per side.");
                            while(xrxFlag3 == 0);
                        else
                            System.out.println("An incorrect command was entered. Please try again.");
                            System.out.println();
                            continue XeroxInc;
                    while(xrxFlag2 == 0);
                else if (xrxCheck.equals("2"))
                    XeroxDec:
                    do
                        xrxFlag1 = 1;
                        InputStreamReader xrxDecRead = new InputStreamReader(System.in);
                        BufferedReader xrxDecBr = new BufferedReader(xrxDecRead);
                        System.out.println();
                        System.out.println("1. Decrease Colour Xerox Rates.");
                        System.out.println("2. Decrease B/W Xerox Rates.");
                        String xrxDecCheck = xrxDecBr.readLine();
                        if (xrxDecCheck.equals("1"))
                            xrxFlag2 = 1;
                            XeroxClr2:
                            do
                                InputStreamReader xrxClrRead2 = new InputStreamReader(System.in);
                                BufferedReader xrxClrBr2 = new BufferedReader(xrxClrRead2);
                                System.out.println();
                                System.out.println("How much would you like to decrease the rates by?");
                                System.out.println("The current rate is: Rs. " + xrxClrRatesTemp.get(0) + " per side.");
                                String xrxClrCheck3 = xrxClrBr2.readLine();
                                double xrxClrCheck4;
                                char xrxClrCheckB = xrxClrCheck3.charAt(0);
                                if (xrxClrCheck3.equalsIgnoreCase(xrxStr3))
                                    break Xerox1;
                                else if ( (xrxClrCheckB >= 'a' && xrxClrCheckB <= 'z') || (xrxClrCheckB >= 'A' && xrxClrCheckB <='Z') || ( (xrxClrCheckB  >= '0' && xrxClrCheckB <= '9') == false) )
                                    System.out.println("That is not an acceptable value. Please try again.");
                                    continue XeroxClr2;
                                else if ( (xrxClrCheck4 = Double.parseDouble(xrxClrCheck3) ) >= 0)
                                    xrxFlag3 = 1;
                                    xrxClrCheck4 = Double.parseDouble(xrxClrCheck3);
                                    System.out.println();
                                    xrxClrRatesTemp2 = xrxClrRatesTemp.get(0);
                                    xrxClrRatesTemp2 = xrxClrRatesTemp2 - xrxClrCheck4;
                                    xrxClrRatesTemp.set(0, xrxClrRatesTemp2);
                                    System.out.println("The rate has been decreased by Rs. " + xrxClrCheck4 + " per side.");
                            while(xrxFlag3 == 0);
                        else if (xrxDecCheck.equals("2"))
                            xrxFlag2 = 1;
                            XeroxBW2:
                            do
                                InputStreamReader xrxBWRead2 = new InputStreamReader(System.in);
                                BufferedReader xrxBWBr2 = new BufferedReader(xrxBWRead2);
                                System.out.println();
                                System.out.println("How much would you like to decrease the rates by?");
                                System.out.println("The current rate is: Rs. " + xrxBWRatesTemp.get(0) + " per side.");
                                String xrxBWCheck3 = xrxBWBr2.readLine();
                                double xrxBWCheck4;
                                char xrxBWCheckB = xrxBWCheck3.charAt(0);
                                if (xrxBWCheck3.equalsIgnoreCase(xrxStr3))
                                    break Xerox1;
                                else if ( (xrxBWCheckB >= 'a' && xrxBWCheckB <= 'z') || (xrxBWCheckB >= 'A' && xrxBWCheckB <='Z') || ( (xrxBWCheckB  >= '0' && xrxBWCheckB <= '9') == false ) )
                                    System.out.println("That is not an acceptable value. Please try again.");
                                    continue XeroxBW2;
                                else if ( (xrxBWCheck4 = Double.parseDouble(xrxBWCheck3) ) >= 0)
                                    xrxFlag3 = 1;
                                    xrxBWCheck4 = Double.parseDouble(xrxBWCheck3);
                                    System.out.println();
                                    xrxBWRatesTemp2 = xrxBWRatesTemp.get(0);
                                    xrxBWRatesTemp2 = xrxBWRatesTemp2 - xrxBWCheck4;
                                    xrxBWRatesTemp.set(0, xrxBWRatesTemp2);
                                    System.out.println("The rate has been decreased by Rs. " + xrxBWCheck4 + " per side.");
                            while(xrxFlag3 == 0);
                        else
                            System.out.println("An incorrect command was entered. Please try again.");
                            System.out.println();
                            continue XeroxDec;
                    while(xrxFlag2 == 0);
                else
                    xrxFlag1 = 0;
                    System.out.println("An incorrect command was entered. Please try again.");
                    System.out.println();
                    continue Xerox1;
            while(xrxFlag1 == 0);
            InputStreamReader xrxRead2 = new InputStreamReader(System.in);
            BufferedReader xrxBr2 = new BufferedReader(xrxRead2);
            System.out.println();
            System.out.println("Type Yes if you wish to enter another command. Type No if you wish to exit.");
            xrxRepeat = xrxBr2.readLine();
            Xerox2:
            do
                if (xrxRepeat.equalsIgnoreCase(xrxStr2))
                    System.out.println();
                    System.out.println("Have a nice day!");
                    System.out.println();
                    xrxFlag = 1;
                    for (xrxLoop3 = 0; xrxLoop3 <= 1; xrxLoop3++)
                        int xrxClrSize = xrxClrRatesTemp.size();
                        int xrxBWSize = xrxBWRatesTemp.size();
                        if (xrxLoop3 == 0 && xrxClrSize == 1 && xrxBWSize == 1)
                            xrxClrOutFile.println(xrxClrRatesTemp.get(0));
                            xrxBWOutFile.println(xrxBWRatesTemp.get(0));
                        else if (xrxLoop3 == 1 && xrxClrSize == 1 && xrxBWSize == 1)
                            xrxClrOutFile.println(xrxClrRatesTemp.get(0));
                            xrxBWOutFile.println(xrxBWRatesTemp.get(0));
                    xrxClrOutFile.close();
                    xrxClrBW.close();
                    xrxClrFW.close();
                    xrxClrBR.close();
                    xrxBWOutFile.close();
                    xrxBWBW.close();
                    xrxBWFW.close();
                    xrxBWBR.close();
                    break Xerox;
                else if (xrxRepeat.equalsIgnoreCase(xrxStr1))
                    System.out.println();
                    System.out.println("Here are the categories again:");
                    xrxFlag = 2;
                    for (xrxLoop3 = 0; xrxLoop3 <= 1; xrxLoop3++)
                        int xrxClrSize = xrxClrRatesTemp.size();
                        int xrxBWSize = xrxBWRatesTemp.size();
                        if (xrxLoop3 == 0 && xrxClrSize == 1 && xrxBWSize == 1)
                            xrxClrOutFile.println(xrxClrRatesTemp.get(0));
                            xrxBWOutFile.println(xrxBWRatesTemp.get(0));
                        else if (xrxLoop3 == 1 && xrxClrSize == 1 && xrxBWSize == 1)
                            xrxClrOutFile.println(xrxClrRatesTemp.get(0));
                            xrxBWOutFile.println(xrxBWRatesTemp.get(0));
                else
                    System.out.println();
                    System.out.println("An incorrect command was entered.");
                    System.out.println();
                    System.out.println("Type Yes if you wish to enter another command. Type No if you wish to exit.");
                    xrxFlag = 0;
                    xrxRepeat = xrxBr2.readLine();
            while (xrxFlag == 0);
        while (xrxRepeat.equalsIgnoreCase(xrxStr1));
    }   My primary concern is that the text file always becomes empty or has the value 0.0 when it isn't supposed to.
Clr = Colour
BW = Black and White
Please guys, I really need help. I'm very sleepy at the moment.

You may get some help here, but many will think that this is a bit too much code to ask any volunteer to go through. For our benefit, and for your benefit, refactor your program so that it will be easier for you and us to figure out. Also, you may wish to leave off on the theatrics as that often turns folks here off and doesn't induce folks to help. You're better off typing in more useful information such as what you've tried and the results of these efforts. But again, I've looked at your code again and it is a single huge method, so I'm not surprised that you're having problems with it. Breaking it down to constituent parts will only help you.
Best of luck.
Edited by: Encephalopathic on Jul 12, 2008 5:49 PM

Similar Messages

  • Ask for help about file operation

    Hi,
    I have a text file A and it contains some sentences. As this file contains some white space or other useless characters, I also have a corresponding file B which record the exact position of the sentences.
    For example in File A:
    It's a nice day. I like it very much. Go home right now!
    In File B: (begin position, end position for each sentence)
    0, 15
    20, 39
    47, 64
    As I don't use the stream operation often, so have no idea how to extract the sentences by the position index.
    Thank you in advance.

    There are methods in the String, StringBuilder, and StringBuffer classes that can do what you need. This tutorial shows you how to use them:
    http://java.sun.com/docs/books/tutorial/java/data/manipstrings.html
    The StreamTokenizer and StringTokenizer classes may also be useful. Most of their functionality is included in the previously listed classes.

  • Pls help my time capsule (4th gen) lost it files..I think it have a virus pls help me to fix it tnx..

    Pls help my time capsule (4th gen) lost it files..I think it have a virus pls help me to fix it tnx..

    1. Ethernet .. are you using ethernet?
    2. Change the name of the TC to short, no spaces and pure alphanumeric.
    3. In the file sharing page change the workgroup to WORKGROUP.
    4. In the same area, change the guest access to on read and write.
    5. If you setup homegroup on the PC get rid of it.. TC is not compatible with homegroup.
    6. Turn off ipv6 in the network settings for ethernet. (since you are going to be using ethernet).
    From Mac version utility it looks like this.
    Go to the admin tools and ensure that bonjour for windows is on.
    Manually type the IP directly into windows explorer.. do not open via MyComputer.
    \\10.0.1.1
    Because the error message is important.

  • Help!  I don't think my files backed up and system crashed!

    Help!  I don't think my files backed up and when I restart computer it only comes up with osx utilities but won't  let me reinstall or do anything.  Is there anything I can do?  I didn't set up time machine because my external hard drive was full!

    Did you run Verify and Repair in Disk Utility?  It will correct possible disk problems or indicate that the HDD is faulty.
    Ciao.
    Until you do that, a reinstallation may be pointless.
    Message was edited by: OGELTHORPE

  • Filestream Creation Unable to Open Physical File Operating System Error 259

    Hey Everybody,
    I have run out of options supporting a customer that is having an error when creating a database with a file stream.  The error displayed is unable to open physical file operating system error 259 (No more data is available).  We're using a pretty
    standard creation SQL script that we aren't having issues with other customers:
    -- We are going to create our data paths for the filestreams.  
    DECLARE @data_path nvarchar(256);
    SET @data_path = (SELECT SUBSTRING(physical_name, 1, CHARINDEX(N'master.mdf', LOWER(physical_name)) - 1)
                      FROM master.sys.master_files
                      WHERE database_id = 1 AND file_id = 1);
    -- At this point, we should be able to create our database.  
    EXECUTE ('CREATE DATABASE AllTables
    ON PRIMARY
        NAME = AllTables_data
        ,FILENAME = ''' + @data_path + 'AllTables_data.mdf''
        ,SIZE = 10MB
        ,FILEGROWTH = 15%
    FILEGROUP FileStreamAll CONTAINS FILESTREAM DEFAULT
        NAME = FSAllTables
        ,FILENAME = ''' + @data_path + 'AllTablesFS''
    LOG ON
        NAME = AllTables_log
        ,FILENAME = ''' + @data_path + 'AllTables_log.ldf''
        ,SIZE = 5MB
        ,FILEGROWTH = 5MB
    GO
    We are using SQL Server 2014 Express.  File streams were enabled on the installation SQL Server.  The instance was created successfully and we are able to connect to the database through SSMS. The user is using an encrypted Sophos. 
    We have tried the following:
    1. Increasing the permissions of the SQL Server server to have full access to the folders.
    2. Attempted a restore of a blank database and it failed.
    There doesn't seem to be any knowledge base articles on this particular error and I am not sure what else I can do to resolve this.  Thanks in advance for any help!

    Hi Ryan,
    1)SQL Server(any version) can't be installed on encrypted drives. Please see a similar scenario in the following link
    https://ask.sqlservercentral.com/questions/115761/filestream-and-encrypted-drives.html
    2)I don't think there is any problem with permissions on the folder, if the user can create a database in the same folder. Am not too sure. Also see the article by
    Jacob on configuring the FILESTREAM for SQL Server that describes how to configure FILESTREAM access level & creating a FILESTREAM enabled database
    Hope this helps,
    Thanks
    Bhanu 

  • Very, very slow file operations

    I needed to make a specific change to an exif field of some images. So what I did was to move identify the files that I needed to change in Lightroom (they were in various folders on my disk) and move them to other folders so they would be easy to operate on. Then I used exiftool to change the field in these files, and then I thought it would be easy to read in the changed data and move them back to their original folders in Lightroom. What I found included:
    I tried to Synchronize Metadata on the folders after changing the exif field. One folder had about 500 images in it, the other about 2,000. After 3 hours, the progress bar had barely moved, and I aborted.
    When I tried to quit Lightroom it said that it was "writing metadata", even tho the synchronization had changed the external data and it should only have been reading metadata. I quit anyways and rebooted.
    After rebooting, and relaunching Lightroom I looked at the "metadata status" column in Grid view. It was (as always, it seems) completely wrong about which files were up to date.
    I was able to "read metadata" on these 2,500 images in "only" about an hour or two. Note that I didn't ask Lightroom to update the cached images, only to read the metadata. Reading metadata at 1,000-2,000 images an hour seems exceptionally slow.
    Now I am trying to move the files back to their correct folders. I dragged about 1,000 raw images (CR2 + xmp) from one folder to another in Lightroom. Three hours later it is about 50% finished according to the progress bar. I'm going to bed and hope it will finish by the morning. I have to move all the other images as well, but because Lightroom won't update the filter bars in Grid View while moving files, I can't start these moves until Lightroom finishes the first.
    Do other people fine absolutely absurd speeds for file operations in Lightroom? Is there any solution other than quitting and rebooting (which doesn't always work)? I hate to quit in the middle of a synchronize, read metadata, or move files operation even when it seems to be barely chugging along, because I am afraid that when I abort the operation, I will somehow leave a file orphaned, or it's metadata out of sync (which happens to me all the time, but I never know why).
    When I am doing other operations I also find that I can use Lightroom for only a few hours before it gets so slow that I quit and reboot, after which operations speed up considerably. This doesn't seem like it should be necessary for a "modern" program and operating system, but in my experience it is.
    I'm using a Macintosh (4 core i7, 16 GB of RAM), Mavericks latest, Lightroom 5.5, and a RAID disk, so hardware shouldn't be limiting. During this last interminable copy operation, it appears that Lightroom is pegged at 100% of a processor (core).

    Sorry, but I don't think your workaround works. I am moving a bunch of files from one folder to various folders (using Lightroom to discriminate between files based on their exif/iptc values), then I change them using an outside program (exiftool), then I put them back in their original folders. This involves having Lightroom read in the new data in the files, which is what is so slow. Reconnecting, if I understand it, is for when you move a folder of files to another location, and Lightroom needs to be informed of that move.
    As I pointed out, the problem is that Lightroom gets progressively and painfully slower the more you use it. But quitting and restarting can be annoying if you are in the middle of an operation because you can lose context (especially if you restart your computer, which seems to help).
    And I do optimize my database nearly daily when using Lightroom.
    I would spend the time to fully document this problem and report it as a bug, but my experience is that Adobe shows no evidence of actually reading my bug reports, let alone responding to them.

  • Saving master page in search template throws error "UserAgent not available, file operations may not be optimized"

    Hi Folks,
    I was trying to save basic search template master page "seattle.master" after making change to the template.
    I have added just "CompanyName" folder and update the line below in seattle.master.
    Change is this : <SharePoint:CssRegistration Name="Themable/CompanyName/corev15.css" runat="server"/>
    When I save it, and refresh page on browser, it shows "Something went wrong" error.
    ULS says the following error : "UserAgent not Available, file operation may not be optimized"
    Pls let us know if there is a solution.
    Any help Much appreciated !
    Thanks,
    Sal
    

    Hi Salman,
    Thanks for posting this issue, 
    Just remove this below given tag and check out. It might be happened that your control is conflicting with others. 
    Also, browse the below mentioned URL for more details
    http://social.msdn.microsoft.com/Forums/office/en-US/b32d1968-81f1-42cd-8f45-798406896335/how-apply-custom-master-page-to-performance-point-dashboard-useragent-not-available-file?forum=sharepointcustomization
    I hope this is helpful to you. If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Windows 8.1 BSOD please help Minidump file attached

    Windows 8.1 BSOD please help Minidump file and dxdiag info file link is below,
    This BSOD frequency is about once every  1 hour to 4 hours,
    Memtest passed with one pass on the one chip of 4GB
    Brand new 8.1 install
    https://drive.google.com/file/d/0B39S6eNyRvOHRnZHRG1Jd1lwT2M/view?usp=sharing
    https://docs.google.com/document/d/1XueM-ov7wjfePJh45Pp3fg1QSSzFBqMuO1tfr9GZm8k/edit?usp=sharing

    This is a crash related to some type of hardware failure. Please refer to the Wiki link below, for some troubleshooting tips.
    BugCheck Code 124 Co-Authored by ZigZag3143& JMH3143
    http://answers.microsoft.com/en-us/windows/wiki/windows_other-system/bugcheck-code-124/98c998d2-447a-40ce-ae1f-8211e355f14d
    WARNING: Whitespace at end of path element
    Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 9600 MP (2 procs) Free x64
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 9600.16422.amd64fre.winblue_gdr.131006-1505
    Machine Name:
    Kernel base = 0xfffff800`c0e7b000 PsLoadedModuleList = 0xfffff800`c113f990
    Debug session time: Tue Mar 3 23:19:34.178 2015 (UTC - 5:00)
    System Uptime: 0 days 0:00:04.947
    Loading Kernel Symbols
    Loading User Symbols
    Mini Kernel Dump does not contain unloaded driver list
    * Bugcheck Analysis *
    Use !analyze -v to get detailed debugging information.
    BugCheck 124, {0, ffffe000016f88f8, 0, 0}
    Probably caused by : hardware
    Followup: MachineOwner
    1: kd> !analyze -v
    * Bugcheck Analysis *
    WHEA_UNCORRECTABLE_ERROR (124)
    A fatal hardware error has occurred. Parameter 1 identifies the type of error
    source that reported the error. Parameter 2 holds the address of the
    WHEA_ERROR_RECORD structure that describes the error conditon.
    Arguments:
    Arg1: 0000000000000000, Machine Check Exception
    Arg2: ffffe000016f88f8, Address of the WHEA_ERROR_RECORD structure.
    Arg3: 0000000000000000, High order 32-bits of the MCi_STATUS value.
    Arg4: 0000000000000000, Low order 32-bits of the MCi_STATUS value.
    Debugging Details:
    BUGCHECK_STR: 0x124_AuthenticAMD
    CUSTOMER_CRASH_COUNT: 1
    DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
    PROCESS_NAME: System
    CURRENT_IRQL: 0
    STACK_TEXT:
    ffffd000`2087f6c0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!WheapCreateLiveTriageDump+0x81
    STACK_COMMAND: kb
    FOLLOWUP_NAME: MachineOwner
    MODULE_NAME: hardware
    IMAGE_NAME: hardware
    DEBUG_FLR_IMAGE_TIMESTAMP: 0
    FAILURE_BUCKET_ID: X64_0x124_AuthenticAMD_PROCESSOR_BUS_PRV
    BUCKET_ID: X64_0x124_AuthenticAMD_PROCESSOR_BUS_PRV
    Followup: MachineOwner
    1: kd> !errrec ffffe000016f88f8
    ===============================================================================
    Common Platform Error Record @ ffffe000016f88f8
    Record Id : 01d0563268a81312
    Severity : Fatal (1)
    Length : 928
    Creator : Microsoft
    Notify Type : Machine Check Exception
    Timestamp : 3/4/2015 4:19:34
    Flags : 0x00000002 PreviousError
    ===============================================================================
    Section 0 : Processor Generic
    Descriptor @ ffffe000016f8978
    Section @ ffffe000016f8a50
    Offset : 344
    Length : 192
    Flags : 0x00000001 Primary
    Severity : Fatal
    Proc. Type : x86/x64
    Instr. Set : x64
    Error Type : BUS error
    Operation : Generic
    Flags : 0x00
    Level : 3
    CPU Version : 0x0000000000100f42
    Processor ID : 0x0000000000000000
    ===============================================================================
    Section 1 : x86/x64 Processor Specific
    Descriptor @ ffffe000016f89c0
    Section @ ffffe000016f8b10
    Offset : 536
    Length : 128
    Flags : 0x00000000
    Severity : Fatal
    Local APIC Id : 0x0000000000000000
    CPU Id : 42 0f 10 00 00 08 02 00 - 09 20 80 00 ff fb 8b 17
    00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
    Proc. Info 0 @ ffffe000016f8b10
    ===============================================================================
    Section 2 : x86/x64 MCA
    Descriptor @ ffffe000016f8a08
    Section @ ffffe000016f8b90
    Offset : 664
    Length : 264
    Flags : 0x00000000
    Severity : Fatal
    Error : BUSLG_OBS_ERR_*_NOTIMEOUT_ERR (Proc 0 Bank 4)
    Status : 0xba00001000020c0f

  • Unable to run a Batch File Operating System Command

    Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing.
    My Batch file:
    gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin
    My Command Line (ID scenario)
    exec "cmd.exe /c C:\Progra~1\GNU\GnuPG\boagpg.bat %F"
    If I execute
    exec "cmd.exe /c type C:\Progra~1\GNU\GnuPG\boagpg.bat >xis.txt"
    It displays the contents of boagpg.bat file in xis.txt.
    I just don't understand why when I run the batch file, I would expect an %F.asc encrypted file in the same directory as the %F unencrypted file.
    Any ideas?
    or will I need Basis to create commands that will allow me to run GPG from XI Command Line?

    Check this links if its helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/c7423347dc488097ab705f7185c88f/frameset.htm
    /people/sap.user72/blog/2004/01/30/command-line-help-utility
    Check this thread a similar problem
    Process Integration (PI) & SOA Middleware
    Note 841704 - XI File & JDBC Adapter: Operating system command
    http://service.sap.com/sap/support/notes/841704
    Try to see the below links
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    OS Command on FTP
    OS command line script - Need help
    FTP - Run OS Command before file processing
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Java Access Helper Jar file problem

    I just downloaded Java Access Helper zip file, and unzipped, and run the following command in UNIX
    % java -jar jaccesshelper.jar -install
    I get the following error message, and the installation stopped.
    Exception in thread "main" java.lang.NumberFormatException: Empty version string
    at java.lang.Package.isCompatibleWith(Package.java:206)
    at jaccesshelper.main.JAccessHelperApp.checkJavaVersion(JAccessHelperApp.java:1156)
    at jaccesshelper.main.JAccessHelperApp.instanceMain(JAccessHelperApp.java:159)
    at JAccessHelper.main(JAccessHelper.java:39)
    If I try to run the jar file, I get the same error message.
    Does anyone know how I can fix this?
    Thanks

    Cross-posted, to waste yours and my time...
    http://forum.java.sun.com/thread.jsp?thread=552805&forum=54&message=2704318

  • Build a tool for controlling a copy file operation base on its file size in any folder of Window Explorer

    Hi all,
    We are developing a tool which will control a copy file operation in any folder of Window Explorer base on file size limit.
    If these copied files are not satisfied the file size condition (its size is larger than a predefined value), the copy/move operation must not be executed.
    My question is that: "Are there any availability support of Windows API/tool for implementing this feature?"
    BR,
    Mr_Le

    Hi Mr_Le,
    Thank you for posting in the MSDN forum.
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss:
    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    To help you find the correct development forum for this issue, please tell me the real project type (Winforms or others) and the real development language (C#, VB or others) you want to use.
    If you are not very sure that which kind of project fulfils this requirement, maybe the language development forum would be better for this issue:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages&filter=alltypes&sort=lastpostdesc
    If there's any concern, please feel free to let me know.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My itunes songs are saying that the "main file" is missing?, My itunes songs are saying that the "main file" is missing?

    I downloaded my itunes songs onto my Nook, now when I try to play them on my computer, it says that the "main file" is missing?  How do I fix this?

    Hello,
    The steps in this link can help you recover your purchases:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Welcome to Apple Support Communities!
    Have a great day,
    Delgadoh

  • HELP!  Files suddenly disappear

    Hi,
    I am using Macbook pro and running OS X 10.5.7
    I have partitioned my drive to have boot camp to boot Windows Vista
    So disk1 is my Mac drive and Untitled is Windows. I used NTFS-3G and MacFUSE to mount to Windows
    I have logged to Mac and copied whole bunch of videos (*mov) to Untitled drive.
    I have successfully played those files in Mac after I copied. However after I have rebooted the machine, I no longer see those files in Untitled drive! The disk space is still the same as after I copied the files so I think those files should be still in the drive, but I can't see them, not search them!
    I have used few data recovery software to try to find them but failed! What should I do? I really need help
    Thanks

    I've got a new Macbook and last week I completed installing VM Fusion and Idrive online backup. Everything seeemed to be working fine until yesterday. I found that several folders were missing from the Apple side of my computer.
    I ran a comparison of the files on my computer with the Idrive online backup and found that a about 200 files were just gone. They weren't in my deleted folder or anywhere on my computer. But Idrive had made backup copies of them within the last few days (since I did my first full backup run).
    The missing files seemed to be all over my computer and many different types: .tiff .gif. htm. .pkg. zip. pdf. as well as about 30 folders of spreadsheets, documents and photos.
    At this point I don't know which technical files to restore?
    Whether to continue the Idrive backup?
    How to prevent recurrence of this problem?
    Any advice will be appreciated.
    Thanks in advance
    J

  • How to install File Operations components in Data Integrator

    Hello Endeca Forum,
    I'm interested in using the File Operations components in Data Integrator, but getting and installing them is surprisingly obscure.
    I'm talking about...
    http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/file-operations.html
    The Clover documentation (http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/components.html) states...
    "+Note if you cannot see this component category, navigate to Window → Preferences → CloverETL → Components in Palette and tick both checkboxes next to File Operations+"
    However, when I go to Window --> Preferences --> CloverETL --> Components in Palette, I don't even see File Operations. This tells me that the version of Clover packaged with OEID doesn't have the components installed.
    Going to Help --> Check for Updates also didn't yield anything that looked like the File Operations components.
    I'm hoping someone here is familiar with the necessary steps to get these components installed...
    Thanks,
    Jerome

    I see what you're saying Purvesh, thanks for the clarification.
    Again, it's a little challenging to find this out, but there's a Clover support team member who mentions here...
    http://forum.cloveretl.com/viewtopic.php?f=4&t=6428&view=previous
    ... that the File Operations were introduced in the 3.3.0 M3 release.
    Guess this means we're out of luck, which is unfortunate.
    I'm fully aware that the SystemExecute component is an option for file management, but it's not the best fit for what I need to do. In any case, my question has been answered.
    Thanks!
    Jerome

  • Invoke a FTP "Get File" operation throws java.lang.ClassCastException:

    Hi there,
    I am working on a very simple sample project that will pull the file from a ftp site. I create a partner link with FTP adpater with "Get File" operation.
    When I deploy and run the SIMPLE project, it throws the following exception.
    I am wondering if any of you experienced the same problem and how to resolve the issue. Your help will be greatly appreciated.
    Here is the error message:
    <messages><input><Invoke_1_Get_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Root-Element"><Root-Element xmlns="http://TargetNamespace.com/ftp_service"/>
    </part></Invoke_1_Get_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_FTPProcess2_1.0_709914d835a81c407ed668866e080b9e.tmp/ftp_service.wsdl [ Get_ptt::Get(Root-Element) ] - WSIF JCA Execute of operation 'Get' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec</summary>
    </part><part name="detail"><detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec</detail>
    </part></bindingFault></fault></messages>

    Take a look at the stack trace, it shows you exactly where the error is coming from:
    java.lang.ClassCastException: org.theclass.candidate.view.SearchForm
    org.theclass.candidate.view.CandidateListAction.execute(CandidateListAction.java:41)Line 41 in your CandidateListAction.
    Probably it is failing on a cast of your action form.
    Taking a closer look at your struts-config, you are "chaining" actions.
    Your AddCandidateAction uses the candidateForm, and forwards to CandidateListAction.do
    Your CandidateListAction uses the searchForm.
    That will be the cause of your class cast exception.
    <action path="/Add"
      name="candidateForm"
      type="org.theclass.candidate.view.AddCandidateAction"
      validate ="true"
      input="/jsp/addcandidate.jsp">
      <forward name="success" path="/CandidateList.do"/>
    </action>
    <action path="/CandidateList"
    type="org.theclass.candidate.view.CandidateListAction"
    name="searchForm"
    scope="request" >
    <forward name="failure" path="/jsp/list.jsp"/>
    <forward name="success" path="/jsp/candidatelist.jsp"/>
    </action>Check out: http://struts.apache.org/1.x/faqs/newbie.html#chaining
    Solutions?
    - don't chain actions ;-)
    - use the same action form for both actions (possible?)
    - make the actionForward a "redirect" one. That means a new request, and losing any request parameters/attributes but should prevent this class cast exception.
    Hope this helps,
    evnafets

Maybe you are looking for

  • How do I name a specific cell in Numbers 3.2.2?

    I am working with a multi-table spreadsheet and I want to create a table of variables that are used in a specific formula throughout the spreadsheet. For example, here is the formula I'm working on: =IF(C32≥321,"23",IF(C32≥281,"19",IF(C32≥241,"17",IF

  • Is it possible to import a project into an existing project - PRE 8

    Hi. The last time I did much with Video editing was a couple of years back using the full version of Premiere 6.5 Back then you could create a number of projects as pices of the complete solution. Then when you where ready to create the full movie yo

  • Ios 6.1.2 wifi issues

    I am using iphone 4s for about 14 months now. i have never faced wifi issues before updating to ios 6.1.2. But now  i am not  staying connected to wifi for long time. I dont know whether i m alone in this world to face such an issue. Please help fix

  • How do I fix this photo?

    I'm fairly new to photoshop but know the basics. I often get photos like this. I've searched for tutorials but can't find any good ones. Anyone have a link to a tutorial or could point me in the right direction. I've tryed brightness/contrast, shadow

  • Strange clock behaviour

    Hi there, I'm experiencing some strange clock behaviour with my system clock in Mac OS 10.4.10. The digital clock shows the right time while the analog clock shows the wrong time (2 hours offset) in the same dialog. The system time in general seems t