Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Java.lang.ClassCastException error

Help
2012-10-26
2012-11-23
  • Howard Neil
    Howard Neil
    2012-10-26

    Hi,

    Yesterday got the following error message:-

    An error has occurred. See error log for more details.
    org.rssowl.core.internal.persist.Attachment cannot be cast to org.rssowl.core.persist.IFolderChild

    I am unable to see any news feeds and "Could not create the view: An unexpected exception was thrown." is shown.

    Help, please.

    Howard Neil

     
  • genodeftest
    genodeftest
    2012-10-29

    Hi
    can you please export a log file (see http://www.rssowl.org/help#item_5) and attach it to your post?

     
  • Howard Neil
    Howard Neil
    2012-10-31

    Log file attached, as requested.

     
    Attachments
  • genodeftest
    genodeftest
    2012-11-01

    Hi
    try running RSSOwl with this command from terminal:
    RSSOwl -vmargs -Drssowl.reindex=true -Xmx1024m
    Seems like your database has some problems to be fixed. Also try to run the cleanup wizard from menu↦Tools

     
  • Howard Neil
    Howard Neil
    2012-11-02

    Hi genodeftest,

    Thank you for your help, Owl is now back up and running. I had already tried the cleanup wizard with no success, so I went straight for the command from a terminal. At first it seemed to fail but then gave me the option to recover from a recent backup. That worked perfectly and it is now working correctly.

    Just one final question. Where are the backups stored, please? I cannot see any options in any of the settings and cannot find them in Windows Explorer. It seems that the quickest way to recover the program, should this happen again, would be to simply recover the latest backup.

     
  • genodeftest
    genodeftest
    2012-11-02

    RSSOwl's application data folder can be found:
    Windows 7: C:/Users/<your.name>/.rssowl2
    Windows Vista: C:/Users/<your.name>/.rssowl2
    Windows XP: C:/Documents and Settings/<your.name>/.rssowl2
    Linux: <home.dir>/.rssowl2
    Mac: <home.dir>/.rssowl2
    Then go to .metadata/plugins/org.rssowl.core. This folder contains the database (rssowl.db) plus some backups with names starting with rssowl.db.

     
  • Howard Neil
    Howard Neil
    2012-11-02

    Thank you very much. No wonder I couldn't find it. I have noted it for the moment but it could be worthwhile providing a link to the backups in the menu, next time there is an update to RSSOwl.