Infinite recursion in DuplicatingStyleVisitor
---------------------------------------------

                 Key: GEOT-1588
                 URL: http://jira.codehaus.org/browse/GEOT-1588
             Project: GeoTools
          Issue Type: Bug
          Components: core main
    Affects Versions: 2.4-RC0
            Reporter: Erik Lovlie
            Assignee: Jody Garnett
            Priority: Critical
             Fix For: 2.4-RC1


There is an infinite recursion in 
org.geotools.styling.visitor.DuplicatingStyleVisitor.visit(Mark):

    public void visit(Mark mark) {
        Mark copy = null;

        Fill fillCopy = null;

        if (mark.getFill() != null) {
            mark.accept( this );
            fillCopy = (Fill) pages.pop();
        }

The if statement should of course be:

        if (mark.getFill() != null) {
            mark.getFill().accept( this );
            fillCopy = (Fill) pages.pop();
        }



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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to