Menu

#23 NullPointerException is thrown at net.jforum.repository.RankingRepository line 126 while iterating list

Fixed
nobody
None
Medium
Defect
2012-05-22
2012-02-14
Anonymous
No

Originally created by: caught.i...@googlemail.com

What steps will reproduce the problem?
1. Use ehcache and set time to idle to a short period, so that the cache elements are removed
2. Access any thread
3. NullPointerException is thrown

What is the expected output? What do you see instead?
NullPointerException is thrown at net.jforum.repository.RankingRepository line 126

What version of the product are you using? On what operating system?
JForum 2.3.3

Please provide any additional information below.
Please include a simple check if List<Ranking> entries is not null before trying to iterate this list

Related

Tickets: #85
Wiki: NewFeatures234

Discussion

  • Anonymous

    Anonymous - 2012-05-22

    Originally posted by: andow...@gmail.com

    (No comment was entered for this change.)

    Status: Accepted

     
  • Anonymous

    Anonymous - 2012-05-22

    Originally posted by: andow...@gmail.com

    Fixed in revision [r183]

    Status: Fixed

     

Log in to post a comment.