System.close() and resources

Hi,
in my application I start many threads, and them open files. Those threads are like daemons waiting for changes in those files.
If i.e. a critical error is detected, is valid to finish the app a "System.exit()", or do I have to close every file and stop every thread?
Thanx

System resources (file handles, sockets etc) get
released back to the system when Java exits. Streams
and files don't get closed nicely so you may loose
any data that has been buffered before being written.If you are writing to (any of) those files, that is. And haven't called flush(). No problem if you're only reading.
I'm trying to complement the answer to the original poster. I am not trying to argue that just calling System.exit() is a nice and clean solution.

Similar Messages

  • Everytime I open Safari on my MacBook Pro a pop-up window from my Finder menu, with the Applications highlighted on the left in the favorites column with the Resources folder highlighted comes up and locks my Safari page until I manually close the Resourc

    Everytime I open Safari on my MacBook Pro a pop-up window from my Finder menu, with the Applications highlighted on the left in the favorites column with the Resources folder highlighted comes up and locks my Safari page until I manually close the Resources window then I have to refresh the internet search address line at the top of Safari. Can someone tell me how to stop this. It started after a software upgrade. It didn’t do that before. Thank you.

    A few thoughts for diagnosis/testing purposes:
    Have you recently run the disk utility and repaired HD and permissions? If not do so.
    Boot into the Safe mode - hold down shift key on boot - and see if the problems are still there. Some functions won't work but see if anything odd happens.
    Check your startup items. Get rid of them temporarily.
    Create a new user account and see if the problems occur with the new account.
    Lastly, be sure your backup is up-to-date.

  • When i try to load certain page, the system crashed and the bottom panel states " stopped" but when I close and open firefox again,it can't and I get this message that says my firefox is still running and to open the browser i need to restart the compu

    while browsing suddenly the system crashed and the bottom panel says " stopped".When closed and re-opened, I got a prompt that says firefox is still running and i have to close to open again or have to restart the computer but it doesn't work
    == This happened ==
    Every time Firefox opened
    == just happened

    You get message "firefox is still running" and computer restart doesn't help you. Try the advice below.
    Make sure Firefox isn't running (end firefox.exe process in Task Manager or restart computer)
    Find your profile folder
    C:\Documents and Settings\USERNAME\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default
    find file "parent.lock" in it and delete it (the file is empty, its function is to signify to Firefox whether it's already open or not).
    Then try to open Firefox again. Will it start or not? What will it say?

  • In System Prefereneces, when I am in Desktop and Screen Saver, I am unable to remove folders. I can click the "-" and the folder appears to be gone, but when I close and then reopen System Preferences, and open Desktop and Screen Saver, the folder reappea

    In System Prefereneces, when I am in Desktop and Screen Saver, I am unable to remove folders. I can click the "-" and the folder appears to be gone, but when I close and then reopen System Preferences, and open Desktop and Screen Saver, the folder reappears in the list. I have tried deleting preferences "plist" but I am totally unable to remove the folders.

    I've seen one other report like yours, and I think the issue is caused by a bug, but I don't know what triggers it.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • When i use firefox my system automatically closes and dumping memory starts

    when i use firefox my system automatically closes and dumping memory starts. This problem is not with interner explorer nor with google crome

    Firefox sometimes uses more memory (RAM) than it should. This can make Firefox slower, and in extreme cases, it can even make Firefox crash. This article describes how to make Firefox use less memory.
    https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram

  • HT201412 I just tried to upload the new operating system for my I phone 4s , I get to the terms and conditions, when touch "agree" it opens up and I touch agree again  and it closes and nothing more happens

    I just tried to upload the new operating system for my I phone 4s , I get to the terms and conditions, when touch "agree" it opens up and I touch agree again  and it closes and nothing more happens

    Reset and start all over again.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • ClickOnce and a System.Windows.Interacticity.resources issue

    Hi,
    I'm publishing my wpf app with clickOnce. I have put all the stuff like dlls, reference, prerequisites and so on.
    But, when I try to install it to a virgin virtual machine, it says me that I need the System.Windows.Interacticity.resources version 4.0.0.0.
    I use the  System.Windows.Interacticity.dll in my project, but I've never used the .resources. If I try to use the System.Windows.Interacticity.dll version 4.5 instead of 4.0... nothing changes!!
    How can I include System.Windows.Interacticity.resources with clickOnce or exclude it?
    I have System.Windows.Interacticity.resources in my bin/debug folders, but if I try to include it, it gives me a nullPointerException error.
    I have tried a lot of other forums/discussions/tickets, but still nothing worked for me.
    NOTES: updating my project with dlls and prerequisites, the System.Windows.Interacticity.resources began necessary. Before, it wasn't in this way. 
    Can I ignore it? or, how can I include it?
    I saw it in the /bin  folder, inside the folders with the language name (en, de, fr, it..). But if I try to refer to one of these System.Windows.Interacticity.resources,
    it gives me nullPointerException.
    This error is stopping my installer, so it is a big problem.
    Thanks in advance,
    Piero

    Hello,
    >>But, when I try to install it to a virgin virtual machine, it says me that I need the System.Windows.Interacticity.resources version 4.0.0.0.
    1. To clarify this issue, you could share us the screenshot about that message.
    >>I use the  System.Windows.Interacticity.dll in my project, but I've never
    used the .resources. If I try to use the System.Windows.Interacticity.dll version 4.5 instead of 4.0... nothing changes!!
    >>How can I include System.Windows.Interacticity.resources with clickOnce or exclude it?
    2. What did you mean by "use"? Calling method? Or did you added any reference to it?
    Regards,
    Carl
    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.

  • System preferences always wants to close and reopen

    Whenever I open system preferences, and click on any icon, I get a window that says " to use (whichever icon I chose) system preferences must close and reopen". If I click OK, the reopened preferences window will then work fine. This happens every time I try to use preferences, or even use preferences for some applications. It is distressing me a bit, as I am worried that I have some virus.

    This is not due to a virus, or any other kind of malware. The following may provide your solution:
    http://support.apple.com/kb/TS4350

  • A problem with this webpage caused Internet Explorer (IE9) to close and reopen the tab

    I have IE9 (using 32-bit version) installed on a relatively new laptop with Windows 7 64-bit. Up until last weekend IE9 worked fine and Flash Player worked fine too.
    At the weekend a webpage asked for Flash Player to be updated - which I did. Ever since then whenever I go to a webpage needing Flash Player I get the message "A problem with this webpage caused Internet Explorer to close and reopen the tab". This happens twice and then an IE9 error page.
    I have read the discussions in here about the problems with Flash Player 10.3 and have tried the various solutions. I have updated to 10.3.181.16 having tried 15 and 14 previously. Same problem.
    I have reset IE9. Same problem.
    I have disabled all add-ons which stops the problem. If I enable just the Flash Player add-on then the problem recurs. Since there are so many webpages that use Flash I do not want to run my browser without this add-on running.
    If I enable the add-on and run IE9 using software rendering instead of GPU rendering then I don't get the problem. However, this isn't exactly making the best use of the resources on my laptop.
    This may well all be related to the 10.3 problems but no one seems to have mentioned having a problem with tabs closing and reopening so I thought I would post on here to check.
    Any suggestions for how to solve this (other than using software rendering)?

    Thanks again for your reply. I appreciate the time you have taken to respond.
    I think, however, you misunderstand the problem. IE9 does not reopen the tabs on just one website - it is doing this on every website that needs Flash Player. Therefore, running in Compatibility mode is not an option. In fact, because IE9 reopens the tabs so quickly and then ends up with an error page, I cannot even click the Compatibility button anyway.
    I could use ActiveX filtering - true. All that this means is that Flash does not play on any of the websites. When I want to re-enable ActiveX for a particular website where I need to see the Flash Player item, this just triggers the error.
    This problem also happened on .14, .15 and well as the current .16 version. It did not happen with the previous version of Flash Player that I had on the system (version 10.2 I think).
    The fact is that either Flash Player or IE9 or both is/are broken. The two choices I am still left with are:
    1. Use software rendering (which contradicts the latest advertisements for IE9 about unleashing the power of IE)
    2. Use another browser - I have no problems with either Firefox or Chrome

  • Restoring failed: There is insufficient system memory in resource pool 'internal'

    Hi,
    I am going through all those similar questions but non of them solved my issue. 
    Our database is lost by mistake, now we need to recover the database from the backup. The backup file is 4.23 GB and when I am trying to restore the database after 40 minutes, I am getting the error 701, There is insufficient system memory in resource pool
    'internal' to run this query. Restored failed and when i close it, the state for the DB is still "Restoring".
    I did all these challenges but no use, please advice me how to retreive my DB back it is very important and vital.
    enabled the "AWE"
    enbale/disable the resource governor
    changed the server
    re-install SQL server
    Please help me to sort out the issue.
    Regards

    Hi,
    Thanks for your help. My server is Microsoft SQL Server 2008 R2 (SP1) (Intel X86) -  Developer Edition on Windows NT 6.1 <X86>  
    Memory_usedby_Sqlserver_MB = 118
    Locked_pages_used_Sqlserver_MB = 0
    in resource pool 'internal' ( not allowed ) . I install SQL server 64 bit on another 64 bit operating system as well but this time I got another error.
    The backup file can not be added it gives Sql server timeout error. ( this work for another smaller backup file) . I configure the query  timeout but not solved. What you suggest now?
    SP1 for SQL server 2008 R2 is not the latest but the latest is SP2. Please apply it when you move ahead.
    Since you had 32 bit this error can come.I cannot reproduce the error neither I know what all queries or processes were running when you got OOM error during restore so its hard to tell .Did you set value for MAX server memory in sp_configure.How much physical
    RAM do you have ?
    Can you post complete error when you tried to restore backup on 64 bit. Also make sure you cannot restore backup from 2008 R2 to lower versions.( like 2008, 2005)
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Reg.Automatic posting period close and open

    Dear Experts
    We have to do Posting period close and open in MMPV every month, is there any way to do automatically as background job. Pls help me.
    Thanks in advance
    Rajakumar.K

    Hi,
    To open the MM period every month, you can schedule the batch job in background.
    Use transaction code SM36 and the program name for this transaction code is RMMMPERI.
    Use dynamic selection for the date, where u can give the date as a first day of next month and schedule the job for the last day of every month.
    It is working fine in my system
    I hope it will help.

  • Mail 6.3 will not close and won't open an interactive window

    A day or so ago I tried deleting about 4 messages off mail and then shut the app.  A note came up and stated the messages could not be sent to the delete folder and then proceeded to close the window but the application remained as opened.  I tried to quit the app from the dock but it wouldn't close it.  I then tried shutting the system down and mail stopped it from closing.  I have a Mac Book Pro with Mountain Lion 10.8.3 and tried to let the battery drain to let shut down that way to no avail.  I've tried opening another window in Mail but it won't open a functional window (preview screen will not display highlighted message).  How do I force a close or bring mail back to use it properly?

    Mac OS X: How to quit an unresponsive application using Force Quit

  • My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help?

    My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help I have tried everything I know to do

    Unfortunately this means that there is a problem in the boot sector of your hard drive. It might be indicative of a fundamental corruption in the coding that allows your computer to boot your operating system from your hard drive. I had this problem twice and it resulted in me having to get a new hard drive and restore my data.
    In other words, your computer can't talk to your operating system so you can't access your data.
    Here is my advice: DON'T CALL APPLE TECH SUPPORT though they are kind and usually helpful it will take you an hour just to explain the situation and they will only tell you to do what I'm gonna say here.
    First: Shut down your computer completely
    Two: boot up while holding down the following keys: command, option, p, and r. The computer will reboot 3 times. This solution will likely fail so if you're frustrated skip to the next step.
    Three: Boot up while holding down the option key. Select recovery drive. Select your default language. Select disk utility, click on Macintosh HD, and select "verify and repair volume." Likely the verification will produce some line like "unused node not erased." Or something like that. If anything using the words "node structure" comes up, you need a new hard drive.
    If after verification and repairs you still can't boot I sincerely hope you have apple care because you will need a new hard drive. Set up an appointment to come in to the apple store, they will tell you to go and get data recovery, just ask them to give you the old hard drive. Unless you have an up to date backup in which case you can just restore from that. If you're lucky the only issue is with the boot sector which means that if you ask them to give you the old hard drive, you can buy an enclosure and you have effectively been given a free external hard drive. It still works to store data just not to load an operating system.
    If you have a back up drive bring it to the apple store and they'll do the whole thing right there, it should take around an hour and a half but may take longer.
    Hope this helps, it's annoying but it's your safest bet.
    All the best.

  • Eventlog: Given key not found and resource missing

    Hello at all,
    I having a strange issue in one of my customers environments.
    My eventlog is filled with many many error saying either "The given key was not present in the dictionary." and "Resource is missing".
    Here are the full details on both eventlogs:
    Requestor: urn:uuid:e1603551-065e-4f84-a236-acb00d1c8e18
    Correlation Identifier: 3fdbcc5d-45d2-4541-830d-a7ccffed9327
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.ThrowHelper.ThrowKeyNotFoundException()
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.ResourceManagement.Query.QueryParametersGenerator.WriteRequestedAttributes()
    at Microsoft.ResourceManagement.Query.QueryParametersGenerator.BuildParameterString()
    at Microsoft.ResourceManagement.Query.QueryProcessor.BuildSqlCommand(Query objectRepresentation, Boolean countResultsOnly)
    at Microsoft.ResourceManagement.Query.QueryProcessor.ExecuteQuery(Query query, Nullable`1 maximumTime, Boolean& endOfSequence, Boolean countResultsOnly, Int64& resultCount, Int64& executionTime)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecutePullActionImpl(PullRequestParameter pullParameter)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteEnumerateAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Enumerate(Message request)
    --- End of inner exception stack trace ---
    Requestor: urn:uuid:b3694817-313e-449f-b471-6484b3917c02
    Correlation Identifier: 3fae4696-f7de-490f-bb77-a3603fce43f0
    Microsoft.ResourceManagement.Service: Microsoft.ResourceManagement.WebServices.Exceptions.PermissionDeniedException: ResourceIsMissing
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteGetAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Get(Message request)
    and also some short snippet from the FIM Service trace in verbose mode:
    Microsoft.ResourceManagement Verbose: 0 : Request '' status was updated in-memory from 'NotFound' to 'Validating'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4651988Z
    Microsoft.ResourceManagement Verbose: 0 : Request created: ''
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4671990Z
    Microsoft.ResourceManagement Verbose: 0 : Entered RequestDispatcher with Request Object; RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4681991Z
    Microsoft.ResourceManagement Verbose: 0 : Add request 'dd715f67-ccba-4496-bb6e-1fba39283358' to cache with RequestStatus 'Validating'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4681991Z
    Microsoft.ResourceManagement Information: 1 : RequestDispatcher enter processing pipeline; RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358'; Operation 'Get'; Object ''; RequestStatus 'Validating'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4691992Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358' for a 'Get' operation on object '' with RequestStatus 'Validating'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4701993Z
    Microsoft.ResourceManagement Verbose: 0 : Request 'dd715f67-ccba-4496-bb6e-1fba39283358' status was updated in-memory from 'Validating' to 'Validated'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4761999Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358' for a 'Get' operation on object '' with RequestStatus 'Validated'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4772000Z
    Microsoft.ResourceManagement Verbose: 0 : Executing initial authentication.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4782001Z
    Microsoft.ResourceManagement Verbose: 0 : Request 'dd715f67-ccba-4496-bb6e-1fba39283358' status was updated in-memory from 'Validated' to 'Authenticating'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4792002Z
    Microsoft.ResourceManagement Verbose: 0 : Request 'dd715f67-ccba-4496-bb6e-1fba39283358' status was updated in-memory from 'Authenticating' to 'Authenticated'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4802003Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358' for a 'Get' operation on object '' with RequestStatus 'Authenticated'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4802003Z
    Microsoft.ResourceManagement Verbose: 0 : Request 'dd715f67-ccba-4496-bb6e-1fba39283358' status was updated in-memory from 'Authenticated' to 'Authorized'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4812004Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358' for a 'Get' operation on object '' with RequestStatus 'Authorized'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4822005Z
    Microsoft.ResourceManagement Information: 1 : WS: Action.Get.Execute.Enter
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4822005Z
    Microsoft.ResourceManagement Verbose: 0 : XPathDialectParser.ParseXPathExpression.Enter(/Person[ObjectID='fb89aefa-5ea1-47f1-8890-abe7797d6497'])
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4842007Z
    Microsoft.ResourceManagement Verbose: 0 : XPathDialectParser.Enumerate.BuilderResult(/Person[ObjectID = 'fb89aefa-5ea1-47f1-8890-abe7797d6497'])
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4872010Z
    Microsoft.ResourceManagement Verbose: 0 : XPathDialectParser.ParseXPathExpression.Exit(/Person[ObjectID = 'fb89aefa-5ea1-47f1-8890-abe7797d6497'])
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4872010Z
    Microsoft.ResourceManagement Information: 1 : Query: QueryProcessor.ExecuteQuery.ExecuteReader.Enter
    ThreadId=16
    DateTime=2013-12-19T14:14:23.4882011Z
    Microsoft.ResourceManagement Information: 1 : Query: QueryProcessor.ExecuteQuery.ExecuteReader.Exit
    ThreadId=16
    DateTime=2013-12-19T14:14:23.6252148Z
    Microsoft.ResourceManagement Verbose: 0 : Request 'dd715f67-ccba-4496-bb6e-1fba39283358' status was updated in-memory from 'Authorized' to 'Denied'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.6282151Z
    Microsoft.ResourceManagement Information: 1 : RequestIdentifier 'dd715f67-ccba-4496-bb6e-1fba39283358' exited RequestDispatcher with RequestStatus 'Denied'.
    ThreadId=16
    DateTime=2013-12-19T14:14:23.6282151Z
    Microsoft.ResourceManagement Information: 1 : WS: Get:PermissionDenied
    ThreadId=16
    DateTime=2013-12-19T14:14:23.6302153Z
    Microsoft.ResourceManagement Error: 3 : Requestor: urn:uuid:0aac2c9a-5a8b-44c7-ba8b-909d459a3d66
    Correlation Identifier: 771ee212-67a9-410a-bffe-fef76a78e366
    Microsoft.ResourceManagement.Service: Microsoft.ResourceManagement.WebServices.Exceptions.PermissionDeniedException: ResourceIsMissing
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteGetAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Get(Message request)
    ThreadId=16
    DateTime=2013-12-19T14:14:23.6312154Z
    Microsoft.ResourceManagement Information: 1 : WS: Get: exit
    ThreadId=16
    DateTime=2013-12-19T14:14:24.0012524Z
    Microsoft.ResourceManagement Information: 1 : WS: Get: enter
    ThreadId=16
    DateTime=2013-12-19T14:14:24.0792602Z
    Microsoft.ResourceManagement Information: 1 : WS: ObjectType,ObjectID,DisplayName,Locale
    ThreadId=16
    DateTime=2013-12-19T14:14:24.0822605Z
    Microsoft.ResourceManagement Information: 1 : WS: GetCurrentUserFromSecurityIdentifier.Enter: S-1-5-21-1343024091-790525478-839522115-44293
    ThreadId=16
    DateTime=2013-12-19T14:14:24.0832606Z
    Microsoft.ResourceManagement Information: 1 : WS: GetCurrentUserFromSecurityIdentifier.Exit
    ThreadId=16
    DateTime=2013-12-19T14:14:24.0842607Z
    Microsoft.ResourceManagement Information: 1 : Get(fb89aefa-5ea1-47f1-8890-abe7797d6497)
    ThreadId=16
    DateTime=2013-12-19T14:14:24.0852608Z
    Tracelog is nearly identical on the "key not present" error, after
    authorized, the request (which i can see is a read/get) is switched back to
    denied.
    The only thing that in common in all errors in the tracelog is that it occurs on a get of a guid/reference.
    In Portal everthing is working like expected i see no errors, all data is displayed like it should, not resources oder value are missing.
    But at the most places I click in portal it generates one of the to event, even if I switch from one user tab to another, but only this ones which holds group reporting controls (no errors on tab where manager and assistant are displayed).
    Eventlogs also apperas on displaying all users or searching for them and even in request history and MPR list.
    I am the initial administrator and in addition give (for testing) explicit read to all objects with all attributes to the admin set
    So the problem is not that urgent as all is working like expected but it fills up my eventlog, making it hard to seperate this errors from real issues.
    Environment ist FIM 2010 R2 Sp1 with latest Hotfix (4.1.3496.0) running on SharePoint Foundation 2013 on a Server 2008 R2. SP2013 was installed with the help on the guide from FimSpecialist.
    Anyone a hint on how to solve this ?
    Regards
    Peter
    Peter Stapf - Doeres AG - My blog:
    JustIDM.wordpress.com

    So here is another sample snippet from the tracelog.
    The request and behavior is very similar to the other just that it throws the other error. I am not quite sure at the moment if that are 2 different errors or just 1 error with different exceptions thrown.
    Microsoft.ResourceManagement Verbose: 0 : Request '' status was updated in-memory from 'NotFound' to 'Validating'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3243848Z
    Microsoft.ResourceManagement Verbose: 0 : Request created: 'Enumerate Request'
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3243848Z
    Microsoft.ResourceManagement Verbose: 0 : Entered RequestDispatcher with Request Object; RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3253849Z
    Microsoft.ResourceManagement Verbose: 0 : Add request '9267e65b-f070-41fb-9631-da5e1d3295e2' to cache with RequestStatus 'Validating'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3263850Z
    Microsoft.ResourceManagement Information: 1 : RequestDispatcher enter processing pipeline; RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2'; Operation 'Enumerate'; Object ''; RequestStatus 'Validating'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3273851Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2' for a 'Enumerate' operation on object '' with RequestStatus 'Validating'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3273851Z
    Microsoft.ResourceManagement Verbose: 0 : Request '9267e65b-f070-41fb-9631-da5e1d3295e2' status was updated in-memory from 'Validating' to 'Validated'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3303854Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2' for a 'Enumerate' operation on object '' with RequestStatus 'Validated'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3303854Z
    Microsoft.ResourceManagement Verbose: 0 : Executing initial authentication.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3313855Z
    Microsoft.ResourceManagement Verbose: 0 : Request '9267e65b-f070-41fb-9631-da5e1d3295e2' status was updated in-memory from 'Validated' to 'Authenticating'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3323856Z
    Microsoft.ResourceManagement Verbose: 0 : Request '9267e65b-f070-41fb-9631-da5e1d3295e2' status was updated in-memory from 'Authenticating' to 'Authenticated'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3323856Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2' for a 'Enumerate' operation on object '' with RequestStatus 'Authenticated'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3333857Z
    Microsoft.ResourceManagement Verbose: 0 : Request '9267e65b-f070-41fb-9631-da5e1d3295e2' status was updated in-memory from 'Authenticated' to 'Authorized'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3343858Z
    Microsoft.ResourceManagement Verbose: 0 : RequestDispatcher is processing RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2' for a 'Enumerate' operation on object '' with RequestStatus 'Authorized'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3343858Z
    Microsoft.ResourceManagement Information: 1 : WS: Action.Enumerate.Execute.Enter
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3353859Z
    Microsoft.ResourceManagement Information: 1 : Query: QueryProcessor.ExecuteQuery.ExecuteReader.Enter
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3353859Z
    Microsoft.ResourceManagement Verbose: 0 : Request '9267e65b-f070-41fb-9631-da5e1d3295e2' status was updated in-memory from 'Authorized' to 'Denied'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3373861Z
    Microsoft.ResourceManagement Information: 1 : RequestIdentifier '9267e65b-f070-41fb-9631-da5e1d3295e2' exited RequestDispatcher with RequestStatus 'Denied'.
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3383862Z
    Microsoft.ResourceManagement Information: 1 : WS: Enumerate:UnwillingToPerform
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3423866Z
    Microsoft.ResourceManagement Error: 3 : Requestor: urn:uuid:0aac2c9a-5a8b-44c7-ba8b-909d459a3d66
    Correlation Identifier: 9695ba96-37de-482f-b75d-3f92046013fe
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.ThrowHelper.ThrowKeyNotFoundException()
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.ResourceManagement.Query.QueryParametersGenerator.WriteRequestedAttributes()
    at Microsoft.ResourceManagement.Query.QueryParametersGenerator.BuildParameterString()
    at Microsoft.ResourceManagement.Query.QueryProcessor.BuildSqlCommand(Query objectRepresentation, Boolean countResultsOnly)
    at Microsoft.ResourceManagement.Query.QueryProcessor.ExecuteQuery(Query query, Nullable`1 maximumTime, Boolean& endOfSequence, Boolean countResultsOnly, Int64& resultCount, Int64& executionTime)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecutePullActionImpl(PullRequestParameter pullParameter)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteEnumerateAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
    at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Enumerate(Message request)
    --- End of inner exception stack trace ---
    ThreadId=12
    DateTime=2013-12-19T14:14:15.3453869Z
    Microsoft.ResourceManagement Verbose: 0 : HostActivator refreshing active host cache.
    ThreadId=8
    DateTime=2013-12-19T14:14:17.3145838Z
    Microsoft.ResourceManagement Verbose: 0 : HostActivator finished refreshing active host cache.
    ThreadId=8
    DateTime=2013-12-19T14:14:17.3325856Z
    Microsoft.ResourceManagement Verbose: 0 : Post Processing Manager is checking Requests for completion.
    ThreadId=8
    DateTime=2013-12-19T14:14:18.8757399Z
    Microsoft.ResourceManagement Verbose: 0 : The scan to check for Completed Requests started with Request Key '0' and ended at Key '0'.
    ThreadId=8
    DateTime=2013-12-19T14:14:18.8927416Z
    Microsoft.ResourceManagement Verbose: 0 : Post Processing Manager has finished checking Requests for completion.
    ThreadId=8
    DateTime=2013-12-19T14:14:18.8937417Z
    Microsoft.ResourceManagement Verbose: 0 : HostActivator refreshing active host cache.
    ThreadId=9
    DateTime=2013-12-19T14:14:22.3370860Z
    Microsoft.ResourceManagement Verbose: 0 : HostActivator finished refreshing active host cache.
    ThreadId=9
    DateTime=2013-12-19T14:14:22.3500873Z
    Microsoft.ResourceManagement Information: 1 : WS: Get: enter
    ThreadId=16
    DateTime=2013-12-19T14:14:22.8591382Z
    Microsoft.ResourceManagement Information: 1 : WS: ObjectID,AccountName,CreatedTime,Creator,DeletedTime,Department,Description,DetectedRulesList,DisplayedOwner,DisplayName,Domain,DomainConfiguration,Email,ExpectedRulesList,ExpirationTime,ExplicitMember,Filter,Locale,MailNickname,MembershipAddWorkflow,MembershipLocked,MVObjectID,ObjectSID,ObjectType,Owner,ResourceTime,Scope,SIDHistory,Temporal,Type,msidmDeferredEvaluation,ShowAppInfoTab,AssignCondition,TechnicalOfficer,ResponsiblePerson,ResponsibleGroup,InfoURL,LicenseCount,TeamID,TeamLeaderAssistant,Tea
    ThreadId=16
    DateTime=2013-12-19T14:14:22.8631386Z
    Microsoft.ResourceManagement Information: 1 : WS: GetCurrentUserFromSecurityIdentifier.Enter: S-1-5-21-1343024091-790525478-839522115-44293
    ThreadId=16
    DateTime=2013-12-19T14:14:22.8631386Z
    Microsoft.ResourceManagement Information: 1 : WS: GetCurrentUserFromSecurityIdentifier.Exit
    ThreadId=16
    DateTime=2013-12-19T14:14:22.8641387Z
    Microsoft.ResourceManagement Information: 1 : Get(20e7fb47-7ebf-42ed-a89b-0cd771f24390)
    ThreadId=16
    DateTime=2013-12-19T14:14:22.8651388Z
    Peter Stapf - Doeres AG - My blog:
    JustIDM.wordpress.com

  • Help tab doesn't want to close and let me continue

    Please help, I've accidentally clicked on help in photoshop and was very busy with an assignment and now it doesn't want to go away.  It says Unable to display online help.  Connect to the internet and try again.....blablabla.... then OK,  for the life of me I've clicked on OK many many times, it doesn't want to close and there is no escape or close button (x), I've even connected to my internet and it's still the same story.  Please tell me this have happened to atleast one of you, I don't want to lose all my work ;(

    What operating system?  If Windows, open the Task manager > Applications tab.  Click on your browser, and End process.

Maybe you are looking for

  • How to find out what has been restored to a database instance?

    I'm using RMAN to back up and restore/recover. How to find out what has been restored/recovered to a database instance? Oracle version is 11gR2 but compatibility is set to 10. Edited by: 881656 on Aug 28, 2012 1:54 AM

  • How do i delete pages from my resume i dont want

    im still not sure what to do

  • Controlling Multiple USB Webcams

    I am currently using Pete Parente's webcam toolkit (www.mindofpete.org)) in order to capture a single image from a webcam. However, I am in need of controlling multiple webcams. I do not wish the take the pictures simultaneously. I am looking to turn

  • Where from to download older OSX version (10.9)?

    Hi. I just bought a new Mac. Thrilling... It comes with Yosemite, however my studio driver (UAD) support still older version only (10.9), so I need to downgrade my OSX version. What is the recommended download link for older OSX version (latest 10.9)

  • Query using conncet by prior

    Hi guys, We have this below table with three coloumns Id             Value                 Parentid 1234         6                                       1235         7                      1234 1239         8                      1235 1338         9