Ticket #115 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

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 13 years ago by curtis

  • Milestone set to visbio3.4

comment:2 Changed 13 years ago by curtis

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

Fixed in r3056.

Note: See TracTickets for help on using tickets.