complex shape RayCast error

Hi! I made complex shape from some basic shapes. When I RayCast through it, I get this error:
Code:
Assertion failed: (0.0f <= lower && lower <= input.maxFraction), function RayCast, file ../Box2D/Collision/Shapes/b2PolygonShape.cpp, line 249.
[object AlchemyExit]
   at Function/<anonymous>()
   at Function/<anonymous>()
   at Box2DAS.Dynamics::b2World/RayCast()
   at GWorld/handleMouseCheck()
   at GWorld/handleMouseUpdate()
   at GWorld/step()


What would cause that?
What does your raycast callback function look like?
Code:
         var cb = function(fixture:b2Fixture, point:V2, normal:V2, fraction:Number):Number{
            f = fixture;
            b = f.GetBody();
            sb = b.GetUserData() as ShapeBase;
            if (sb.color == null)
               line.allowed = false;
            if (color == null)
               color = sb.color;
            if (color != sb.color || b.GetType() == b2Body.b2_staticBody) {
               line.allowed = false;
            }
            
            if (!line.allowed) {
               return 0;
            }
            
            if (line.bodies.indexOf(b) == -1)
               line.bodies.push(b);
            
            return 1;
         }

Original thread: https://box2d.org/forum/viewtopic.php?t=6410