Log4j - why not logging RuntimeException to the file?

log4j.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="true"
     xmlns:log4j="http://jakarta.apache.org/log4j/">
     <appender name="Console" class="org.apache.log4j.ConsoleAppender">
          <layout class="org.apache.log4j.PatternLayout">
               <!-- l, L, M - is extremely slow. It's use should be avoided unless execution
                    speed is not an issue. -->
               <param name="ConversionPattern" value="%d{[dd MMM yyyy HH:mm:ss.SSS]} %l %p:%n    %m%n" />
          </layout>
     </appender>
     <appender name="File" class="org.apache.log4j.DailyRollingFileAppender">
          <param name="File" value="logs/trace.log" />
          <param name="Append" value="true" />
          <layout class="org.apache.log4j.PatternLayout">
               <param name="ConversionPattern" value="%d{[dd MMM yyyy HH:mm:ss.SSS]} %l %p:%n    %m%n" />
          </layout>
     </appender>
     <root>
          <level value="ALL" />
          <appender-ref ref="Console" />
          <appender-ref ref="File" />
     </root>
</log4j:configuration>and all logging to the file and to the console. OK.
But when throw RuntimeException (e.g. java.lang.NullPointerException) then logging ONLY to the console. But I also need logging to the file.
console log WITH RuntimeException:
[java] [09 Aug 2010 12:48:23.591] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:150) DEBUG:
[java]     Start signing and uploading M2 documents to the CB (FTP server) ...
[java] [09 Aug 2010 12:48:23.607] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:423) TRACE:
[java]     Start creating m2PackDocuments from DB (from M2 documents with status 0) by SQL query:
[java] SELECT * FROM OutDocs WHERE STATUS=0
[java] [09 Aug 2010 12:48:23.622] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:471) TRACE:
[java]     Success created m2PackDocuments(6)
[java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:158) TRACE:
[java]     Success created m2PackDocuments(6) from M2 documents with status 'new'
[java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.util.M2EIManager.sendM2Pack(M2EIManager.java:178) TRACE:
[java]     Start create M2Pack
[java] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
[java]      at com.mycompany.myproject.pack.M2PackTrailer.isCorrectPhone(M2PackTrailer.java:361)
[java]      at com.mycompany.myproject.pack.M2PackTrailer.setTrailer_Phone(M2PackTrailer.java:380)
[java]      at com.mycompany.myproject.pack.M2PackTrailer.setTrailer(M2PackTrailer.java:425)
[java]      at com.mycompany.myproject.pack.M2PackTrailer.createDynamicTrailerFields(M2PackTrailer.java:481)
[java]      at com.mycompany.myproject.pack.M2PackTrailer.initialize(M2PackTrailer.java:489)
[java]      at com.mycompany.myproject.pack.M2PackTrailer.<init>(M2PackTrailer.java:494)
[java]      at com.mycompany.myproject.pack.M2Pack.initialize(M2Pack.java:28)
[java]      at com.mycompany.myproject.pack.M2Pack.<init>(M2Pack.java:32)
[java]      at com.mycompany.myproject.util.M2EIManager.sendM2Pack(M2EIManager.java:179)
[java]      at com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:165)
[java]      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
[java]      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
[java]      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
[java]      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[java]      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
[java]      at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
[java]      at java.awt.Component.processMouseEvent(Unknown Source)
[java]      at javax.swing.JComponent.processMouseEvent(Unknown Source)
[java]      at java.awt.Component.processEvent(Unknown Source)file log WITHOUT logging RuntimeException:
[java] [09 Aug 2010 12:48:23.591] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:150) DEBUG:
[java]     Start signing and uploading M2 documents to the CB (FTP server) ...
[java] [09 Aug 2010 12:48:23.607] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:423) TRACE:
[java]     Start creating m2PackDocuments from DB (from M2 documents with status 0) by SQL query:
[java] SELECT * FROM OutDocs WHERE STATUS=0
[java] [09 Aug 2010 12:48:23.622] com.mycompany.myproject.db.DefaultDBStrategy.createM2PackDocuments(DefaultDBStrategy.java:471) TRACE:
[java]     Success created m2PackDocuments(6)
[java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:158) TRACE:
[java]     Success created m2PackDocuments(6) from M2 documents with status 'new'
[java] [09 Aug 2010 12:48:23.685] com.mycompany.myproject.util.M2EIManager.sendM2Pack(M2EIManager.java:178) TRACE:
[java]     Start create M2Pack

