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

[IDV #MUG-944695]: capture display as .svg file



Hi Bill-

Thanks for finding this bug.  It's a result of the memory reduction
work that SSEC did a while back.  You're the first to tickle it.
The fix will be in the next nightly build.

In the mean time, a work around would be to change the runIDV.bat
script to be:

jre\bin\java -Xmx512m -Didv.enableStereo=false 
-Dvisad.java3d.geometryByRef=false -jar idv.jar %*

which will revert to the old way to memory management.

Don
> Full Name: bill fingerhut
> Email Address: address@hidden
> Organization: lyndon state college retired
> Package Version: 2.7a1 build date:2009-04-10 07:08 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_2.7a1\jre version: 1.6.0_11 
> j3d:1.5.2 fcs (build4)
> Description of problem: doSaveImage
> GeometryArray: cannot directly access data in BY_REFERENCE mode
> 
> This error occurs when trying to capture an image as .svg file.
> View --> Capture --> Image   ???
> 
> ******************
> Stack trace:
> java.lang.IllegalStateException: GeometryArray: cannot directly access data 
> in BY_REFERENCE mode
> at javax.media.j3d.GeometryArray.getCoordinates(GeometryArray.java:3607)
> at visad.bom.SceneGraphRenderer.plot(SceneGraphRenderer.java:1602)
> at visad.bom.SceneGraphRenderer.plot(SceneGraphRenderer.java:1278)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1042)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1025)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1025)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1025)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1025)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1025)
> at visad.bom.SceneGraphRenderer.copyGroup(SceneGraphRenderer.java:1025)
> at visad.bom.SceneGraphRenderer.copyVisadDisplay(SceneGraphRenderer.java:960)
> at visad.bom.SceneGraphRenderer.render(SceneGraphRenderer.java:368)
> at visad.bom.SceneGraphRenderer.plot(SceneGraphRenderer.java:415)
> at 
> ucar.unidata.idv.VectorGraphicsRenderer.plot(VectorGraphicsRenderer.java:270)
> at ucar.visad.Plotter.plot(Plotter.java:253)
> at 
> ucar.unidata.idv.VectorGraphicsRenderer.renderTo(VectorGraphicsRenderer.java:131)
> at ucar.unidata.idv.ViewManager.doSaveImage(ViewManager.java:5206)
> at ucar.unidata.idv.ViewManager.doSaveImage(ViewManager.java:5075)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at ucar.unidata.util.Misc$2.run(Misc.java:1032)
> at ucar.unidata.util.Misc$3.run(Misc.java:1060)
> 
> 
> 


Ticket Details
===================
Ticket ID: MUG-944695
Department: Support IDV
Priority: Normal
Status: Open