portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Mailleux (JIRA) <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-593) NullPointerException whent getting database connection in BatchedStatistics
Date Fri, 06 Oct 2006 11:14:19 GMT
NullPointerException whent getting database connection in BatchedStatistics

                 Key: JS2-593
                 URL: http://issues.apache.org/jira/browse/JS2-593
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Persistence and DAO
    Affects Versions: 2.1-dev
         Environment: Java 1.5
Ubuntu 6.0.6

            Reporter: Cédric Mailleux
         Attachments: Jetspeed2.1-dev.patch

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message