Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1333

Class Cast Exception on weblog settings page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 3.0
    • None
    • None
    • Tomcat 5.5.20, hibernate 3.2
    • all
    • mySQL 5.0.27
    • 1.5.0_09
    • Win 2K Advanced Server

    Description

      Class Cast Exception (java.lang.Long) when an integer value appears in referer table, dayHits field, means no access to the settings page for a weblog after a comment is made.

      Source code appears to cast an Integer at line 393 in HibernateRefererManagerImpl.java, but exception says it's a Long. Tweeking DB setup made no difference, but making fields nullable and null appears to work, albeit at the expense of hit counting.

      Attachments

        Activity

          People

            roller_unassigned Roller Unassigned
            nostrodecus declan mcgarry
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: