Uploaded image for project: 'SmartSprites'
  1. SmartSprites
  2. SMARTSPRITES-53

ArrayIndexOutOfBoundsException when an illegal sprite-alignment value is specified

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.2.4, 0.2.5
    • Fix Version/s: 0.2.6
    • Labels:
      None

      Description

      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
             at sun.awt.image.ByteInterleavedRaster.setDataElements (ByteInterleavedRaster.java:546)
             at java.awt.image.BufferedImage.setRGB(BufferedImage.java: 1031)
             at org.carrot2.util.BufferedImageUtils.drawImage (BufferedImageUtils.java:187)
             at org.carrot2.labs.smartsprites.SpriteReferenceOccurrence.render (SpriteReferenceOccurrence.java:89) 
      	   at org.carrot2.labs.smartsprites.SpriteImageBuilder.buildSpriteImage (SpriteImageBuilder.java:279)
             at org.carrot2.labs.smartsprites.SpriteImageBuilder.buildSpriteReplacements (SpriteImageBuilder.java:125)
             at org.carrot2.labs.smartsprites.SpriteImageBuilder.buildSpriteImages (SpriteImageBuilder.java:62)
             at org.carrot2.labs.smartsprites.SpriteBuilder.buildSprites (SpriteBuilder.java:176)
             at org.carrot2.labs.smartsprites.SpriteBuilder.buildSprites (SpriteBuilder.java:121)
             at org.carrot2.labs.smartsprites.SmartSprites.main (SmartSprites.java:46)
      

        Attachments

          Activity

            People

            • Assignee:
              stachoo Stanisław Osiński
              Reporter:
              stachoo Stanisław Osiński
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 50m
                2h 50m