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

[IDV #DMY-444960]: Error when attempting to access Weather Text Products from server



> Yuan,
> 
> I am running the latest stable version of the IDV, which is IDV 5.4.  In
> the program, I went to Data - Special - Weather Text Products (from
> server).  When I click on this, the IDV will think for a moment, and then I
> get this error message:
> 
> Error initializing table based products
> String index out of range: -19

This is a bug and it is fixed in the nightly release, you can download and 
install the nightly release.

Yuan
> 
> After I click on OK, I get another error message that reads:
> 
> There was an error loading the data:
> Error initializing table based products
> 
> When I click on the details tab from this second error message, I get this:
> 
> ucar.unidata.data.BadDataException: Error initializing table based products
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1585)
> 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.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1811)
> 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.MenuUtil$1.invokeMethod(MenuUtil.java:233)
> at ucar.unidata.util.MenuUtil$1.actionPerformed(MenuUtil.java:224)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.AbstractButton.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$500(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 
> 
> On Jan 4, 2018 11:50 AM, "Unidata IDV Support" <address@hidden>
> wrote:
> 
> > Hi Yuan,
> >
> > I have actually been getting this error for about a month.  The details of
> > the error are below:
> 
> 
> I need more detail information, did you get those error by selecting Data >
> Special > Weather Text Products (server), or
> by selecting a more specific product?
> 
> What is the version of the IDV you are running?
> Yuan
> >
> > java.lang.StringIndexOutOfBoundsException: String index out of range: -19
> > at java.lang.String.substring(Unknown Source)
> > at ucar.unidata.util.StringUtil.parseLineWords(StringUtil.java:1310)
> > at
> > ucar.unidata.data.text.NwxTextProductDataSource.initAfter(Nw
> xTextProductDataSource.java:433)
> > at
> > ucar.unidata.data.text.AddeTextProductDataSource.initAfter(A
> ddeTextProductDataSource.java:383)
> > at
> > ucar.unidata.data.DataSourceImpl.initAfterCreation(DataSourc
> eImpl.java:791)
> > at
> > ucar.unidata.data.FilesDataSource.initAfterCreation(FilesDat
> aSource.java:284)
> > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1577)
> > at
> > ucar.unidata.idv.IntegratedDataViewer.createDataSource(Integ
> ratedDataViewer.java:1978)
> > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(Integra
> tedDataViewer.java:1895)
> > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(Integra
> tedDataViewer.java:1829)
> > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(Integra
> tedDataViewer.java:1802)
> > at
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(Integra
> tedDataViewer.java:1811)
> > 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.MenuUtil$1.invokeMethod(MenuUtil.java:233)
> > at ucar.unidata.util.MenuUtil$1.actionPerformed(MenuUtil.java:224)
> > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> > at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> > at javax.swing.AbstractButton.doClick(Unknown Source)
> > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
> > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
> > Source)
> > at java.awt.Component.processMouseEvent(Unknown Source)
> > at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > at java.awt.Component.processEvent(Unknown Source)
> > at java.awt.Container.processEvent(Unknown Source)
> > at java.awt.Component.dispatchEventImpl(Unknown Source)
> > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > at java.awt.Component.dispatchEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > at java.awt.Window.dispatchEventImpl(Unknown Source)
> > at java.awt.Component.dispatchEvent(Unknown Source)
> > at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> > at java.awt.EventQueue.access$500(Unknown Source)
> > at java.awt.EventQueue$3.run(Unknown Source)
> > at java.awt.EventQueue$3.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> > at java.awt.EventQueue$4.run(Unknown Source)
> > at java.awt.EventQueue$4.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.run(Unknown Source)
> >
> > Michael Jacob Gore
> >
> > address@hidden> wrote:
> >
> > > > Full Name: Michael Gore
> > > > Email Address: address@hidden
> > > > Organization: Home
> > > > Package Version:
> > > > Operating System:
> > > > Hardware:
> > > > Description of problem: When I attempted to access the ' Weather Text
> > > Products (from server) ' from the Data menu in the IDV, I received the
> > > following error:
> > > >
> > > > Error initializing table based products
> > > > String index out of range: -19
> > > >
> > > >
> > > >
> > > Hi Michael,
> > >
> > > I can not reproduce your problem. It might be the network or server
> error
> > > at the time you tried.  Please
> > > let me know if the issue is still unsolved.
> > >
> > > Yuan
> > >
> > > Ticket Details
> > > ===================
> > > Ticket ID: DMY-444960
> > > Department: Support IDV
> > > Priority: Normal
> > > 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.
> > >
> > >
> > >
> >
> >
> 
> 
> Ticket Details
> ===================
> Ticket ID: DMY-444960
> Department: Support IDV
> Priority: Normal
> 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.
> 
> 


Ticket Details
===================
Ticket ID: DMY-444960
Department: Support IDV
Priority: Normal
Status: Closed
===================
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.