UserId issues from Matlab.
Posted: Wed Jul 05, 2017 2:49 pm
Hi All
I wonder if anyone can help me?
I'm attempting to update the Java interface that the (Matlab) FLIMfit app uses to browse OMERO to work with 5.3 servers.
The working version (for 5.2 servers) is at https://github.com/flimfit/omeUiUtils/tree/master
So far I have simply updated the pom.
https://github.com/flimfit/omeUiUtils/tree/5.3Test2
Testing from the Java test harness in https://github.com/flimfit/omeUiUtils/b ... #L858-L875 everything looks good.
However when I call the same code from Matlab it crashes on the line
Experimenter exp = session.getAdminService().getExperimenter(userId);
https://github.com/flimfit/omeUiUtils/b ... .java#L185
With the errors below:
I have checked that the userId is the correct one & ( just to eliminate type passing oddities) tried hard-coding it to the correct No.
Is it possible that this error is some new group-related behaviour that I've missed?
Many Thanks
Ian
Java exception occurred:
Ice.MarshalException
reason = "invalid object id"
at IceInternal.BasicStream$EncapsDecoder10.readObject(BasicStream.java:3042)
at IceInternal.BasicStream.readObject(BasicStream.java:2048)
at omero.model.IObject.__readImpl(IObject.java:520)
at omero.model.Experimenter.__readImpl(Experimenter.java:1537)
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._IAdminDelM.getExperimenter(_IAdminDelM.java:1159)
at omero.api.IAdminPrxHelper.getExperimenter(IAdminPrxHelper.java:5783)
at omero.api.IAdminPrxHelper.getExperimenter(IAdminPrxHelper.java:5746)
at OMEuiUtils.OMEROImageChooser.<init>(OMEROImageChooser.java:186)
at OMEuiUtils.OMEROImageChooser.<init>(OMEROImageChooser.java:130)
I wonder if anyone can help me?
I'm attempting to update the Java interface that the (Matlab) FLIMfit app uses to browse OMERO to work with 5.3 servers.
The working version (for 5.2 servers) is at https://github.com/flimfit/omeUiUtils/tree/master
So far I have simply updated the pom.
https://github.com/flimfit/omeUiUtils/tree/5.3Test2
Testing from the Java test harness in https://github.com/flimfit/omeUiUtils/b ... #L858-L875 everything looks good.
However when I call the same code from Matlab it crashes on the line
Experimenter exp = session.getAdminService().getExperimenter(userId);
https://github.com/flimfit/omeUiUtils/b ... .java#L185
With the errors below:
I have checked that the userId is the correct one & ( just to eliminate type passing oddities) tried hard-coding it to the correct No.
Is it possible that this error is some new group-related behaviour that I've missed?
Many Thanks
Ian
Java exception occurred:
Ice.MarshalException
reason = "invalid object id"
at IceInternal.BasicStream$EncapsDecoder10.readObject(BasicStream.java:3042)
at IceInternal.BasicStream.readObject(BasicStream.java:2048)
at omero.model.IObject.__readImpl(IObject.java:520)
at omero.model.Experimenter.__readImpl(Experimenter.java:1537)
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._IAdminDelM.getExperimenter(_IAdminDelM.java:1159)
at omero.api.IAdminPrxHelper.getExperimenter(IAdminPrxHelper.java:5783)
at omero.api.IAdminPrxHelper.getExperimenter(IAdminPrxHelper.java:5746)
at OMEuiUtils.OMEROImageChooser.<init>(OMEROImageChooser.java:186)
at OMEuiUtils.OMEROImageChooser.<init>(OMEROImageChooser.java:130)