[OpenMap Users] Problem - Remote DTED Layer

From: Mariusz Chmielewski <mchmielewski_at_wat.edu.pl>
Date: Mon, 03 Apr 2006 00:25:04 +0200

I am trying to write my own Remote DTED Layer so far i managed to show
elevation data while pressing butoon but while invoking getRectangle
(where the OMGraphicList is prepared i get such exception....

*** ERROR ***
Warstwa wysokosciowa|RMIDTEDLayer.getRectangle() exception invoking
remote method.
*************
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
    java.io.EOFException
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at
wcy.guru.rmi.dted.RMIDTEDServer_Stub.getRectangle_(RMIDTEDServer_Stub.java:85)
    at wcy.guru.rmi.dted.layer.RMIDTEDLayer.prepare(RMIDTEDLayer.java:614)
    at
wcy.guru.rmi.dted.layer.RMIDTEDLayer$DTEDWorker.construct(RMIDTEDLayer.java:225)
    at com.bbn.openmap.util.SwingWorker$2.run(SwingWorker.java:116)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
    at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown
Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at
com.bbn.openmap.omGraphics.OMRasterObject.readObject(OMRasterObject.java:1027)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readArray(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
    ... 6 more

I am curious about the serialization process of OMGraphicList - can i in
some way convert all OMGraphicList elements in some kind of raw image
data lets say GIF or JPEG??

Perhaps transfering such data and retriving the image on the client side
should help.

Any Ideas.??

MCHMIELEWSKI

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Apr 03 2006 - 03:10:35 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT