java.lang.NegativeArraySizeException:
In file MediaTools.java on line 329.
It appears that the code is trying to create an array with a negative
size. Remember, the array must have a size that is a positive number.

This error is called a NegativeArraySizeException.

at acm.util.MediaTools.getPixelArray(MediaTools.java: 329)
at acm.graphics.GImage.getPixelArray(GImage.java:336)
at WatermarkImages.watermark(WatermarkImages.java:63)
at WatermarkImages.init(WatermarkImages.java:41)
at acm.program.Program.start(Program.java:803)
at acm.program.Program.start(Program.java:1279)
java.lang.NegativeArraySizeException:
In file MediaTools.java on line 329.
It appears that the code is trying to create an array with a negative
size. Remember, the array must have a size that is a positive number.

This error is called a NegativeArraySizeException.

at acm.util.MediaTools.getPixelArray(MediaTools.java: 329)
at acm.graphics.GImage.getPixelArray(GImage.java:336)
at WatermarkImages.watermark(WatermarkImages.java:62)
at WatermarkImages.init(WatermarkImages.java:41)
at acm.program.Program.start(Program.java:803)
at acm.program.Program.start(Program.java:1279)