https://issues.apache.org/bugzilla/show_bug.cgi?id=55334

Soul Patch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Soul Patch <[email protected]> ---
Found a fix that works well. Don't know if this is the exact fix but it does
nothing too radical. 
Checking for the instance type of the 'node' received. If it is a
JMeterTreeNode then extract the TestElement and set it to 'node' and then move
ahead. 
The TestCompiler.addNode() method now looks like this : 

 /** {@inheritDoc} */
    @Override
    public void addNode(Object node, HashTree subTree) {
        if(node instanceof JMeterTreeNode){
            stack.addLast(((JMeterTreeNode)node).getTestElement());
        }else{
        stack.addLast((TestElement) node);
        }
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to