Jetspeed 2
  1. Jetspeed 2
  2. JS2-593

NullPointerException whent getting database connection in BatchedStatistics

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-dev
    • Fix Version/s: 2.1.3
    • Component/s: Persistence and DAO
    • Labels:
      None
    • Environment:
      Java 1.5
      Ubuntu 6.0.6

      Description

      When jetspeed call BatchedStatistics I have a NullPointerException on ds.getConnection(), it seems that my Datasource doesn't have a datasource associated, after debugging it seems that in afterPropertiesSet method of class ConnectionRepositoryEntry we do not save the datasource found into de the datasource field of BasicDataSource.

      I made a patch for you you will find it in attachments

      1. Jetspeed2.1-dev.patch
        2 kB
        Cédric Mailleux

        Activity

          People

          • Assignee:
            Scott T Weaver
            Reporter:
            Cédric Mailleux
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development