[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netCDF Java - unlimited dim problem (with fix)

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: netCDF Java - unlimited dim problem (with fix)
  • Date: Thu, 1 Oct 1998 11:52:32 -0600

> I have one more problem that I haven't been able to track down.  When
> accessing remote variables with getXXX(), everything is okay but, of
> course, very slow for large vars.  I tried using Variable.copyout(org,ext)
> but got the following error from the NetcdfServer (using setLog(System.out))
>
>   ucar.netcdf.RemoteAccessor[12]:
>       ucar.multiarray.MultiArray copyout(int[], int[])]
>   exception: java.rmi.MarshalException:
>       Error marshaling return; nested exception is:
>   java.rmi.StubNotFoundException:
>       Remote object not exported: ucar.multiarray.MultiArrayImpl
>   at ucar.netcdf.RemoteAccessor_Skel.dispatch(RemoteAccessor_Skel.java:87)
>   ...
>
> I don't know enough about RMI to check this out further.  Can you help?

I'm pretty sure that this means that I have to change the signature
of copyout so that returns MultiArrayImpl rather than  MultiArray. I've
been thinking about doing this for other reasons, and this is the last straw.
The defining point is in multiarray/Accessor.java, but it will have trivial
repercussions wherever there is a definition in an implementing class.

-glenn