Apache Roller
  1. Apache Roller
  2. ROL-1333

Class Cast Exception on weblog settings page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Tomcat 5.5.20, hibernate 3.2
    • Browser Version:
      all
    • Database:
      mySQL 5.0.27
    • JDK Version:
      1.5.0_09
    • O/S Version:
      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.

        Activity

        Glen Mazza made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Unresolved [ 9 ]
        Mark Thomas made changes -
        Workflow jira [ 12458811 ] Default workflow, editable Closed status [ 12622921 ]
        Henri Yandell made changes -
        Field Original Value New Value
        Project Import Fri Mar 27 23:38:16 PDT 2009 [ 1238222296558 ]
        declan mcgarry created issue -

          People

          • Assignee:
            Roller Unassigned
            Reporter:
            declan mcgarry
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development