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

[IDV #XOS-354812]: IDV - java3D errors and installation problems



Hi Meghan-

> I tried to use the support form again, but it crashed.  No
> error messages, just the buttons are not working and then
> it freezes.

I'm not sure why this is.  All the form does is an HTTP post
to our web form, so if there is no firewall blocking access
to that, it should work.

> Anyway, this is a runtime install (JRE).

According to Mark's message, java-1.4 is a symlink to  j2sdk1.4.2_07
which would indicate a JDK (SDK).  

> We moved the java3D directories on level down, as suggested
> by you and now the program fails (with 6 error messages) at
> startup instead of when loading 3D grid files.  I used to
> be able to view 2D files (coastlines, etc.), but now the
> program doesn't allow me to do that.  And when I tried to
> load a 3D grid I get the same original error followed by 5
> more error windows that I didn't get before.

Well, the good news is that Java 3D is installed in the correct
location.  The bad news is what I indicated in my previous message -
the version of Java 3D that you installed requires GLX 1.3 as indicated
by:

> The error messages are attached as a file and the output
> from the terminal window is as follows:
> 
> bash-3.00$ ./runGEONIDV
> Warning: Cannot convert string
> "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1"
> to type FontStruct
> Java 3D ERROR : GLX extension is not supported
> GLX version 1.3 or higher is required

therefore, it cannot create the windows (which leads to the other
errors).  The reason you saw maps
before is that if Java 3D is not available, it tries to use Java 2D.
You would encounter severe performance issues using that (we plan to
not allow that in the future, just for that reason).

Please try the following:

- download the IDV Linux installer from the IDV downloads page.  Be
sure to select the default when asked with Java VM you want to use.
- add your geonidv.jar and script to that directory and have the
script point to the jre/bin/java in the install directory.

This is the preferred method of installation of the IDV.  It installs
a known JRE/Java3D which works on a variety of Linux systems and avoids
the problems you are running into.

If you run into problems using this installer, let us know.

Don Murray



> ************************************************************************
> *** ERROR: Canvas3D constructed with a null
> GraphicsConfiguration
> *** This will cause a NullPointerException in a subsequent
> release
> ************************************************************************
> ERROR: An error has occurred:
> Creating display master
> Canvas3D: null GraphicsConfiguration
> java.lang.NullPointerException: Canvas3D: null
> GraphicsConfiguration
> at
> javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1182)
> at
> javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1147)
> at
> visad.java3d.VisADCanvasJ3D.<init>(VisADCanvasJ3D.java:167)
> at
> visad.java3d.DisplayPanelJ3D.<init>(DisplayPanelJ3D.java:55)
> at
> visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:354)
> at
> visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:329)
> at
> visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:226)
> at
> visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:214)
> at
> visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:208)
> at
> ucar.unidata.view.geoloc.MapProjectionDisplayJ3D.<init>(MapProjectionDisplayJ3D.java:176)
> at
> ucar.unidata.view.geoloc.MapProjectionDisplay.getInstance(MapProjectionDisplay.java:316)
> at
> ucar.unidata.idv.MapViewManager.doMakeDisplayMaster(MapViewManager.java:296)
> at
> ucar.unidata.idv.ViewManager.getMaster(ViewManager.java:3054)
> at
> ucar.unidata.idv.ViewManager.init(ViewManager.java:567)
> at
> ucar.unidata.idv.NavigatedViewManager.init(NavigatedViewManager.java:264)
> at
> ucar.unidata.idv.MapViewManager.init(MapViewManager.java:323)
> at
> ucar.unidata.idv.VMManager.addViewManager(VMManager.java:446)
> at
> ucar.unidata.idv.VMManager.addViewManagers(VMManager.java:462)
> at
> ucar.unidata.idv.ui.IdvUIManager.unpersistWindowInfo(IdvUIManager.java:2589)
> at
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:2237)
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:1978)
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1911)
> at
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1872)
> at
> ucar.unidata.idv.ArgsManager.processInitialBundles(ArgsManager.java:856)
> at
> ucar.unidata.idv.IntegratedDataViewer.initInner(IntegratedDataViewer.java:426)
> at
> ucar.unidata.idv.IntegratedDataViewer$2.run(IntegratedDataViewer.java:350)
> at ucar.unidata.util.Misc$2.run(Misc.java:895)
> ERROR: An error has occurred:
> Adding view manager
> java.lang.NullPointerException
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> FIRST Error window:
> 
> An error has occurred:
> Creating display master
> Canvas3D: null GraphicsConfiguration
> 
> Details:
> java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1182)
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1147)
> at visad.java3d.VisADCanvasJ3D.<init>(VisADCanvasJ3D.java:167)
> at visad.java3d.DisplayPanelJ3D.<init>(DisplayPanelJ3D.java:55)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:354)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:329)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:226)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:214)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:208)
> at 
> ucar.unidata.view.geoloc.MapProjectionDisplayJ3D.<init>(MapProjectionDisplayJ3D.java:176)
> at 
> ucar.unidata.view.geoloc.MapProjectionDisplay.getInstance(MapProjectionDisplay.java:316)
> at 
> ucar.unidata.idv.MapViewManager.doMakeDisplayMaster(MapViewManager.java:296)
> at ucar.unidata.idv.ViewManager.getMaster(ViewManager.java:3054)
> at ucar.unidata.idv.ViewManager.init(ViewManager.java:567)
> at ucar.unidata.idv.NavigatedViewManager.init(NavigatedViewManager.java:264)
> at ucar.unidata.idv.MapViewManager.init(MapViewManager.java:323)
> at ucar.unidata.idv.VMManager.addViewManager(VMManager.java:446)
> at ucar.unidata.idv.VMManager.addViewManagers(VMManager.java:462)
> at 
> ucar.unidata.idv.ui.IdvUIManager.unpersistWindowInfo(IdvUIManager.java:2589)
> at 
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:2237)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:1978)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1911)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1872)
> at ucar.unidata.idv.ArgsManager.processInitialBundles(ArgsManager.java:856)
> at 
> ucar.unidata.idv.IntegratedDataViewer.initInner(IntegratedDataViewer.java:426)
> at ucar.unidata.idv.IntegratedDataViewer$2.run(IntegratedDataViewer.java:350)
> at ucar.unidata.util.Misc$2.run(Misc.java:895)
> 
> 
> SECOND error window:
> An error has occurred:
> Adding view manager
> java.lang.NullPointerException
> 
> Details:
> java.lang.NullPointerException
> at ucar.unidata.idv.ViewManager.init(ViewManager.java:567)
> at ucar.unidata.idv.NavigatedViewManager.init(NavigatedViewManager.java:264)
> at ucar.unidata.idv.MapViewManager.init(MapViewManager.java:323)
> at ucar.unidata.idv.VMManager.addViewManager(VMManager.java:446)
> at ucar.unidata.idv.VMManager.addViewManagers(VMManager.java:462)
> at 
> ucar.unidata.idv.ui.IdvUIManager.unpersistWindowInfo(IdvUIManager.java:2589)
> at 
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:2237)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:1978)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1911)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1872)
> at ucar.unidata.idv.ArgsManager.processInitialBundles(ArgsManager.java:856)
> at 
> ucar.unidata.idv.IntegratedDataViewer.initInner(IntegratedDataViewer.java:426)
> at ucar.unidata.idv.IntegratedDataViewer$2.run(IntegratedDataViewer.java:350)
> at ucar.unidata.util.Misc$2.run(Misc.java:895)
> 
> THIRD error window:
> An error has occurred:
> Creating display master
> Canvas3D: null GraphicsConfiguration
> 
> 
> java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1182)
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1147)
> at visad.java3d.VisADCanvasJ3D.<init>(VisADCanvasJ3D.java:167)
> at visad.java3d.DisplayPanelJ3D.<init>(DisplayPanelJ3D.java:55)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:354)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:329)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:226)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:214)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:208)
> at 
> ucar.unidata.view.geoloc.MapProjectionDisplayJ3D.<init>(MapProjectionDisplayJ3D.java:176)
> at 
> ucar.unidata.view.geoloc.MapProjectionDisplay.getInstance(MapProjectionDisplay.java:316)
> at 
> ucar.unidata.idv.MapViewManager.doMakeDisplayMaster(MapViewManager.java:296)
> at ucar.unidata.idv.ViewManager.getMaster(ViewManager.java:3054)
> at ucar.unidata.idv.MapViewManager.getMapDisplay(MapViewManager.java:637)
> at ucar.unidata.idv.MapViewManager.doMakeContents(MapViewManager.java:703)
> at ucar.unidata.idv.ViewManager.initUI(ViewManager.java:626)
> at ucar.unidata.idv.ViewManager.getContents(ViewManager.java:2987)
> at ucar.unidata.idv.ui.IdvXmlUi.createComponent(IdvXmlUi.java:330)
> at ucar.unidata.ui.XmlUi.xmlToUi(XmlUi.java:1357)
> at ucar.unidata.ui.XmlUi.layoutContainer(XmlUi.java:1563)
> at ucar.unidata.ui.XmlUi.createComponent(XmlUi.java:1886)
> at ucar.unidata.idv.ui.IdvXmlUi.createComponent(IdvXmlUi.java:332)
> at ucar.unidata.ui.XmlUi.xmlToUi(XmlUi.java:1357)
> at ucar.unidata.ui.XmlUi.layoutContainer(XmlUi.java:1563)
> at ucar.unidata.ui.XmlUi.createComponent(XmlUi.java:1886)
> at ucar.unidata.idv.ui.IdvXmlUi.createComponent(IdvXmlUi.java:332)
> at ucar.unidata.ui.XmlUi.xmlToUi(XmlUi.java:1357)
> at ucar.unidata.ui.XmlUi.doMakeContents(XmlUi.java:1290)
> at ucar.unidata.ui.XmlUi.getContents(XmlUi.java:1250)
> at ucar.unidata.idv.ui.IdvUIManager.createNewWindow(IdvUIManager.java:2744)
> at ucar.unidata.idv.ui.IdvUIManager.createNewWindow(IdvUIManager.java:2675)
> at 
> ucar.unidata.idv.ui.IdvUIManager.unpersistWindowInfo(IdvUIManager.java:2591)
> at 
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:2237)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:1978)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1911)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXml(IdvPersistenceManager.java:1872)
> at ucar.unidata.idv.ArgsManager.processInitialBundles(ArgsManager.java:856)
> at 
> ucar.unidata.idv.IntegratedDataViewer.initInner(IntegratedDataViewer.java:426)
> at ucar.unidata.idv.IntegratedDataViewer$2.run(IntegratedDataViewer.java:350)
> at ucar.unidata.util.Misc$2.run(Misc.java:895)
> 
> FORTH error window:
> 
> An error has occurred:
> createNewWindow-1
> java.lang.NullPointerException
> 
> ETC ....
> 
> until
> 
> LAST error window when loading 3D grid:
> 
> An error has occurred:
> Creating display master
> Canvas3D: null GraphicsConfiguration
> 
> java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1182)
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1147)
> at visad.java3d.VisADCanvasJ3D.<init>(VisADCanvasJ3D.java:167)
> at visad.java3d.DisplayPanelJ3D.<init>(DisplayPanelJ3D.java:55)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:354)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:329)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:226)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:214)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:208)
> at 
> ucar.unidata.view.geoloc.MapProjectionDisplayJ3D.<init>(MapProjectionDisplayJ3D.java:176)
> at 
> ucar.unidata.view.geoloc.MapProjectionDisplay.getInstance(MapProjectionDisplay.java:316)
> at 
> ucar.unidata.idv.MapViewManager.doMakeDisplayMaster(MapViewManager.java:296)
> at ucar.unidata.idv.ViewManager.getMaster(ViewManager.java:3054)
> at ucar.unidata.idv.ViewManager.init(ViewManager.java:567)
> at ucar.unidata.idv.NavigatedViewManager.init(NavigatedViewManager.java:264)
> at ucar.unidata.idv.MapViewManager.init(MapViewManager.java:323)
> at ucar.unidata.idv.VMManager.addViewManager(VMManager.java:446)
> at ucar.unidata.idv.VMManager.addViewManagers(VMManager.java:462)
> at 
> ucar.unidata.idv.ui.IdvUIManager.unpersistWindowInfo(IdvUIManager.java:2589)
> at 
> ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:2237)
> at 
> ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:1978)
> at 
> ucar.unidata.idv.IdvPersistenceManager$9.run(IdvPersistenceManager.java:1904)
> at ucar.unidata.util.Misc$2.run(Misc.java:895)
> 
> 


Ticket Details
===================
Ticket ID: XOS-354812
Department: Support IDV
Priority: Normal
Status: Open