日期:2014-05-20 浏览次数:20848 次
Exception in thread "main" java.lang.StackOverflowError
at java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:880)
at java.awt.image.ComponentColorModel.getRed(ComponentColorModel.java:927)
at java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1113)
at java.awt.image.BufferedImage.getRGB(BufferedImage.java:871)
at ImageRegulator.prob(ImageRegulator.java:235)
...
tmpColor = (this.sourceImage.getRGB(currentPoint.x,currentPoint.y)) & (0x00ffffff);
try{
tmpColor = (this.sourceImage.getRGB(currentPoint.x,currentPoint.y)) & (0x00ffffff);
}
catch(Exception e){
System.out.println(currentPoint.x + "," + currentPoint.y);
System.out.println(e.getStackTrace());
}