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: Don Murray > Email Address: address@hidden > Organization: CU/CIRES - NOAA/ESRL/PSD > Package Version: 3.0u3 build date:2012-08-16 03:54 UTC > Operating System: Mac OS X > Hardware: Java: home: > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: > 1.6.0_33 j3d:1.5.2 fcs (build4) > Description of problem: Yuan- > > Working on the master, I get a ClassCastException loading the attached > bundle. You can't assume that the data choice is a DirectDataChoice. > This issue should be fixed. Yuan > Initializing after unpersistence > ucar.unidata.data.DerivedDataChoice cannot be cast to > ucar.unidata.data.DirectDataChoice > > ****************** > Stack trace: > java.lang.ClassCastException: ucar.unidata.data.DerivedDataChoice cannot be > cast to ucar.unidata.data.DirectDataChoice > at > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1046) > at > ucar.unidata.idv.control.DisplayControlImpl.initAfterUnPersistence(DisplayControlImpl.java:1390) > at > ucar.unidata.idv.control.DisplayControlImpl.initAfterUnPersistence(DisplayControlImpl.java:1294) > at > ucar.unidata.idv.IdvPersistenceManager$18.run(IdvPersistenceManager.java:3728) > at visad.util.ThreadManager.runInParallel(ThreadManager.java:273) > at visad.util.ThreadManager.runInParallel(ThreadManager.java:245) > at visad.util.ThreadManager.runSequentially(ThreadManager.java:223) > at > ucar.unidata.idv.IdvPersistenceManager.instantiateFromBundle(IdvPersistenceManager.java:3741) > at > ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:3049) > at > ucar.unidata.idv.IdvPersistenceManager$11.run(IdvPersistenceManager.java:2867) > at ucar.unidata.util.Misc$3.run(Misc.java:1090) > > > Ticket Details =================== Ticket ID: PLT-799444 Department: Support IDV Priority: High Status: Closed