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

[IDV #TKB-125734]: Exception while trying to set projection on the Viewer



> Full Name: Raghuveer
> Email Address: address@hidden
> Organization: One Network
> Package Version: 3.0 build date:2011-08-29 16:38 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_3.0\jre version: 1.6.0_20 
> j3d:1.5.2 fcs (build4)
> Description of problem: setMapProjection ()
> java.lang.NullPointerException
> 
> Getting following exception when trying to set the projection to any
> specific region except "southwestern" on a Global GRIB2 file.
> 
> Appreciate your help.
> 

More information of your global grib2 file needed to understand your problem.


Yuan
> Full stack trace:
> 
> java.lang.NullPointerException
> at ucar.unidata.util.TwoFacedObject.findId(TwoFacedObject.java:252)
> at 
> ucar.unidata.idv.MapViewManager.addProjectionToHistory(MapViewManager.java:2057)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2211)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2128)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2105)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2087)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:1984)
> at ucar.unidata.idv.MapViewManager.setProjection(MapViewManager.java:1870)
> at sun.reflect.GeneratedMethodAccessor147.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.Component.dispatchEvent(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)
> 
> 
> ******************
> Stack trace:
> java.lang.NullPointerException
> at ucar.unidata.util.TwoFacedObject.findId(TwoFacedObject.java:252)
> at 
> ucar.unidata.idv.MapViewManager.addProjectionToHistory(MapViewManager.java:2057)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2211)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2128)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2105)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2087)
> at ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:1984)
> at ucar.unidata.idv.MapViewManager.setProjection(MapViewManager.java:1870)
> at sun.reflect.GeneratedMethodAccessor147.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.Component.dispatchEvent(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)
> 
> 
> 


Ticket Details
===================
Ticket ID: TKB-125734
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.