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.
> Full Name: bill fingerhut > Email Address: address@hidden > Organization: fairbanks museum > Package Version: 5.6u1 build date:2019-07-05 20:22 UTC > Operating System: Windows 8.1 > Hardware: Java: home: C:\Program Files (x86)\IDV_5.6u1\jre version: 1.8.0_51 > j3d:1.6.0-pre12-daily-experimental daily > Description of problem: There was an error loading the data: > Error creating data source:kml with: C:\IdvWxIcon\NeMapV1c.kml > ucar.unidata.data.DirectDataChoice cannot be cast to > ucar.unidata.data.CompositeDataChoice > > I started the IDV and tried to choose a kml file, which is a map background > I've used for years without trouble. Result is the error above. > Hi Bill, Sorry for the delayed reply, I was on travel last week. I suspect this is the bug we introduced when we added the weather warning kml file. Could you send me your kml file so I can test this out locally. Yuan > ****************** > Stack trace: > java.lang.ClassCastException: ucar.unidata.data.DirectDataChoice cannot be > cast to ucar.unidata.data.CompositeDataChoice > at > ucar.unidata.data.gis.KmlDataSource.doMakeDataChoices(KmlDataSource.java:584) > at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1856) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1643) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1978) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1895) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1829) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1802) > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943) > at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:659) > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:528) > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:550) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at ucar.unidata.util.Misc$2.run(Misc.java:1215) > at ucar.unidata.util.Misc$3.run(Misc.java:1243) > > > Ticket Details =================== Ticket ID: WNM-269516 Department: Support IDV Priority: High Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.