NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #104 (closed defect: fixed)

Opened 2007-04-10T16:34:45-05:00

Last modified 2007-05-01T16:25:56-05:00

Polyline getData() sometimes breaks when filled box is checked

Reported by: sorber Owned by: sorber
Priority: major Milestone:
Component: visbio Severity:
Keywords: overlays exception Cc:
Blocked By: Blocking:

Description

visad.FieldException: setSamples: bad array length
        at visad.FlatField.setSamples(FlatField.java:931)
        at visad.FlatField.setSamples(FlatField.java:674)
        at loci.visbio.overlays.OverlayNodedObject.getData(OverlayNodedObject.java:270)

I seem only able to produce this error when the polyline is closed. In this case, the first and last nodes share the same coordinates. Otherwise, the fill feature works fine.

Change History

comment:1 Changed 2007-05-01T16:25:51-05:00 by sorber

DelaunayCustom.fillCheck(), called if a polyline/freeform is closed, may alter the length of the SampledSet returned by getData(). Changed rangeSamples initializer to check the length of this set.

comment:2 Changed 2007-05-01T16:25:56-05:00 by sorber

  • Status changed from new to closed
  • Resolution set to fixed