My finder is caught in a never ending loop of wanting to restore windows

The Finder icon is bouncing up and down on the dock, there is a popup flashing on and off on the desktop which states "Restore Windows The Application "Finder" unexpectedly quit while trying to restore it's windows. Do you want to try to restore its windows again?" It offers the options "Don't restore windows and Restore windows". Neither of these actions respond.  I have turned off; shut down etc... but it prevails.

I have it resolved now, I discovered some previous questions and found the solution. Phew!

Similar Messages

  • A never ending loop...not sure why?

    When I run my current procedure, it seems to be getting caught in a never ending loop, not entirley sure what the problem is...? I'm not quite the expert so if possible, the more detail in the explaniation the better...thanks!!
    --The cursors
    cursor konami_mlb_pitchers_crsr is
       select player_id_1032
       from customer_data.cd_baseball_pit_ytd_stats
       where split_number = -3
         and game_type_id = 1
         and sequence = 0
         and season_id = iSeasonID
       order by player_id_1032;
    cursor konami_mlb_career_pit_crsr is
       select ytd.player_id_1032,
          ytd.player_id,
          ytd.moniker,
          ytd.last_name,
          sum(ytd.games_played),
          trunc(sum(ytd.outs_pitched) / 3) || '.' || mod(sum(ytd.outs_pitched), 3) as innings_pitched,
          sum(ytd.complete_games),
          sum(ytd.shut_outs),
          sum(ytd.wins),
          sum(ytd.losses),
          to_char((sum(ytd.wins)) / decode(sum(ytd.wins) + sum(ytd.losses), 0, 1, null, 1, sum(ytd.wins) + sum(ytd.losses)), '0d000') as winning_pct,
          trim(to_char( (9 * sum(ytd.earned_runs)) / (sum(ytd.outs_pitched) / 3) , '990d00')) as era,
          sum(ytd.strikeouts),
          sum(ytd.saves),
          sum(ytd.hits),
          sum(ytd.home_runs),
          sum(ytd.walks),
          sum(ytd.hit_batters),
          sum(ytd.earned_runs),
          sum(ytd.runs)
       from customer_data.cd_baseball_pit_ytd_stats ytd,  customer_data.cd_baseball_roster rost
       where ytd.split_number = -3
         and ytd.game_type_id = 1
         and ytd.sequence = 0
         and rost.player_id = ytd.player_id
         and rost.league_id = iLeagueID
         and ytd.season_id <= iSeasonId   
         and ytd.active_record != 'R'
         and ytd.player_id_1032 in
        --Includes Players that were on the DL for the entire season                                          
          select player_id_1032
         from customer_data.cd_baseball_roster r
         where r.year_last = 2008
         and r.league_id = iLeagueID
         and r.player_id_1032 is not NULL
         group by ytd.player_id_1032,ytd.player_id, ytd.moniker,  ytd.last_name;   --Where the cursor gets opened
    open konami_mlb_pitchers_crsr;
       loop
          fetch konami_mlb_pitchers_crsr into pitcher;
          exit when konami_mlb_pitchers_crsr%notfound;
          open konami_mlb_career_pit_crsr;
          loop
             fetch konami_mlb_career_pit_crsr into pitcher_record;
             exit when konami_mlb_career_pit_crsr%notfound;
             utl_file.put_line(file_handle, pitcher_record.first_name || ',' ||
                                            pitcher_record.last_name || ',' ||
                                            pitcher_record.id || ',' ||
                                            pitcher_record.games_played || ',' ||
                                            pitcher_record.innings_pitched || ',' ||
                                            pitcher_record.complete_games || ',' ||
                                            pitcher_record.shutouts || ',' ||
                                            pitcher_record.wins || ',' ||
                                            pitcher_record.losses || ',' ||
                                            pitcher_record.winning_pct || ',' ||
                                            pitcher_record.era || ',' ||
                                            pitcher_record.strikeouts || ',' ||
                                            pitcher_record.saves || ',' ||
                                            pitcher_record.hits || ',' ||
                                            pitcher_record.homeruns || ',' ||
                                            pitcher_record.walks || ',' ||
                                            pitcher_record.hit_batters || ',' ||
                                            pitcher_record.earned_runs || ',' ||
                                            pitcher_record.runs);
          end loop; -- end loop through the stats for each pitcher
          close konami_mlb_career_pit_crsr;
       end loop; -- end loop through all the pitchers
       close konami_mlb_pitchers_crsr;

    You don't seem to be using the cursor iterator variable "pitcher" when you print the data to the file. You are not even passing any parameter to the "konami_mlb_career_pit_crsr" cursor. As such the first cursor "konami_mlb_pitchers_crsr" appears to be redundant.
    Maybe the loop is time-consuming (instead of "never-ending"), and if you wait long enough, it will end. In the meantime, you may want to tune your logic.
    isotope

  • If I try to rotate a photo in the Finder menu I get the never ending spinning color wheel?

    If I try to rotate a photo in the Finder menu I get the never ending spinning color wheel?

    The problem with write permissions for the OneDrive folder only shows up in Lightroom 6's export dialogue, that's why it's to irritating. Lightroom 5.7.1 is not having that problem nor does the file explorer. The problem also exists on both of my machines. I will try to check for other problems with the OneDrive troubleshooter though: Running the OneDrive troubleshooter - Windows Help   

  • Wireless printer is setup, but the HP Installer Setup program is in a never-ending loop

    Wireless printer is setup (HP Officejet 4500), but the HP Installer Setup program is in a never-ending loop.  It says "Fatal error during installation." and keeps trying to uninstall/reinstall/ etc etc etc.  Printer is setup and runs fine, just need to get rid of this crazy loop - any guidance?
    Dee
    This question was solved.
    View Solution.

    Which OS is installed?
    I recommend that you uninstall the printer software from the HP folder in start-->All Programs -->HP --> uninstall software
    After the uninstall is completed and your system restarted install and configure the printer again.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Problem on I-TUNES,,,says my computer is not authorized to listen to a song I purchased....when I go to STORE/AUTHORIZE..it says my computer is already authorized....never-ending loop...won't play on IPOD either,,,HELP !

    Purchased a song on I-tunes....won't let me listen to it...says my computer is not authorized...first time in 3 years that this problem occured ...I went to STORE/AUTHORIZE ,,,and it says my computer is already authorized....never-ending loop ...HELP ! Won't play on Ipod either

    Delete and redownload it if doing so is free in your country.
    (88542)

  • AdamSync from AD to LDS goes into a continuous never ending loop... can't figure this out.

    I THINK I've got this thing configured up to the point where it should be able to sync.  The XML config is set to just grab a single OU with roughly 12 accounts in it.
    Everything seems to connect OK, then it does a ton of "Processing Entry", even though there are only a few accounts in this OU.
    Then it begins to do "Adding target object..." and gets stuck in a never ending loop.
    Can someone point me in the right direction on how to troubleshoot this?
    This is what the log looks like:
    ==========================
    Adamsync.exe v1.0 (6)
    Establishing connection to target server localhost:6389.
    There is already an active sync session in progress. 
    Please allow the session to complete, or use -mai to seize the role.
    Saving Configuration File on CN=Test,DC=domain,DC=org
    Saved configuration file.
    ADAMSync is querying for a writeable replica of 10.10.10.10.
    Error: DCLocator call failed with error 1355. Attempting to bind directly to string.
    Establishing connection to source server 10.10.10.10:389.
    Using file .\dam9280.tmp as a store for deferred dn-references.
    Populating the schema cache
    Populating the well known objects cache
    Starting synchronization run from dc=domain,dc=org.
    Starting DirSync Search with object mode security.
    Processing Entry: Page 1, Frame 1, Entry 0, Count 0, USN 0
    Processing source entry <guid=94f6d930da2339439df75278a02accae>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 1, Frame 1, Entry 1, Count 1, USN 0
    Processing source entry <guid=bf15bc4b684ece4f99010548e79decb0>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 1, Frame 1, Entry 2, Count 1, USN 0
    Processing source entry <guid=fcea01637658134eab7ec74fe022d4fe>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 35, Count 1, USN 0
    Processing source entry <guid=5e768f4392863b4d86935e6bf01acc25>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 36, Count 1, USN 0
    Processing source entry <guid=b5d263a264aad045b8f42f19b49dd844>
    Previous entry took 0 seconds (16, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 37, Count 1, USN 0
    Processing source entry <guid=f19994051c804846b7bcbd066d9e9d40>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 38, Count 1, USN 0
    Processing source entry <guid=b16cd765bafa4f4d8649d91f0f055e5f>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 39, Count 1, USN 0
    Processing source entry <guid=6be6a7d551978445aafd3803e60dc560>
    Processing in-scope entry 6be6a7d551978445aafd3803e60dc560.
    Adding target object CN=User Name,OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: sourceobjectguid, instanceType, objectSid, sAMAccountName, lastagedchange, objectclass, 
    Adding target object CN=User Name,OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 2, Entry 0, Count 0, USN 53438354
    Processing source entry <guid=bbb4a760a8281741a11d9331efaa3d7a>
    Processing in-scope entry bbb4a760a8281741a11d9331efaa3d7a.
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: objectClass, instanceType, sourceobjectguid, lastagedchange, 
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 3, Entry 0, Count 0, USN 52660067
    Processing source entry <guid=8d3ef319dff31f47819632af2da5df2c>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 2, Entry 0, Count 0, USN 53438354
    Processing source entry <guid=bbb4a760a8281741a11d9331efaa3d7a>
    Processing in-scope entry bbb4a760a8281741a11d9331efaa3d7a.
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: objectClass, instanceType, sourceobjectguid, lastagedchange, 
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 3, Entry 0, Count 0, USN 52660067
    Processing source entry <guid=8d3ef319dff31f47819632af2da5df2c>
    Previous entry took 0 seconds (0, 0) to process
    ===================================================

    Hi,
    Are there any error messages from the event log?
    Here is a KB article which describes a similar issue below I suggest you refer to:
    Error message when you use the Adamsync tool in Windows Server 2003: "Error: We seem to be in an infinite recursive loop"
    http://support2.microsoft.com/kb/926933
    Best Regards,
    Amy

  • My Finder is going crazy.  Keep getting a message saying it quit unexpectedly and asking if I want to restore windows, but I can't get it to stop.  buttons don't work.

    My Finder is going crazy.  Keep getting a message saying it quit unexpectedly and asking if I want to restore windows, but I can't get it to stop.  buttons don't work.

    Something else you can try.
    In Finder hold down the option/alt key while selecting the Go menu item. Select Library. Then go to Preferences/com.apple.finder.plist. Move the .plist to your desktop.
    Restart and test. If it works okay, delete the plist from the desktop. 
    If the same, return the .plist to where you got it from, overwriting the newer ones.
    If you want to make your user library permanently visible, run the below command in Applications/Terminal.
    chflags nohidden ~/Library/
    You will need to do that after any updates.

  • How to make a never-ending(looping) page in DW?

    I want to make a page which repeats itself on the ipad when you scroll in any direction. In essense a never ending page.
    Jus began using HTML5 for our app.

    Hi
    You can do this just by repeating the code, but this is a sure way to stop anyone visiting your site -
    The 'new' page is downloaded every time, (complete waste of bandwidth).
    Your user will think that there is something wrong, so will go somewhere else.
    On mobile devices bandwidth is now often limited and/or paid for.
    A site that just repeats itself will on devices that can display the entire page download all the pages, ad infinitum.
    PZ

  • Finder icon stuck in constant motion- says it had a problem restoring window. It's unresponsive. I did download turbo tax yesterday- it all seemed to download fine.

    my mac mini finder icon keeps flashing a sign that said it had a problem restoring a window. It asks me if I want it to restore window, but it is unresponsive. My computer seems to be working fine when I go on to safari, but my desktop itself will not respond to any requests because the finder has taken over.  I did download turbotax application yesterday... it seemed to go just fine. This might be the first time I have restarted my computer since then, though. Could the turbo have created this mess? My mini is10.7.5 intel  2.3 Ghz  so the turbo tax should have been ok.  The only other thing I did wierd was when I started up my computer this morning I sort of started iPhoto at the same time that I started its backup program so the two collided. Could that have caused this finder issue?

    BD,   I am unable to find the files you suggested I move to the desk top.
    When I ran the SAFE BOOT the other day, and also ran repair permissions,  I dont think it stayed in SAFE BOOT. I found no access to utilities when I was in safe boot - either I can't figure it out, or the machine wasn't letting me proceed due to the finder- I don't know which. 
    Today,As I was looking for the files you suggested I move (user/your user.......) to desk top, I did copy a few of the messages the mac was sending through utilities and console. I don't know if anything here helps, but I am copying a few clips below for you;  it may be all Greek to you too, however. Thank you.
    Finder_2014-02-15-215410_Angies-Mac-mini.crash
    Feb 15 21:54:31 angies-mac-mini Finder[3208]: ISGetIconFamilyFromStorage: seed mismatch for 27f80012, actual seed is 1f16e9e8
    Feb 15 21:54:31 angies-mac-mini Finder[3208]: ISGetIconFamilyFromStorage: seed mismatch for 231b0013, actual seed is 1190cde7
    Feb 15 21:54:32 angies-mac-mini com.apple.launchd.peruser.501[128] (com.apple.Finder[3208]): Job appears to have crashed: Segmentation fault: 11
    Feb 15 21:54:32 angies-mac-mini ReportCrash[3131]: Saved crash report for Finder[3208] version 10.7.5 (10.7.5) to /Users/council_angie/Library/Logs/DiagnosticReports/Finder_2014-02-15-215432_An gies-Mac-mini.crash
    Feb 15 21:54:32 angies-mac-mini ReportCrash[3131]: Removing excessive log: file://localhost/Users/council_angie/Library/Logs/DiagnosticReports/Finder_2014 -02-15-215411_Angies-Mac-mini.crash
    Application Specific Information:
    objc[2915]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x000000011234dbca __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00000001122032a6 _pthread_cond_wait + 890
    2   com.apple.finder                        0x000000010d0311ef 0x10cfe8000 + 299503
    3   com.apple.finder                        0x000000010d031058 0x10cfe8000 + 299096
    4   com.apple.finder                        0x00
    Finder_2014-02-15-215410_Angies-Mac-mini.crash
    Feb 15 21:54:31 angies-mac-mini Finder[3208]: ISGetIconFamilyFromStorage: seed mismatch for 27f80012, actual seed is 1f16e9e8
    Feb 15 21:54:31 angies-mac-mini Finder[3208]: ISGetIconFamilyFromStorage: seed mismatch for 231b0013, actual seed is 1190cde7
    Feb 15 21:54:32 angies-mac-mini com.apple.launchd.peruser.501[128] (com.apple.Finder[3208]): Job appears to have crashed: Segmentation fault: 11
    Feb 15 21:54:32 angies-mac-mini ReportCrash[3131]: Saved crash report for Finder[3208] version 10.7.5 (10.7.5) to /Users/council_

  • Spotlight constantly indexing in a never ending loop

    I've upgraded my older Aluminium iMac Early 2008 model from Tiger to Snow Leopard to Lion and then Mountain Lion.
    Since Mountain Lion, I've been having indexing problems. The mds process just doesn't want to stop. I have tried all the solutions.
    Turn off mds from launchtl and then delete the /.Spotlight.V100/ folder, relaunch via launchctl again, then stopping indexing using, mdutil deleting via mdutil. Reboot, then also trying the recommended Machintosh HD drag into privacy and out again. I've done them all. I've added bootcamp to my privacy and also sugarsync drive and also my incomplete torrent folder.
    I've re-indexed my drive, it's just no longer funny anymore. The problem is that the indexing process is running away. I check it via fs_usage for mds, and I can see the files it's opening and writing. This is not mdworker which matched my manual activity, e.g. if I make a numbers worksheet background, then of course it saves the file automatically and I can see in mdworker that it quickly indexes that file and stops.
    The culprit is mds. It just continually indexes certain folders and files, which are just normal files and folders which I work on, e.g. my business documents, mail download mailboxes, iphoto library, etc. There doesn't seem to be a pattern to what it's doing. The files and folders run so fast over the terminal screen when I use fs_usage, that I know it's mds, because I can tell the activitiy matches the lines written to the terminal screen.
    The problem is that this mds and HDD activity is NOT accompanied by any message in the little blue spotlight window, that is is currently indexing the drive. although it sounds exactly like it IS indexing the drive. Surely it doesn't have to reindex portions of the drive again and again. Shouldn't there come a point when it completely stops?
    Normally, I have a silent computer after some indexing completes, but mostly it lasts only a day and then it starts chugging again.
    Apart from re-installing, which I really don't want to do. What else is there I can try.

    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below to select it:
    syslog -k Sender mdworker -o -k Sender mds | grep -v boxd | tail
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Post the contents of that window (not the Terminal window), if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • Min/Max never-ending loop

    I am trying to stream data off a real time module and then perform some calculations on it. I am reading the data through a front panel on my PC. I want to find a way to measure the max and the min of each data stream. I constructed the attached VI to do that. Since the loop does not end, the data gets stuck in the loop and no more data is read from the real time module. I cannot end the loop because then the max/min calculations will end. I have thought about storing all of the information in an array and then using the array min/max VI to do my calculations, but this would be extremely inefficient because I need my model to run for hours on end. Is there a way to calculate minimums and maximums without a loop or storing everything in an array? Sorry for the newbie question.
    Attachments:
    max test.vi ‏27 KB

    You are close to your solution. You need to wrap you data acquisition code with something similar to this loop. The way it is now the data is only read in once, then as you note it is stuck in the array. Another thing is the initializing values. If you make both of them 0, and use the same type as the input data, they will immediately show the min and maxes. Additionally, you can make your comparisons G.T or L.T rather than G.E. or L.E. Another method, if you can't put the data acquisition in this loop would be to make it a "LabVIEW2 style global", consisting of three states, initialize, write, read. The vi is called, with the initialize method before the DAQ loop, the write is called right after your DAQ, and in another loop the read is called.
    Putnam Monroe
    Senior Engineer - North Shore Technology, Inc.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Attachments:
    MinMax.vi ‏45 KB

  • How do you fix the never ending loop with Itunes authorization process??

    Every time I try to Sync my Iphone, an itunes popup shows up claiming that my computer is no longer authorized for the apps on my phone. On the pop up it gives three options to choose from: "Cancel", "Authorize", and "Don't Authorize". If I choose authorize, it asks me to put in my apple ID and password. Now right here confuses me because when that pops up, it show's a very old email that hasn't been used with itunes in atleast over a year (most likely longer).On an offside note, with my phone I understand a bit of why the email popups with my Iphone because I used to use the email until I got my own apple ID. But now when I try to Sync my girlfriends ipod, which has never come into contact with the email, it shows the same email. Anyway, I change the email to my current one and type in my password and click on "Authorize". Then comes the final pop up telling me "This computer is already authorized. Includin this one, you have authorized one computer out of your available 5." and then gives me the option "OK". I click OK and and the process repeats itself.
    Here is a picture of the first popup.
    I'm new to this so I don't really know if I need to blur anything out but this is it.
    This is the second popup.This first pictures shows what it looks like at first and the second is me putting in my information.
    Then the third popup after I click "Authorize"
    and of course after this it repeats itself.
    I have tried authorizing the computer under the itunes store tab but then it says its already authorized. I don't know how to fix this and it's been a pain for over a month. I heard someone else in my family had the same problem and it just randomly went away after certain amount of time, which I don't get. Any help is gladly accepted.
    Also Merry Christmas

    A few more details....
    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Error message says redirecting to never ending loop may be due to refusal to accept cookies. How do I fix it?

    I was trying to sign into Netflex. I entered all info and then enter, but got a message something to the effect that Firefox was redirecting my attempt in ways that would never complete. Suggested that it might me due to refusal to accept cookies. I remember yesterday it had asked to allow a cookie from somewhere but said I already had many cookies from them, so I clicked on disallow.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.<br />
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.<br />
    * http://kb.mozillazine.org/Profile_folder_-_Firefox<br />

  • Sign in to redeem your code - Never Ending Loop

    I'm in the process of trying to redeem a digital download...  When I go into iTunes it asks me for my code, then after clicking redeem I'm given a login prompt saying 'Sign in to redeem your code'.
    When I enter my login and password (the same one I typed 2 seconds earlier to download my iTunes App updates and the same one I typed to log into my account to post here), it comes right back up and gives me the same prompt agan and again and again and again and again and again and again and again and again and again and again...
    It never gives me and error message of any kind (and again, I used the same login and password both before my attempt and after with no problems), it just repeatedly asks me for the informaiton...
    Anybody have any ideas on this???

    I ran into this recently as well. It is caused by a file in the user library preferences.
    First, make sure iTunes is closed.
    Open ~/Library/Preferences and delete everything iTunes related in the ByHost folder (much of it will look like com.apple.iTunes etc).
    Relaunch iTunes and try again and it should work. If the issue persists, deleting everything from your prefences folder will resolve the issue HOWEVER you will lose much of your application specific user settings, and in rare occasions Activation credentials for certain paid software. By doing this you will be deleting many files that have absolutely nothing to do with the issue in an effort to get rid of the corrupted ones. Things like Skype, Spotify, iMessage etc will require you to sign in as if you have never used the apps before. All this generally does is revert your application settings to default which isnt a big deal and doesn't result in data loss. I would possibly recommend just moving all of those items to a folder on your desktop and then manually reincorporating them until the issue comes back. Once the issue is present again, whatever you incorporated last was the file that was causing the issue. The rest may be fine.
    let me know how it works

  • CPU usage in never ending loop in thread

    hello,
    In my application I have a thread that establishes tcp/ip connection with
    a remote server and receives data. This connection is established and the server is infinitely checked for any data to be received
    something like
    do{
      //establish connection
      //get data
      //process it
    }while(true);problem is the CPU usage hits 100%. Whats the right way to perform such
    infinite operations?

    You might want to consider using my InfoFetcher. It will work on any kind of InputStream (like the one from URLConnection.openStream()) and will passively wait until there is data to be read. I will also post the TimeOut class which you need to get it to compile.
    You are welcome to use and modify this class, but please don't change the package or take credit for it as your own work
    InfoFetcher.java
    =============
    package tjacobs.io;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.ArrayList;
    import java.util.Iterator;
    import tjacobs.io.TimeOut.TimeOutCmd;
    * InfoFetcher is a generic way to read data from an input stream (file, socket, etc)
    * InfoFetcher can be set up with a thread so that it reads from an input stream
    * and report to registered listeners as it gets
    * more information. This vastly simplifies the process of always re-writing
    * the same code for reading from an input stream.
    * <p>
    * I use this all over
         public class InfoFetcher implements Runnable, TimeOutCmd {
              public byte[] buf;
              public InputStream in;
              public int waitTime;
              private ArrayList<InputStreamListener> mListeners;
              private ArrayList<FetcherListener> mFetcherListeners;
              public int got = 0;
              protected boolean mClearBufferFlag = false;
              public InfoFetcher(InputStream in, byte[] buf, int waitTime) {
                   this.buf = buf;
                   this.in = in;
                   this.waitTime = waitTime;
               * @deprecated use fetcherlistener
               * @param fll
              public void addInputStreamListener(InputStreamListener listener) {
                   if (mListeners == null) {
                        mListeners = new ArrayList<InputStreamListener>(2);
                   if (!mListeners.contains(listener)) {
                        mListeners.add(listener);
              public void addFetcherListener(FetcherListener listener) {
                   if (mFetcherListeners == null) {
                        mFetcherListeners = new ArrayList<FetcherListener>(2);
                   if (!mFetcherListeners.contains(listener)) {
                        mFetcherListeners.add(listener);
               * @deprecated use fetcherlistener
               * @param fll
              public void removeInputStreamListener(InputStreamListener fll) {
                   if (mListeners == null) {
                        return;
                   mListeners.remove(fll);
              public void removeFetcherListener(FetcherListener fll) {
                   if (mFetcherListeners == null) {
                        return;
                   mFetcherListeners.remove(fll);
              public byte[] readCompletely() {
                   run();
                   return buf;
              public int got() {
                   return got;
              /** Override this to implement other implementations
              public void timeOut() {
                   try {
                        in.close();
                   catch (IOException iox) {
                        iox.printStackTrace();
              public void run() {
                   TimeOut to = null;
                   if (waitTime > 0) {
                        to = new TimeOut(this, waitTime);
                        Thread t = new Thread(to);
                        t.start();
                   int b;
                   try {
                        while ((b = in.read()) != -1) {
                             if (to != null) to.tick();
                             if (got + 1 > buf.length) {
                                  buf = IOUtils.expandBuf(buf);
                             int start = got;
                             buf[got++] = (byte) b;
                             int available = in.available();
                             //System.out.println("got = " + got + " available = " + available + " buf.length = " + buf.length);
                             if (got + available > buf.length) {
                                  buf = IOUtils.expandBuf(buf, Math.max(got + available, buf.length * 2));
                             got += in.read(buf, got, available);
                             signalListeners(false, start);
                             if (mClearBufferFlag) {
                                  mClearBufferFlag = false;
                                  got = 0;
                   } catch (IOException iox) {
                        throw new PartialReadException(got, buf.length);
                   } finally {
                        if (to != null) to.stop();
                        buf = IOUtils.trimBuf(buf, got);
                        signalListeners(true);
              private void setClearBufferFlag(boolean status) {
                   mClearBufferFlag = status;
              public void clearBuffer() {
                   setClearBufferFlag(true);
              private void signalListeners(boolean over) {
                   signalListeners (over, 0);
              private void signalListeners(boolean over, int start) {
                   if (mFetcherListeners != null) {
                        Iterator<FetcherListener> i = mFetcherListeners.iterator();
                        while (i.hasNext()) {
                             FetcherListener fll = i.next();
                             if (over) {
                                  fll.fetchedAll(buf);
                             } else {
                                  fll.fetchedMore(buf, start, got);
                   if (mListeners != null) {
                        Iterator i = mListeners.iterator();
                        InputStreamEvent ev = new InputStreamEvent(got, buf, start);
                        //System.out.println("got: " + got + " buf = " + new String(buf, 0, 20));
                        while (i.hasNext()) {
                             InputStreamListener fll = (InputStreamListener) i.next();
                             if (over) {
                                  fll.gotAll(ev);
                             } else {
                                  fll.gotMore(ev);
              public static interface FetcherListener {
                   public void fetchedMore(byte[] buf, int start, int end);
                   public void fetchedAll(byte[] buf);
    ==========
    Timeout.java
    ==========
    package tjacobs.io;
    import java.io.IOException;
    import java.io.InputStream;
    public class TimeOut implements Runnable {
         private long mWaitTime;
         private boolean mRunning = true;
         private Thread mMyThread;
         private TimeOutCmd mTimeOutCmd;
         public static final int DEFAULT_WAIT_TIME = 30 * 1000; // 30 Seconds
         public static final int NO_TIMEOUT = -1;
         public static interface TimeOutCmd {
              public void timeOut();
         public TimeOut(TimeOutCmd cmd) {
              this(cmd, DEFAULT_WAIT_TIME);
         public TimeOut(TimeOutCmd cmd, int timeToWait) {
              mWaitTime = timeToWait;
              mTimeOutCmd = cmd;
         public void stop() {
              mRunning = false;
              mTimeOutCmd.timeOut();
              mMyThread.interrupt();
          * reset the TimeOut
         public void tick() {
              if (mMyThread != null)
                   mMyThread.interrupt();
         public void run () {
              mMyThread = Thread.currentThread();
              while (true) {
                   try {
                        Thread.sleep(mWaitTime);
                        stop();
                   catch (InterruptedException ex) {
                        if (!mRunning) {
                             return;
    }

Maybe you are looking for

  • How do I download music from my PC to Ipad

    How do I download music from my PC to Ipad2

  • IPhone sync freeze problem

    I've searched all the posts and tried everything (I think) but still have a problem. Syncing iPhone causes iTunes to freeze with force-quit the only option. Here's what I've tried: - repaired permissions - repaired drive (Disk Util) - repaired drive

  • I have got problem with my 90 day trial

    Hi i just bought Brand New 6220 Classic from ebay.co.uk uk seller, but i think he just bring the phone from Hong Kong, i have got the 90 days free trial of the Hong Kong & Macau maps, is it possible to get the United Kingdoms free trial??

  • Obtaining command line arguments

    Can someone point me at an example of how to obtain command line arguments from inside my Flex application? I want to have my Flex application perform different tasks when it is launched with different command line arguments, for example: myApp.exe 1

  • Can we Debug an AuditReport for a pissed off customer HUGE BUG IN IDM AUDIT

    Daily and Weekly Audit Reports return java.lang.NullPointer exception Error message. Unsurprisingly the customer is unimpressed. I find it impossible to find any documented method to trace what is happening once we fill in the form and start the Audi