Because you're not catching the exception. You're letting it bubble up to Swing's default exception handler, which doesn't know about Log4J.
One solution would be to put a catch (Exception ex) in OutgoingTabView.actionPerformed, and explicitly log it there. I picked that method (rather than any of the ones lower on the stack trace) because catching the exception there is equivalent to saying "don't perform the action."
However, this solution isn't very good, because it would let your program continue in a probably-incorrect state. NullPointerException generally indicates a programming error: after all, if you expected that a particular value could be null, you wouldn't blindly dereference it, right? And while you could write code to undo anything that happened before the exception, a better solution is to log any available information, pop a dialog apologizing to the user, and shutting down.
Perhaps better, you could replace the event dispatch thread's [uncaught exception handler|http://download.oracle.com/javase/6/docs/api/java/lang/Thread.html#setUncaughtExceptionHandler] with something that writes the log and then exits. That will keep you from adding try/catch blocks to all of your action listeners.

Similar Messages

  • I can not log in to the account from the iTunes Store's why I lost my security question! I want to modify the security question again I can not

    I can not log in to the account from the iTunes Store's why I lost my security question! I want to modify the security question again I can not

    BLANK Cloud Screen http://forums.adobe.com/message/5484303
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • Why not Chinese supported in the JHS 10.1.3  internationalization?

    why not add chinese in the supported locales.

    hi all,
    i am facing follwing issue while applying this patch.
    i followed these steps
    1) > perl changeNamesWindows.pl home
    -it works fine
    2) > opatch apply
    While running this i got following message.
    Oracle Home : C:\product\10.1.3.1\OracleAS_Prod
    Oracle Home Inventory : C:\product\10.1.3.1\OracleAS_Prod\inventory
    Central Inventory : C:\Program Files\oracle\inventory
    from : N/A
    OUI location : C:\product\10.1.3.1\OracleAS_Prod\oui
    OUI shared library : C:\product\10.1.3.1\OracleAS_Prod\oui\lib\win32\oraInsta
    ller.dll
    Java location : "C:\product\10.1.3.1\OracleAS_Prod\jdk\jre\bin\java.exe"
    Log file location : C:\product\10.1.3.1\OracleAS_Prod/.patch_storage/<patch
    ID>/*.log
    Creating log file "C:\product\10.1.3.1\oracleas_prod\.patch_storage\5659094\Appl
    y_5659094_02-01-2007_13-55-49.log"
    Backing up comps.xml ...
    unbundling the rar file.
    OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
    cal system only.
    Please shut down Oracle instances running out of this ORACLE_HOME
    (Oracle Home = c:\product\10.1.3.1\oracleas_prod)
    Is this system ready for updating?
    Please respond Y|N >
    y
    Executing the Apply pre-patch script (C:\Documents and Settings\277717\Desktop\A
    BHI\5659094\custom\scripts\pre.bat)...
    'C:\Documents' is not recognized as an internal or external command,
    operable program or batch file.
    The pre patch script returned an error.
    Do you want to STOP?
    Please respond Y|N >
    Is not this a major bug.? i mean in many cases u have to access database objects
    & have to assign outputvalues to some other BPEL variables.
    Anybody Plz help me out..?
    /Mishit

  • PI is not able to pick the file from the FTP folder

    This is the FILE TO IDOC scenario. We have configured the file adapter. But its not able to pick the file from the specified directory. We have tried changing the transfer mode from Binary to Txt & also we have tried to put advance selection for source file but it didn't work. Its throwing the below error:
    PI Adapter Log:
    An error occurred while connecting to the FTP server '10.130.150.21:8529'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 451 Unexpected reply coderequested action aborted: local error in processing'. For details, contact your FTP server vendor.
    Also we have contacted the FTP team & they told that PI is sending an unsupported command. So instead of taking the file TLOG.txt, its treating this file name a s a directory. Please find the logs from FTP end below:
    FTP Log:
    (207197)2/5/2013 14:48:25 PM - sysisappi (63.130.82.16)> 230 Logged on
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> FEAT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211-Features:
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MDTM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  REST STREAM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  SIZE
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLST type*;size*;modify*;
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLSD
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH SSL
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH TLS
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PROT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PBSZ
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  UTF8
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  CLNT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MFMT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211 End
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PBSZ 0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 PBSZ=0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PROT P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 Protection level set to P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD /Qas
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas" is current directory.
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD SAP_ORION
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD Inbound
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD IRIIN04
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 221 Goodbye
    It should list  *TLOG.txt*  but instead it is trying to get into a directory named  *TLOG.txt*.  same for other interface.
    So me & my team is struggling for last couple of days to fix this issue.Please share your suggestion

    Hi Sisir
    The screen shot of your config doesn't seem to correspond to the FTP log. I say this because the * is dropped from file name pattern "*TLOG.txt" (comparing your config and the FTP log). Can you share an updated FTP log?
    Sisir Das wrote:
    "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    Also, like Rajesh suggested, have you tried to manually check permissions by logging in, traversing the directory, and getting the file?
    By the way, we always use backslash \ instead of forward slash in our configs. Not sure this would make any difference for you though. Also, I don't normally use a trailing \ at the end of the source directory path.

  • Could not initialize Photoshop because the file is locked

    I have the problem where you get the Could not initialize Photoshop because the file is locked, where the solution was to fix the properties in the jpg. I did that and tried the Ctrl-Alt-Shft thing too. I pressed them in time and got the message to delete the settings. When I click yes, I still get the "file locked" message. If it is the scratch disk setting problem, I can't get PS open to change it. This problem started when I was opening a locked jpg from a relative. (Now none of my previous pics will open either). Any other ideas other than these that are already listed in the forums? Thanks for any help.
    Technical: Windows XP 5.1, HP7680, Photoshop CS2, 2g ram, more than enough work drives. (no Vista)
    Sequence of events: 1) recd a jpg from a relative in an email and saved it to hard drive. 2) with Photoshop unopened, I rt clkd on the jpg and chose "open with CS2". 3) PS started loading and then stopped with the "file locked" msg. Clkd on OK and PS closed. 4) tried to open PS from the shortcut (and from explorer) and got same result. 5) researched the problem and then used the Ctrl-Alt-Shft approach, got the window that asks to "delete settings" and chose ok, PS closed again. 6) went to the jpg and displayed properties and saw "This file came from another computer and might be locked....", so I clicked "unblock". 7) retried step 2, then 4 with same results. 7) tried to open an old jpg with step 2 and same result (got file locked msg). 8) no longer can bring up the "delete settings" window with the the Ctrl-Alt-Shft approach as it looks like it deleted the settings the 1st time.
    Any ideas???? Thanks again.

    Bob,
    I do not know why a locked JPG would mess up PS. I could see if you always tried to launch PS, by dbl-clicking on the JPG in Windows Explorer, but not from your Desktop shortcut, or from the PS.exe file.
    For the locked file, there is a freeware utility, Unlocker. I do not have a URL handy, but Google should find it for you. It has worked on some network assets, that seemed to lock up on me.
    Good luck, though this might not address your PS launch issue.
    Hunt

  • WebPartPagesWebService.GetWebPartProperties gives The file is not available. Either the file does not exist or it cannot be edited from its current location.

    Hi,
        I am trying to get all web parts from our sharepoint site by calling web service method GetWebPartProperties of WebPartsPages service. The method works fine for the root page (Home Page) but for pages in sub site i get this in the xml
    node, Outer XML - <WebParts xmlns="http://microsoft.com/sharepoint/webpartpages"><!--The file is not available. Either the file does not exist or it cannot be edited from its current location.--></WebParts>. I am struck here.
    Please help me understand why i am getting this?
    Regards,
    Kalim

    Hi,
    We can do as follows:
    1. Mark sure the page URL is correct.
    2. Check whether current user has permission to access  the page.
    3. Use SPServices to get web part properties.
    http://spservices.codeplex.com/wikipage?title=WebPartPages
    Best Regards
    Dennis Guo
    TechNet Community Support

  • The itunes application could not be opened.  The file name was invalid or..

    ...too long.
    No idea when this started but cannot launch iTunes at all. To reiterate, when I try to launch iTunes I get the following error message: The itunes application could not be opened. The file name was invalid or too long.
    I actually uninstalled it and reinstalled on my external drive and it came back with the same error. Any ideas on how to troubleshoot what caused this? I am at my wits ends with this!

    I can't get mine to open at all. I even try clicking on a song to see if that will open it, nope. I have hooked up my iphone and ipods, nope. Click the icon, nope still nothing. It keeps erroring, but won't let me copy the error to put in here. I looked at the report it wants to send out, but there is nothing that says why it is erroring. Anyone else having this problem. Please email me at [email protected] to let me know what you did to solve it, or who I have to talk to to get it fixed... Thank you

  • You are unable to log in to the File Vault user account "myaccount "...

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at this time"*, but this genuinely worked for me despite AppleCare providing absolutely no assistance whatsoever. In fact, if I had followed their advise I'd be inconsolable right now having wiped my MacBook Pro and contemplating the prospect of rewriting my two essays due in 3 days time!
    I, in a moment of shear stupidity, decided to move the sparsebundle file in my one and only account to trash. Thinking nothing of my foolish actions I shut down for the evening without a care in the world. The next day I started up my computer as usual, and as usual I was prompted at the login screen for my password. I entered the correct password, but was alarmed to see the message above flash before my eyes. Without boring you all with what I did over the weekend waiting for AppleCare to open again on Monday morning. Anyway, this post is specifically for people who have put the sparsebundle of their FileVault-enabled account in the trash (NOT anything else!) without emptying it, of course! The other prerequisite is that you must REMEMBER YOUR FILEVAULT ACCOUNT PASSWORD!
    1. Firstly, you must insert *Disc 1 of the Mac OS X Install* discs.
    2. Restart your computer holding down the letter S (make sure you are holding this down BEFORE the start up noise sounds)
    3. Select the appropriate language and continue to the next screen (DO NOT go past the next screen, the WELCOME screen)
    4. At the grey bar at the top, under Utilities, select *Reset Password*
    5. Select the Administrator/Root account and proceed to change the password of this account to test
    6. Confirm the password by reentering it and click Save
    7. Restart your computer and at the login screen you should now be able to select an account named Other
    8. The username for this account is root and the password is test (the password you entered earlier)
    9. Using Finder, locate the Terminal utility, which can be found in *Applications --> Utilities*
    10. Enter the following, ignoring the bold of course (pay attention to lower cases AND spaces!): *defaults write com.apple.finder AppleShowAllFiles TRUE*
    11. Hit Enter
    12. On the next line, enter: *killall Finder*
    13. Hit Enter again
    14. Type: exit on the next line and close Terminal
    15. This has enabled the hidden files on your computer to be visible
    16. You then need to locate the sparsebundle file in the trash of your usual account folder (it could be 501, so search for that too) whilst logged in to the administrator account
    17. Once you have found it, click *Go to Folder* under Go in the grey bar and type /Users/
    18. Create a *new folder* at this location with a new username
    19. Move the sparsebundle from its present location to the folder you have just created
    20. Click Get Info on the new folder, and at the very bottom click *Apply to enclosed items*
    21. In *System Preferences --> Accounts*, create a new user with EXACTLY the same name as the folder you created (eg. Folder name = burtreynolds, new user = burtreynolds)
    22. A window should appear if you have done the above correctly stating *A folder in Users folder already has same name, would you like to use it?*
    22. Click OK
    23. Click *Show All* at the top of the Accounts window
    24. Restart your system and log in to the new account you have created
    25. The sparsebundle should now be visible
    26. Double-click on the sparsebundle, it will prompt you to enter a password
    27. Enter the password of your former account (if you have genuinely forgotten this password, I honestly can't help any further at this point)
    28. If the password is correct, the sparsebundle will automatically mount and you will have access to all the files
    29. NEVER EVER USE FILEVAULT AGAIN AND BACK UP ALL DATA YOU DON'T WANT TO LOSE!!!
    The above worked for me, and to say I'm mildly annoyed with AppleCare is, well, putting it mildly really!

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at this time"*, but this genuinely worked for me despite AppleCare providing absolutely no assistance whatsoever. In fact, if I had followed their advise I'd be inconsolable right now having wiped my MacBook Pro and contemplating the prospect of rewriting my two essays due in 3 days time!
    I, in a moment of shear stupidity, decided to move the sparsebundle file in my one and only account to trash. Thinking nothing of my foolish actions I shut down for the evening without a care in the world. The next day I started up my computer as usual, and as usual I was prompted at the login screen for my password. I entered the correct password, but was alarmed to see the message above flash before my eyes. Without boring you all with what I did over the weekend waiting for AppleCare to open again on Monday morning. Anyway, this post is specifically for people who have put the sparsebundle of their FileVault-enabled account in the trash (NOT anything else!) without emptying it, of course! The other prerequisite is that you must REMEMBER YOUR FILEVAULT ACCOUNT PASSWORD!
    1. Firstly, you must insert *Disc 1 of the Mac OS X Install* discs.
    2. Restart your computer holding down the letter S (make sure you are holding this down BEFORE the start up noise sounds)
    3. Select the appropriate language and continue to the next screen (DO NOT go past the next screen, the WELCOME screen)
    4. At the grey bar at the top, under Utilities, select *Reset Password*
    5. Select the Administrator/Root account and proceed to change the password of this account to test
    6. Confirm the password by reentering it and click Save
    7. Restart your computer and at the login screen you should now be able to select an account named Other
    8. The username for this account is root and the password is test (the password you entered earlier)
    9. Using Finder, locate the Terminal utility, which can be found in *Applications --> Utilities*
    10. Enter the following, ignoring the bold of course (pay attention to lower cases AND spaces!): *defaults write com.apple.finder AppleShowAllFiles TRUE*
    11. Hit Enter
    12. On the next line, enter: *killall Finder*
    13. Hit Enter again
    14. Type: exit on the next line and close Terminal
    15. This has enabled the hidden files on your computer to be visible
    16. You then need to locate the sparsebundle file in the trash of your usual account folder (it could be 501, so search for that too) whilst logged in to the administrator account
    17. Once you have found it, click *Go to Folder* under Go in the grey bar and type /Users/
    18. Create a *new folder* at this location with a new username
    19. Move the sparsebundle from its present location to the folder you have just created
    20. Click Get Info on the new folder, and at the very bottom click *Apply to enclosed items*
    21. In *System Preferences --> Accounts*, create a new user with EXACTLY the same name as the folder you created (eg. Folder name = burtreynolds, new user = burtreynolds)
    22. A window should appear if you have done the above correctly stating *A folder in Users folder already has same name, would you like to use it?*
    22. Click OK
    23. Click *Show All* at the top of the Accounts window
    24. Restart your system and log in to the new account you have created
    25. The sparsebundle should now be visible
    26. Double-click on the sparsebundle, it will prompt you to enter a password
    27. Enter the password of your former account (if you have genuinely forgotten this password, I honestly can't help any further at this point)
    28. If the password is correct, the sparsebundle will automatically mount and you will have access to all the files
    29. NEVER EVER USE FILEVAULT AGAIN AND BACK UP ALL DATA YOU DON'T WANT TO LOSE!!!
    The above worked for me, and to say I'm mildly annoyed with AppleCare is, well, putting it mildly really!

  • IPhoto '09 Import:  "The following files could not be imported. (The file is in  an unrecognized format.)"

    Problem:
    1)  Error when trying to import any photointo iPhoto
    "Thefollowing files could not be imported. (The file is in  an unrecognized format.)"
    2)  Can’t edit a photo in iPhoto, picturearea is black.  Same result whendouble-click to magnify a photo.
    3) for many websites (including Apple’s)Safari can't load webpages due to an error
    "Safari has repeatedly encounteredan error while trying to display.http://..."
      (may or may not be related,started about the same time.)
    pictures from Canon S90, from iPhone 4s, from the web; any jpg has same problem.
    Import methods:
    a)  Import when connect a camera SD card, or
    b)  File> Import to Library…
      Same result.
    Snow Leopard 10.6.8
    iPhoto ’09 version 8.1.2(424)
    45,028 items in 1287 events
    MacBook Pro A1211, 2.33 GHzCore 2 Duo, 4 GB RAM
    Using:
    Quicktime Player 10.0
    Quicktime Player Pro 7.6.6
    DownloadedQT 7.7; can't install because “QT X already installed”
    Tried logging in to my testaccount and importing into an empty iPhoto Library -- Same problem.
    Used iPhoto Library Managerto switch to a different (much smaller) LLibrary – same problem.
    lastsuccessful iPhoto import 11/9/2011, from iPhone
    recentsw updates:
    safari5.1.2  12/3/2011
    iTunes10.5.1  11/17/2011
    javafor mac os x 10.6 update 6 ver6.0 11/10/2011
    perConsole logs, error appears to be QTkitServer that is crashing.
    Example:
    12/4/115:10:03 PM ReportCrash[237] Saved crash report for QTKitServer[236] version??? (???) to /Users/marf/Library/Logs/DiagnosticReports/QTKitServer_2011-12-04-171003_Macint osh.crash
    based on other postings of QTkitServer crashes, Itried uninstalling:
    Flip4Mac
    Divx
    Perian
    No help.
    Screenshots available...
    Ideas?  THANKS

    Well if the problem is at Quicktime level you'll need to reinstall the OS.
    Regards
    TD

  • Help please! "Could not save as *** because the file...."

    I'm getting this error message when I try to save my files and it is happening often enough that it bothers me. This is very sudden - within the last week or two. I have Photoshop CS5, using Windows 7. I get the error message "Could not save as *** because the file is already in use or was left open by another application."
    I haven't done anything new to my computer or installed anything new, I've been using CS5 successfully since this summer when I first installed it on this brand new computer. Not sure why it's doing this now.
    When it happens, it does leave a .tmp file behind with each instance. I saved one this time just in case it's needed to determine the problem - normally I just delete it and try again. When I try multiple times, it eventually saves. But when I'm a professional photographer and have 100's of images to save, I just can't deal with this problem. Can anyone help? I'd be grateful!

    Are you saying you've disabled Spyware Doctor and it now works?  I'd toss that software out in a heartbeat if so.  Anti-malware software that interferes with your normal operation of your computer is not something to be accepted!
    Microsoft's Windows Defender is a decent substitute.  I also personally prefer Avast Pro antivirus.  Both are unobtrusive.
    -Noel

  • "open in camera RAW" is not an option in the file menu

    Using Photoshop/Bridge CS3, Windows XP Pro SP2, and ACR 4.5, the "open in camera RAW" is not an option in the file menu. Why is this option missing and how can I get it back?
    Thanks,
    Tom

    Hi,
    The D610 requires camera raw 8.3 which is not compatible with your PSE 10.
    You need to upgrade to PSE 12 (or later) or use the free Adobe DNG converter. The converter will take a flder containg your NEF files and converte them to DNG files. The DNG files can then be used by PSE 10.
    DNG  Converter 8.7
    Mac – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5858
    Win – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5864
    Useful Tutorial
    http://www.youtube.com/watch?v=0bqGovpuihw
    Brian

  • The selected signed file could not be authenticated. The file might have been tampered with or an error might have occured during download. Please verify the MD5 hash value against the Cisco Systems web site

    I am trying to load any 9.0.3 firmware on my UCM 5.0.4.2000-1 server. Every newer firmware I load throws the following error. I have verified the MD5 is correct and also downloaded the file several times with the same result. I can load the same firmware file on another UCM server and it loads fine. Any ideas?
    Thanks in advance!
    Error Message:
    The selected signed file could not be authenticated. The file might have been  tampered with or an error might have occured during download. Please verify the  MD5 hash value against the Cisco Systems web site:  9b:b6:31:09:18:15:e7:c0:97:9f:e6:fe:9a:19:94:99
    Firmware File: cmterm-7970_7971-sccp.9-0-3.cop.sgn
    UCM version: 5.0.4.2000-1

    Thanks for your reply. We have a lab environment where I maintain  UCM 5.0, 5.1, 6.0, 6.1, 7.0, 7.1 and 8.0 servers each running the latest released firmware for our QA testing team. I have downloaded and installed the latest device packages but find that if I try to install any firmware newer then 8.3.1 on either 5.0.4 or 6.0 i start getting MD5 hash authentication errors. It looks like 9.0.3 firmware should work on UCM 5.0 and 6.0 so I am lost as to why I can't seem to update any firmware for any model phone if it is newer then version 8.3.1 on either 5.0 or 6.0. while 5.1 and 6.1 work without issues. Maybe it is just a bug. I mostly wanted to see if anyone else has experienced this or if it is just me.

  • Lightroom 5.7 will not convert .nef to dng from my Nikon d750. Stand alone dng converter will not recognize or convert the files.

    Lightroom 5.7 will not convert .nef to dng from my Nikon d750. Stand alone dng converter will not recognize or convert the files. Any know whats wrong?

    I don't understand why you feel you need to use ViewNX to download your images from the camera. Lightroom has an excellent import process. I don't see that you gain anything by using the Nikon software. It seems to me that it has the capability of just creating more problems.
    If you want to convert your D750 files to DNG using the standalone DNG converter thing you need to have DNG converter 8.7 installed. Once you have it installed, just choose the FOLDER in the DNG converter, but don't open it in the DNG converter file browser. If you open that folder then you will get the message that there are no files to convert. The converter works on the folder level, not the individual file level.

  • Integrating OBIEE with EBS -   not logged in to the Oracle BI Server

    I have followed Metalink Note 552735.1 to integrate OBIEE with EBS R12. In addition I followed the forum threads such as
    OBIA 7.9.5 EBS Integration Not Logged On nQSError 43001 Authentication Fail
    on additional steps.
    After launching the url from EBS, I get the following error message:
    Not Logged In
    You are not currently logged in to the Oracle BI Server.
    If you have already logged in, your connection might have timed out, or a communications or server error may have occurred.
    My saw0log.log file is showing the following message. My BI Server is up and I'm not sure where I need to change the localhost in my config files.
    Odbc driver returned an error (SQLDriverConnectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 12008] Unable to connect to port 9703 on machine LOCALHOST.
    [nQSError: 12010] Communication error connecting to remote end point: address = LOCALHOST; port = 9703.
    [nQSError: 12002] Socket communication error at call=: (Number=-1) Error -1 occurred. (HY000)
    Type: Error
    Severity: 42
    Time: Mon Sep 21 15:28:12 2009
    File: project/webconnect/connection.cpp Line: 294
    Properties: ThreadID-3599
    Location:
         saw.connectionPool.getConnection
         saw.subsystem.security.checkAuthenticationImpl
         saw.threadPool
         saw.threads
    Error connecting to the Oracle BI Server: Could not connect to the Oracle BI Server because it is not running or is inaccessible. Please contact your system administrator.
    Odbc driver returned an error (SQLDriverConnectW).
    Type: Error
    Severity: 42
    Time: Mon Sep 21 15:29:07 2009
    File: project/webxml/saxreader.cpp Line: 559
    Properties: ThreadID-1286;HttpCommand-Dashboard;Proxy-;RemoteIP-152.140.65.68;User-;Impersonator-
    Location:
         saw.httpserver.request
         saw.rpc.server.responder
         saw.rpc.server
         saw.rpc.server.handleConnection
         saw.rpc.server.dispatch
         saw.threadPool
         saw.threads
    Can anyone please advise on this? Thanks in advance.

    We resolved the localhost issue but still receive the not logged in to the Oracle BI Server message.
    Now this is what shows in our saw0log.log:
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43001] Authentication failed for in repository Star: invalid user/password. (08004)
    Type: Error
    Severity: 42
    Time: Mon Sep 21 16:40:09 2009
    File: project/webconnect/connection.cpp Line: 276
    Properties: ThreadID-6169
    Location:
         saw.connectionPool.getConnection
         saw.subsystem.security.checkAuthenticationImpl
         saw.threadPool
         saw.threads
    Authentication Failure.
    Odbc driver returned an error (SQLDriverConnectW).
    Type: Error
    Severity: 42
    Time: Mon Sep 21 16:41:07 2009
    File: project/webxml/saxreader.cpp Line: 559
    Properties: ThreadID-2057;HttpCommand-Dashboard;Proxy-;RemoteIP-152.140.65.145;User-;Impersonator-
    Location:
         saw.httpserver.request
         saw.rpc.server.responder
         saw.rpc.server
         saw.rpc.server.handleConnection
         saw.rpc.server.dispatch
         saw.threadPool
         saw.threads
    Sax parser returned an exception.
    Message: Expected an element name, Entity publicId: /u01/obi/obid1/OracleBI/web/msgdb/messages/controlmessages.xml, Entity systemId: , Line number: 7, Column number: 44
    Type: Warning
    Severity: 40
    Time: Mon Sep 21 16:41:07 2009
    File: project/websubsystems/messagetablemanager.cpp Line: 117
    Properties: ThreadID-2057;HttpCommand-Dashboard;Proxy-;RemoteIP-152.140.65.145;User-;Impersonator-
    Location:
         saw.httpserver.request
         saw.rpc.server.responder
         saw.rpc.server
         saw.rpc.server.handleConnection
         saw.rpc.server.dispatch
         saw.threadPool
         saw.threads
    Error loading XML Message File (/u01/obi/obid1/OracleBI/web/msgdb/messages/controlmessages.xml): Sax parser returned an exception.
    Message: Expected an element name, Entity publicId: /u01/obi/obid1/OracleBI/web/msgdb/messages/controlmessages.xml, Entity systemId: , Line number: 7, Column number: 44
    Error Codes: UH6MBRBC

  • I can not log in due to file vault error

    I am the system administrator and I can not log in due to file vault problem.. How do I fix this?

    From a simple Google search of "repair file vault on Mac" I got this: Repairing a FileVault-protected Home folder
    OT

Maybe you are looking for

  • Why miss change layout button in ALV report

    Hello Experts, I have strange problem, I run the same transaction two times, one I have the change layout button but another I miss it... Anything control this button? thanks a lot for your help!

  • Transaction approach

    for transaction what is the recommended approach? Container-Managed or Bean-Managed? In my case I dont have any Entity beans. What about JTA? Thanks

  • When someone calls me reduce motion a crash

    When someone calls me reduce motion a crash iPhone 5c iOS 7.0.4

  • Mapping and GPS

    Device: 920 Windows phone My friend has a Droid  with an app that allows you, once it has your current gps, to speak an address into the phone and get step by step driving locations to that location.  We're both on Verizon. Is anything similar availa

  • How do I get an updateable ResultSet ?

    Using Oracle 8.1.7 JDBC libs. My code reads thus: Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs = stmt.executeQuery("select * from my_table"); rs.moveToInsertRow(); .. yet I see this