RE: error description

Hi Bill,

Yes, I am aware that I had a BadMappingException because of 2 real types
mapped to animation. I have seen that error in the past and my maps were
still able to be displayed. The internal error was my main concern. Does
anyone know why I am getting the internal error? Could it be that I am
using the wrong java3D version? I'm not sure but I think this may have
to do with why only 12 boxes are showing up in my SS of 48 cells.

Thanks,
Michelle

Michelle Kam           (408) 742-2881
Lockheed Martin Space Systems Co. SSM/ATC/MSIS
B/153 O/L922 
1111 Lockheed Martin Way, Sunnyvale, CA 94089




-----Original Message-----
From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx]
Sent: Wednesday, August 06, 2003 3:32 PM
To: Kam, Michelle C
Subject: RE: error description


On Wed, 6 Aug 2003, Kam, Michelle C wrote:

> Unfortunately, when I re-compiled the package with your new
> DisplayImpl.java, there are no null pointer exceptions, but I still
have
> the java.lang.InternalError's that I had before. When I try to run the
> spreadsheet with 12 columns and 4 rows, I still only see mappings in
the
> first 12 cells and the rest are just plain black squares with not even
> the white outline of a cube that blank mappings would at least show.
>
> C:\gvs>java -mx512m src.GVSSpreadSheet  1>temp.txt
> visad.BadMappingException: Display.addMap: two RealTypes are mapped to
> Animation
>       at visad.DisplayImpl.addMap(DisplayImpl.java:1928)
>       at visad.DisplayImpl.addMap(DisplayImpl.java:1844)
> . . .
>
> java.lang.InternalError
>       at
> javax.media.j3d.MasterControl.getCanvasBit(MasterControl.java:1049)
>       at javax.media.j3d.Canvas3D.addNotify(Canvas3D.java:1324)
>       at java.awt.Container.addNotify(Unknown Source)
>       at javax.swing.JComponent.addNotify(Unknown Source)
>       at java.awt.Container.addImpl(Unknown Source)
> . . .
> This same error shows up when I run the program at my old computer
which
> can run a 4x4 SS just fine. Problems occur on that computer when I try
> to use a 12x4 SS.
>
> Let me know if you need my files,

The important point hidden in your message is that my fix did
indeed fix the problem it was intended to.

The visad.BadMappingException you sent says "two RealTypes are
mapped to Animation" and you must fix your ScalarMaps so you
don't have two RealTypes mapped to Animation.

The java.lang.InternalError you sent looks like a Java3D or
AWT bug. I am not sure about the strange behavior you are
seeing with large SpreadSheets.

Bill