Task #11126 (new)
Opened 11 years ago
Last modified 8 years ago
Bug: overflow on max projection of EMD
Reported by: | jamoore | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Rendering |
Component: | Services | Version: | 4.4.9 |
Keywords: | TAB | Cc: | ingvar@…, wmoore, mtbcarroll, jburel, ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
From Ingvar using 4.3.3 (http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-June/003780.html):
On an EM volume that contains more than 231 data points, I get an error when attempting to do "Max Intensity" in the OMERO.web image viewer. The error message in OMEROweb.log and OMEROweb_request.log indicate that the cause is an overflow in an integer index in Java. Assuming that the index points into a Java array, then there may be a bigger problem, as Java arrays in the standard Oracle implementation is limited to MAX_INTEGER - 8 (or some other small offset depending on who you believe).
Exception on 4.4.8 merge build (Howe):
return _M_omero.api.RenderingEngine._op_renderProjectedCompressed.invoke(self, ((algorithm, timepoint, stepping, start, end), _ ctx)) ApiUsageException: exception ::omero::ApiUsageException { serverStackTrace = ome.conditions.ApiUsageException: Converting Long 2958160230 to Integer is an overflow. at ome.io.nio.RomioPixelBuffer.safeLongToInteger(RomioPixelBuffer.java:121) at ome.io.nio.RomioPixelBuffer.getStack(RomioPixelBuffer.java:572) at ome.services.projection.ProjectionBean.projectStack(ProjectionBean.java:114) at ome.services.RenderingBean$9.doWork(RenderingBean.java:1802) ... at ome.services.util.Executor$Impl.execute(Executor.java:350) at ome.services.RenderingBean.projectStack(RenderingBean.java:1798) at ome.services.RenderingBean.renderProjectedAsPackedInt(RenderingBean.java:585) at ome.services.RenderingBean.renderProjectedCompressed(RenderingBean.java:629)
Change History (3)
comment:1 Changed 10 years ago by jamoore
- Cc ux@… added
- Keywords TAB added
- Version set to 4.4.9
comment:2 Changed 8 years ago by jamoore
- Milestone changed from 5.x to Unscheduled
comment:3 Changed 8 years ago by jburel
- Milestone changed from Unscheduled to Rendering