Program: 67739
Project: 67739
Buggy source:
public void enableInteraction(InteractionEvent ie) throws ChartException {
  if (_iun == null) {
    logger.log(ILogger.WARNING,Messages.getString("String_Node_Str",getULocale()));
    return;
  }
  Trigger[] triggers=ie.getTriggers();
  if (triggers == null) {
    return;
  }
  final PrimitiveRenderEvent pre=ie.getHotSpot();
  Element elm=null;
  if (pre instanceof PolygonRenderEvent) {
    final Location[] loa=((PolygonRenderEvent)pre).getPoints();
    int[][] pa=getCoordinatesAsInts(loa);
    elm=svggc.createPolygon(pa[0],pa[1],pa[0].length);
  }
 else   if (pre instanceof OvalRenderEvent) {
    final Bounds boEllipse=((OvalRenderEvent)pre).getBounds();
    elm=svggc.createOval(boEllipse.getLeft(),boEllipse.getTop(),boEllipse.getWidth(),boEllipse.getHeight());
  }
 else   if (pre instanceof RectangleRenderEvent) {
    final Bounds boRect=((RectangleRenderEvent)pre).getBounds();
    elm=svggc.createRect(boRect.getLeft(),boRect.getTop(),boRect.getWidth(),boRect.getHeight());
  }
 else   if (pre instanceof AreaRenderEvent) {
    AreaRenderEvent are=(AreaRenderEvent)pre;
    final GeneralPath gp=new GeneralPath();
    PrimitiveRenderEvent subPre;
    for (int i=0; i < are.getElementCount(); i++) {
      subPre=are.getElement(i);
      if (subPre instanceof ArcRenderEvent) {
        final ArcRenderEvent acre=(ArcRenderEvent)subPre;
        final Arc2D.Double a2d=new Arc2D.Double(acre.getTopLeft().getX(),acre.getTopLeft().getY(),acre.getWidth(),acre.getHeight(),acre.getStartAngle(),acre.getAngleExtent(),toSwingArcType(acre.getStyle()));
        gp.append(a2d,true);
      }
 else       if (subPre instanceof LineRenderEvent) {
        final LineRenderEvent lre=(LineRenderEvent)subPre;
        final Line2D.Double l2d=new Line2D.Double(lre.getStart().getX(),lre.getStart().getY(),lre.getEnd().getX(),lre.getEnd().getY());
        gp.append(l2d,true);
      }
    }
    elm=svggc.createGeneralPath(gp);
  }
 else   if (pre instanceof LineRenderEvent) {
    final GeneralPath gp=new GeneralPath();
    final LineRenderEvent lre=(LineRenderEvent)pre;
    final Line2D.Double l2d=new Line2D.Double(lre.getStart().getX(),lre.getStart().getY(),lre.getEnd().getX(),lre.getEnd().getY());
    gp.append(l2d,true);
    elm=svggc.createGeneralPath(gp);
  }
 else   if (pre instanceof ArcRenderEvent) {
    final ArcRenderEvent are=(ArcRenderEvent)pre;
    if (are.getInnerRadius() >= 0 && are.getOuterRadius() > 0 && are.getInnerRadius() < are.getOuterRadius()) {
      Shape outerArc=new Arc2D.Double(are.getTopLeft().getX() + (are.getWidth() - 2 * are.getOuterRadius()) / 2,are.getTopLeft().getY() + (are.getHeight() - 2 * are.getOuterRadius()) / 2,2 * are.getOuterRadius(),2 * are.getOuterRadius(),are.getStartAngle(),are.getAngleExtent(),Arc2D.PIE);
      Shape innerArc=new Arc2D.Double(are.getTopLeft().getX() + (are.getWidth() - 2 * are.getInnerRadius()) / 2,are.getTopLeft().getY() + (are.getHeight() - 2 * are.getInnerRadius()) / 2,2 * are.getInnerRadius(),2 * are.getInnerRadius(),are.getStartAngle(),are.getAngleExtent(),Arc2D.PIE);
      Area fArea=new Area(outerArc);
      fArea.exclusiveOr(new Area(innerArc));
      elm=svggc.createGeneralPath(fArea);
    }
 else {
      elm=svggc.createGeneralPath(new Arc2D.Double(are.getTopLeft().getX(),are.getTopLeft().getY(),are.getWidth(),are.getHeight(),are.getStartAngle(),are.getAngleExtent(),toSwingArcType(are.getStyle())));
    }
  }
  ivRenderer.prepareInteractiveEvent(elm,ie,triggers);
}

