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

[IDV #DYF-519566]: IDV - POINT ADDE problems



Hi Valentijn-

> Institution: ITC
> Package Version: 2.1RC1
> Operating System: Windows 2003
> Hardware Information: Java: home: C:\\Program Files\\Java\\jre1.5.0_09 
> version: 1.5.0_09 j3d:1.5.0-beta1 (build6) 26 Sep 2006 13:07:13 PDT
> Inquiry: Hi Jeff,
> 
> i'm trying to load in a ADDE datapointer to a local McIDAS ADDE server:
> 
> adde://adde.itc.nl/pointdata?compress=true&port=112&debug=false&version=1&user=idv&proj=0&group=SRFOBS&descr=METAR&select='%relative%;type
>  0;%latlonbox%'&num=all&pos=ALL

This will not work because the Point Obs chooser replaces the %latlonbox% macro.

> When i enter this in the URLs dataloader, i get teh follwoing error:
> 
> An error has occurred:
> There was an error loading the data:
> java.lang.NullPointerException
> 
> Probably this has something to do with my ADDE server not being configured 
> properly, but can you help me how to configure the Data Chooser "Point".
> I guess this is an xml resource which mappes the title "Surface (METAR) 
> observation" to a GROUP/DESC, correct?

no, it's actually hard coded into the code.

> Fyi, I copied this stuff from the RTPTSRC/SFCHOURLY at adde.ucar.edu to my 
> local ADDE server as SRFOBS/METAR
> 
> Can you pls forward this request to Tom Yoksas also casue it maybe the McIDAS 
> config. i'm a bit puzzeled why it work locally with McIDAS-X 2004 ok, but IDV 
> cannot....

What happens if you use the Surface Observation chooser and type in 
SRFOBS/METAR in the 
Data Type widget (replace "Surface (METAR) observations").

Don

> ******************
> Stack trace:
> java.lang.NullPointerException
> at java.util.Hashtable.get(Unknown Source)
> at 
> ucar.unidata.data.DerivedDataDescriptor.addToChoicesSoFar(DerivedDataDescriptor.java:1037)
> at 
> ucar.unidata.data.DerivedDataDescriptor.getDerivedDataChoicesInner(DerivedDataDescriptor.java:1104)
> at 
> ucar.unidata.data.DerivedDataDescriptor.getDerivedDataChoices(DerivedDataDescriptor.java:1068)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1127)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1072)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1616)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1535)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1513)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1370)
> at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:119)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1317)
> at ucar.unidata.idv.chooser.UrlChooser.loadURLInner(UrlChooser.java:180)
> at ucar.unidata.idv.chooser.UrlChooser.loadURL(UrlChooser.java:156)
> at ucar.unidata.idv.chooser.UrlChooser.doLoadInThread(UrlChooser.java:193)
> 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$1.run(Misc.java:902)
> at ucar.unidata.util.Misc$2.run(Misc.java:930)
> 
> 
> 


Ticket Details
===================
Ticket ID: DYF-519566
Department: Support IDV
Priority: Normal
Status: Open