[jira] Closed: (DIRSERVER-680) NPE when using 0 size cache
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Closed: (DIRSERVER-680) NPE when using 0 size cache




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Closed: (DIRSERVER-680) NPE when using 0 size cache  
Emmanuel Lecharny (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-06 12:11 AM

[ http://issues.apache.org/jira/brows...ER-680?page=all ]

Emmanuel Lecharny closed DIRSERVER-680.
---------------------------------------

Resolution: Fixed

A efensive test has been added. If a null or negative cache size is used, th
en the default cache value is used (100)

> NPE when using 0 size cache
> ---------------------------
>
>                 Key: DIRSERVER-680
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-680
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC3
>            Reporter: Emmanuel Lecharny
>            Priority: Minor
>
> When the cache properties are set to a null size (0), you get a NPE when l
aunching the server. It seems that 1 is the minimum size for a MRU cache to 
be initialized.
> Note that it makes no sense to create null sized caches, as it kills the p
erformance (injecting 10 000 entries take around 3 hours 
> It was just done to check for memory leaks.

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








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:48 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register