Fixed version (ground truth):
@Override public void enableInteraction(InteractionEvent ie) throws ChartException {
  if (_iun == null) {
    logger.log(ILogger.WARNING,Messages.getString("String_Node_Str",getULocale()));
    return;
  }
  Trigger[] triggers=ie.getTriggers();
  if (triggers == null) {
    return;
  }
  final PrimitiveRenderEvent pre=ie.getHotSpot();
  Element elm=null;
  if (pre instanceof PolygonRenderEvent) {
    final Location[] loa=((PolygonRenderEvent)pre).getPoints();
    int[][] pa=getCoordinatesAsInts(loa);
    elm=svggc.createPolygon(pa[0],pa[1],pa[0].length);
  }
 else   if (pre instanceof OvalRenderEvent) {
    final Bounds boEllipse=((OvalRenderEvent)pre).getBounds();
    elm=svggc.createOval(boEllipse.getLeft(),boEllipse.getTop(),boEllipse.getWidth(),boEllipse.getHeight());
  }
 else   if (pre instanceof RectangleRenderEvent) {
    final Bounds boRect=((RectangleRenderEvent)pre).getBounds();
    elm=svggc.createRect(boRect.getLeft(),boRect.getTop(),boRect.getWidth(),boRect.getHeight());
  }
 else   if (pre instanceof AreaRenderEvent) {
    AreaRenderEvent are=(AreaRenderEvent)pre;
    final GeneralPath gp=new GeneralPath();
    PrimitiveRenderEvent subPre;
    for (int i=0; i < are.getElementCount(); i++) {
      subPre=are.getElement(i);
      if (subPre instanceof ArcRenderEvent) {
        final ArcRenderEvent acre=(ArcRenderEvent)subPre;
        final Arc2D.Double a2d=new Arc2D.Double(acre.getTopLeft().getX(),acre.getTopLeft().getY(),acre.getWidth(),acre.getHeight(),acre.getStartAngle(),acre.getAngleExtent(),toSwingArcType(acre.getStyle()));
        gp.append(a2d,true);
      }
 else       if (subPre instanceof LineRenderEvent) {
        final LineRenderEvent lre=(LineRenderEvent)subPre;
        final Line2D.Double l2d=new Line2D.Double(lre.getStart().getX(),lre.getStart().getY(),lre.getEnd().getX(),lre.getEnd().getY());
        gp.append(l2d,true);
      }
    }
    elm=svggc.createGeneralPath(gp);
  }
 else   if (pre instanceof LineRenderEvent) {
    final GeneralPath gp=new GeneralPath();
    final LineRenderEvent lre=(LineRenderEvent)pre;
    final Line2D.Double l2d=new Line2D.Double(lre.getStart().getX(),lre.getStart().getY(),lre.getEnd().getX(),lre.getEnd().getY());
    gp.append(l2d,true);
    elm=svggc.createGeneralPath(gp);
  }
 else   if (pre instanceof ArcRenderEvent) {
    final ArcRenderEvent are=(ArcRenderEvent)pre;
    if (are.getInnerRadius() >= 0 && are.getOuterRadius() > 0 && are.getInnerRadius() < are.getOuterRadius()) {
      Shape outerArc=new Arc2D.Double(are.getTopLeft().getX() + (are.getWidth() - 2 * are.getOuterRadius()) / 2,are.getTopLeft().getY() + (are.getHeight() - 2 * are.getOuterRadius()) / 2,2 * are.getOuterRadius(),2 * are.getOuterRadius(),are.getStartAngle(),are.getAngleExtent(),Arc2D.PIE);
      Shape innerArc=new Arc2D.Double(are.getTopLeft().getX() + (are.getWidth() - 2 * are.getInnerRadius()) / 2,are.getTopLeft().getY() + (are.getHeight() - 2 * are.getInnerRadius()) / 2,2 * are.getInnerRadius(),2 * are.getInnerRadius(),are.getStartAngle(),are.getAngleExtent(),Arc2D.PIE);
      Area fArea=new Area(outerArc);
      fArea.exclusiveOr(new Area(innerArc));
      elm=svggc.createGeneralPath(fArea);
    }
 else {
      elm=svggc.createGeneralPath(new Arc2D.Double(are.getTopLeft().getX(),are.getTopLeft().getY(),are.getWidth(),are.getHeight(),are.getStartAngle(),are.getAngleExtent(),toSwingArcType(are.getStyle())));
    }
  }
  ivRenderer.prepareInteractiveEvent(elm,ie,triggers);
}