Omero-related crash in compiled version of app
Posted: Fri Sep 26, 2014 3:02 pm
..
Hi All,
I'm trying to use "deploytool" in MATLAB (Version: 8.2.0.701 R2013b) to make a PCWIN_64 package of Omero-dependent application.
It uses
- OMEROMatlab 5.0.3, +
- bioformats rev. 4a28d34 build 13 Aug 2014
- bfmatlab - from the same build
I found that, in the compiled version, the line
causes Java exception
Obviously, there is lot of Omero code passing normally, except this "getImages" line.
The same line doesn't cause any problems in non-compiled version (when run from Matlab environment).
Thanks,
Y.
Hi All,
I'm trying to use "deploytool" in MATLAB (Version: 8.2.0.701 R2013b) to make a PCWIN_64 package of Omero-dependent application.
It uses
- OMEROMatlab 5.0.3, +
- bioformats rev. 4a28d34 build 13 Aug 2014
- bfmatlab - from the same build
I found that, in the compiled version, the line
- Code: Select all
image = containerService.getImages('Image',toJavaList(uint64(imageId)),[]).get(0);
causes Java exception
Java exception occurred:
Ice.UnmarshalOutOfBoundsException
reason = (null)
at IceInternal.BasicStream.readString(BasicStream.java:1824)
at IceInternal.BasicStream$EncapsDecoder.readTypeId(BasicStream.java:2838)
at IceInternal.BasicStream$EncapsDecoder10.startSlice(BasicStream.java:3188)
at IceInternal.BasicStream.startReadSlice(BasicStream.java:562)
at omero.model.IObject.__readImpl(IObject.java:519)
at omero.model.Image.__readImpl(Image.java:2403)
at Ice.ObjectImpl.__read(ObjectImpl.java:365)
at IceInternal.BasicStream$EncapsDecoder.unmarshal(BasicStream.java:2936)
at IceInternal.BasicStream$EncapsDecoder10.readInstance(BasicStream.java:3307)
at IceInternal.BasicStream$EncapsDecoder10.readPendingObjects(BasicStream.java:3235)
at IceInternal.BasicStream.readPendingObjects(BasicStream.java:584)
at omero.api._IContainerDelM.getImages(_IContainerDelM.java:395)
at omero.api.IContainerPrxHelper.getImages(IContainerPrxHelper.java:1209)
at omero.api.IContainerPrxHelper.getImages(IContainerPrxHelper.java:1181)
Obviously, there is lot of Omero code passing normally, except this "getImages" line.
The same line doesn't cause any problems in non-compiled version (when run from Matlab environment).
Thanks,
Y.