Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-775

Exception is thrown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVGGraphics2D
    • Labels:
      None
    • Environment:
      Operating System: Mac OS X 10.4
      Platform: Macintosh

      Description

      Try to open attached svg icon with svg viewer on Mac OS 10.4 Java 1.5_07. With
      1.6 preview is OK
      java.lang.NullPointerException
      at java.awt.image.DirectColorModel.isCompatibleRaster(DirectColorModel.java:1337)
      at java.awt.image.BufferedImage.<init>(BufferedImage.java:615)
      at apple.awt.OSXSurfaceData.setupPaint(OSXSurfaceData.java:763)
      at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:1085)
      at apple.awt.OSXSurfaceData.setupGraphicsState(OSXSurfaceData.java:1013)
      at apple.awt.OSXSurfaceData.drawfillShape(OSXSurfaceData.java:1346)
      at apple.awt.CRenderer.drawfillShape(CRenderer.java:536)
      at apple.awt.CRenderer.fill(CRenderer.java:574)
      at apple.awt.CRenderer.fill(CRenderer.java:561)
      at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:142)
      at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2571)
      at org.apache.batik.gvt.FillShapePainter.paint(Unknown Source)
      at org.apache.batik.gvt.CompositeShapePainter.paint(Unknown Source)
      at org.apache.batik.gvt.ShapeNode.primitivePaint(Unknown Source)
      at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
      at org.apache.batik.gvt.ShapeNode.paint(Unknown Source)
      at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
      at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
      at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
      at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown Source)
      at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
      at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
      at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
      at org.apache.batik.gvt.renderer.MacRenderer.repaint(Unknown Source)
      at org.apache.batik.gvt.renderer.MacRenderer.repaint(Unknown Source)
      at com.nomagic.imageio.svg.SVGIcon.repaintAOI(SVGIcon.java:234)
      at com.nomagic.imageio.svg.SVGIcon.paintBuffer(SVGIcon.java:211)
      at com.nomagic.imageio.svg.SVGIcon.paintIcon(SVGIcon.java:82)

        Attachments

        1. sv-4b.svg
          12 kB
          Egidijus

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              egiva Egidijus
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: