This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Dear Unidata team: > > We're attempting to run an IDV script as a batch process on a Linux > server without > depending on the graphics card. It appears we still need to give IDV > access to an X server, and we are trying to use Xvfb as that X server. > > This works for us about 2/3 of the time. The rest of the time, we get > a Java error and stack trace: > > java.lang.NullPointerException > at java.util.Hashtable.get(Hashtable.java:334) > at > javax.media.j3d.NativeConfigTemplate3D.getBestConfiguration(NativeConfigTemplate3D.java:139) > at javax.media.j3d.Renderer.doWork(Renderer.java:413) > at javax.media.j3d.J3dThread.run(J3dThread.java:250) > > We're still trying some experiments, and we will soon be upgrading from > IDV 2.7 to 2.9. > > But before we get to deeply into our experiments, I wonder if > you have any immediate suggestions. Are there known problems > or common pitfalls using IDV with Xvfb under Linux? We'd appreciate any > suggestions you can give us while we dig into the problem. > > I work in FL-0, so I can easily drop by your office. > > We're running: > > IDV 2.7a1 > Xvfb -1.1.1 > Centos 5.5 - x86-64 > Kernel 2.6.18-194.3.1.el5.centos.plus > Java 3D 1.3.1 (apparently -- though the IDV startup script is > complicated, and it's not obvious which versions of Java it is > chosing) > > Thanks, > Vince Vince, I don't have much experience of Xvfb, after browsing the support archive, one suggestion is to upgrade the Xvfb to newer version, here is a link of the IDV user discussion: http://www.unidata.ucar.edu/mailing_lists/archives/idvusers/2010/msg00002.html. Yuan > > -- > Vince Dean > HIRDLS Project - SIPS Operations Manager > University of Colorado > MOPITT Project - Data Manager > National Center for Atmospheric Research > Phone: (303) 497-8077 > > > Ticket Details =================== Ticket ID: TDV-431327 Department: Support IDV Priority: Normal Status: Open