NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Olav, > as i tryed to run a test case to show isolines with a UnionSet of > Gridded2DSets i got the following error. > > java.lang.ArrayIndexOutOfBoundsException: 0 > at visad.UnionSet.makeIsoLines(UnionSet.java:534) > at visad.ShadowType.makeContour(ShadowType.java:3553) > at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:345) > at > visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2084) > at > visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:100) > at > visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:99) > at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:180) > at visad.DisplayImpl.doAction(DisplayImpl.java:1546) > at visad.ActionImpl.run(ActionImpl.java:303) > at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95) > > This is a test case that i have written serveral month ago. As i remind, > this worked fine. Are there any changes in the UnionSet class or is > this a mistake on my part? There has been some work with contours, but its hard to see how that could affect this. Can you please either send me a test program to generate this Exception, or send me a print of the array indices in the offending statement (line 534 of UnionSet)? This will require some old-fashioned debugging. Cheers, Bill
visad
archives: