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

[IDV #HYJ-820832]: Persistent Java errors in the Surface (METAR) Data layer



Dear Marsh,

I was able to fix your bundle with the following steps:

Open the broken AtlanticRegion.xidv bundle.

Go to the layout model for METARS (in the same fashion as you did when you 
tried to change the unit to Celsius). You can still do this even though the 
bundle is broken.

The layout model is accessible via the Dashboard, Display tab. Go to the 
Surface (METAR) Data view. Go to Edit --> Layout Model.

Temporarily change the layout model unit back to Fahrenheit.

This should revive the bundle.

Once you have confirmed the bundle is working again, please switch back to the 
desired unit. Note the Celsius unit is available from the unit drop down list 
in the layout model.

Save the fixed bundle.

Keep us up-to-date on your progress.

Best Wishes,

Unidata IDV Support

> Full Name: Marsh
> Email Address: address@hidden
> Organization: MSC
> Package Version: 3.1u1 build date:2012-11-30 17:36 UTC
> Operating System: Mac OS X
> Hardware: Java: home: 
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: 
> 1.6.0_37 j3d:1.5.2 fcs (build4)
> Description of problem: making shapes
> java.lang.NullPointerException
> 
> 
> ^ This error continuously pops up ever since i tried to change the 
> temperature values to celcius. Once the error occurs, I can not load up the 
> metar data again. Attached is my session which fails.
> 
> My System is:
> 
> MacBook Pro
> Software  OS X 10.8.2 (12C60)
> Java: java version "1.6.0_37"
> Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
> 
> ******************
> Stack trace:
> java.lang.NullPointerException
> at 
> ucar.visad.display.StationModelDisplayable.makeShapes(StationModelDisplayable.java:1118)
> at 
> ucar.visad.display.StationModelDisplayable.makeShapesFromPointObsField(StationModelDisplayable.java:914)
> at 
> ucar.visad.display.StationModelDisplayable.makeNewDataWithShapes(StationModelDisplayable.java:697)
> at 
> ucar.visad.display.StationModelDisplayable.setStationData(StationModelDisplayable.java:441)
> at 
> ucar.unidata.idv.control.StationModelControl.loadData(StationModelControl.java:1742)
> at 
> ucar.unidata.idv.control.StationModelControl.initDone(StationModelControl.java:550)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1231)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initAfterUnPersistence(DisplayControlImpl.java:1390)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initAfterUnPersistence(DisplayControlImpl.java:1294)
> at 
> ucar.unidata.idv.control.StationModelControl.initAfterUnPersistence(StationModelControl.java:411)
> 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:1250)
> 
> 
> 


Ticket Details
===================
Ticket ID: HYJ-820832
Department: Support IDV
Priority: Normal
Status: Closed