Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Thanks for fixing bug #25

      With the same file, I have spotted another NPE in TransformableElement.getXForm():

      java.lang.NullPointerException
      at java.awt.geom.AffineTransform.<init>(Unknown Source)
      at com.kitfox.svg.TransformableElement.getXForm(TransformableElement.java:73)

      return new AffineTransform(xform);
      

      xform shoud be null-tested before attempting to clone it

      return xform != null ? new AffineTransform(xform) : null;
      

        Activity

        Hide
        kitfox added a comment -

        Code has been updated. Thanks.

        Show
        kitfox added a comment - Code has been updated. Thanks.

          People

          • Assignee:
            Unassigned
            Reporter:
            donvip
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: