Failure to load MM datasets in MATLAB with DefaultDataManager
I would like to load a stack of images that I acquired in MM 2.0 into a Datastore using MATLAB. To do this, I first create an instance of a DefaultDataManager object using MATLAB's javaObject command and then call its loadData() method. Unfortunately, for
some image stacks it returns a Java Null Pointer exception:
Would anyone happen to know what the problem is? My guess is that the MATLAB approach is failing on image stacks that are somehow missing their SummaryMetadata, but that doesn't explain why it works in Beanshell.
I see this behavior in stacks generated from the 64-bit Windows MM 2.0 nightly builds from both January 30, 2017 and April 25, 2017. The problematic stacks are generated with a custom
script whose main parts are: