Fwd: Bug in OI Analysis Code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Bug in OI Analysis Code

Zummy
Does anyone know why including ImageJ as part of my
application would cause this problem?  This was
with ImageJ 1.34.  I upgraded to 1.37v, and the title
prints, but there isn't any selected image printed (on
Windows, haven't tried a Mac as this user has).  I tried
standalone ImageJ.exe 1.37v with a different image and no
image printed either.  The user reported that his standalone
version of ImageJ worked, but I'm unsure of the version
at this point.

I believe the jar is signed.

John

>X-IronPort-AV: i="4.13,164,1167638400";
>    d="scan'208"; a="15191952:sNHT31929024"
>X-IronPort-AV: i="4.13,164,1167638400";
>    d="scan'208"; a="15191945:sNHT1676884750"
>Cc: "Laura M. Kegelmeyer" <[hidden email]>,
>         Steve Azevedo <[hidden email]>
>From: Thad Salmon <[hidden email]>
>Subject: Bug in OI Analysis Code
>Date: Tue, 9 Jan 2007 11:15:21 -0800
>To: John Carlson <[hidden email]>
>X-Mailer: Apple Mail (2.752.2)
>
>John
>
>I have run across a bug in the OI Analysis code that always causes a
>Java Exception window. If you send an image to ImageJ, then do the
>following:
>
>Select File -> Page Setup...
>
>Select Center on Page (already checked by default), Print Title, and
>Selection Only and click OK
>
>Draw a Rectangle around the Beam in the ImageJ Window and Select File
>-> Print...
>
>After the Print Dialog Window you will get an Exception Window with
>the following text:
>
>java.lang.IndexOutOfBoundsException
>at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
>at sun.net.www.MeteredStream.read(MeteredStream.java:116)
>at java.io.FilterInputStream.read(FilterInputStream.java:111)
>at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read
>(HttpURLConnection.java:2139)
>at java.io.DataInputStream.read(DataInputStream.java:134)
>at sun.print.IPPPrintService.readIPPResponse(IPPPrintService.java:1579)
>at sun.print.IPPPrintService.opGetAttributes(IPPPrintService.java:1426)
>at sun.print.IPPPrintService.initAttributes(IPPPrintService.java:323)
>at sun.print.IPPPrintService.getSupportedDocFlavors (IPPPrintService.java:697)
>at sun.print.IPPPrintService.isDocFlavorSupported (IPPPrintService.java:773)
>at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:431)
>at sun.print.RasterPrinterJob.setAttributes(RasterPrinterJob.java:1002)
>at apple.awt.CPrinterJob.setAttributes(CPrinterJob.java:130)
>at apple.awt.CPrinterJob.print(CPrinterJob.java:173)
>at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1200)
>at ij.plugin.filter.Printer.print(Printer.java:61)
>at ij.plugin.filter.Printer.run(Printer.java:32)
>at ij.IJ.runFilterPlugIn(IJ.java:189)
>at ij.IJ.runPlugIn(IJ.java:118)
>at ij.Executer.runPlugIn(Executer.java:169)
>at ij.Executer.runCommand(Executer.java:131)
>at ij.Executer.run(Executer.java:63)
>at java.lang.Thread.run(Thread.java:613)
>
>The ImageJ Window Prints fine when NO Rectangle is drawn in the
>image. Also, ImageJ prints fine when the Rectangle is drawn around
>the beam (only the area within the rectangle is printed) when ImageJ
>is used as a stand-alone application. It just has trouble within the
>OI Analysis code. This problem is also on both Windows and Macintosh
>OS's. This exception thread was on a Mac.
>
>I hope you can fix it. It would help SF4 inspection for Beampath Entry.
>
>Thanks
>Thad