Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: