On Wed, Apr 13, 2011 at 7:48 AM, <[email protected]> wrote: > Hi Joshua, Andrea. > > I wanted to fix this obvious possible NPE but there is no class > > DefaultRasterLegendProducer.java > > in the current 2.1.x branch. > > @Joshua, could you test with a nightly build ?
Hi Christian, Thanks for taking the time to look at this. I took a peek at the source last night myself and it appears that at some point the code was refactored and the bug was fixed. However, the ticket didn't get updated or closed, so I didn't realize this was already fixed. I ran some tests with 2.1RC4 just to make sure and I can no longer cause Geoserver to throw the NPE. On a side note it appears label-only rules now always take up legend space. Previously if there was no Title or Name then the rule was simply not in the legend; now it leaves a blank white placeholder. That's a considerably more involved fix from the look of things, and I personally don't feel the need to fix it. I can just force my label rules to be listed last which puts the whitespace at the end of the legend. So the short answer is: it's fixed and the ticket can be closed. ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
