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 #115 (closed defect: fixed)

Opened 2007-04-20T09:20:40-05:00

Last modified 2007-08-09T13:32:25-05:00

Arbitrary slicing can throw NullPointerException

Reported by: curtis Owned by: curtis
Priority: critical Milestone: visbio3.40
Component: visbio Severity:
Keywords: Cc:
Blocked By: Blocking:

Description

When visualizing the sdub dataset with an arbitrary slice, moving the Time slider toward the end (10, 11 or 12) generates exceptions:

Invalid image number #10 for file "sdub10.pic" (9 found)
Exception in thread "VisBio-ComputeDataThread-sdub:sdub slice" java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:394)
	at loci.visbio.data.DataCache.putCachedData(DataCache.java:126)
	at loci.visbio.data.DataCache.getData(DataCache.java:60)
	at loci.visbio.data.ImageTransform.getData(ImageTransform.java:200)
	at loci.visbio.data.ArbitrarySlice.getData(ArbitrarySlice.java:329)
	at loci.visbio.view.TransformLink.computeData(TransformLink.java:455)
	at loci.visbio.view.TransformLink$1.run(TransformLink.java:417)
Invalid image number #11 for file "sdub11.pic" (9 found)
Exception in thread "VisBio-ComputeDataThread-sdub:sdub slice" java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:394)
	at loci.visbio.data.DataCache.putCachedData(DataCache.java:126)
	at loci.visbio.data.DataCache.getData(DataCache.java:60)
	at loci.visbio.data.ImageTransform.getData(ImageTransform.java:200)
	at loci.visbio.data.ArbitrarySlice.getData(ArbitrarySlice.java:329)
	at loci.visbio.view.TransformLink.computeData(TransformLink.java:455)
	at loci.visbio.view.TransformLink$1.run(TransformLink.java:417)

Change History

comment:1 Changed 2007-08-01T15:24:27-05:00 by curtis

  • Milestone set to visbio3.4

comment:2 Changed 2007-08-09T13:32:25-05:00 by curtis

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

Fixed in r3056.