no map drawn on Projection Manager widget

Errors and unexpected results
Post Reply
User avatar
hproe
Posts: 504
Joined: Sat Nov 27, 2010 3:46 pm

no map drawn on Projection Manager widget

Post by hproe »

Hi -

I am running the Linux 64-bit 1.01 build 18 April. I do not get a map displayed when clicking Projection > New/Edit. When then insisting to Edit or creat a New projection I get an error. This does not happen with the Windows 64-bit version using the same advanced preferences.

HP
User avatar
bobc
Posts: 990
Joined: Mon Nov 15, 2010 5:57 pm

Re: no map drawn on Projection Manager widget

Post by bobc »

Hi HP -

I have the McV build from 4/20 and I tried replicating your issue. I was able to see your problem on a Linux 64-bit machine if I checked on 'Enable Non-Power of Two (NPOT) textures'. If this is checked off, it works. I will write this up as an inquiry.

Thanks
- Bob
User avatar
hproe
Posts: 504
Joined: Sat Nov 27, 2010 3:46 pm

Re: no map drawn on Projection Manager widget

Post by hproe »

Hi Bob -

Disabling NPOT does not help in my case.

HP
User avatar
tdrink
Posts: 157
Joined: Wed Apr 15, 2009 7:45 pm

Re: no map drawn on Projection Manager widget

Post by tdrink »

This problem has nothing to do with NPOT as the Projection Manager widget does
not image rendering.
User avatar
bobc
Posts: 990
Joined: Mon Nov 15, 2010 5:57 pm

Re: no map drawn on Projection Manager widget

Post by bobc »

Tom and HP -

In attempting to replicate the problem yesterday, I tried every combination of the Advanced Preferences I could. Turning on geometry by reference, image data by reference, and NPOT textures was the one combination where I saw the problem. However, trying this again today I was not able to reproduce the problem. I must have done something else that time that I was not aware of. So I now agree that NPOT is not an issue here.

HP -

When I was able produce the problem where no map was seen on the Projection Manager, it came after I attempted to edit a previously existing map. There was no error message that I saw. Did you see an actual error message? And if so, what did it say?

What advanced preferences do you have set on? This may also be a graphics card issue. What graphics card do you have? Also, is there any other pertinent information about your machine that may be important in diagnosing this problem?

Thanks
- Bob
User avatar
hproe
Posts: 504
Joined: Sat Nov 27, 2010 3:46 pm

Re: no map drawn on Projection Manager widget

Post by hproe »

Hi Bob -

Here the full picture:

Notebook is Compaq 8510p.
Graphics card is Mobility Radeon HD 2600 from ATI.
OS is openSUSE 11.4

Opening New/Edit no map is displayed.
Editing any existing map produces an error:
java.lang.NullPointerException
at ucar.unidata.gis.GisFeatureRenderer.getShapes(GisFeatureRenderer.java:170)
at ucar.unidata.gis.GisFeatureRenderer.draw(GisFeatureRenderer.java:135)
at ucar.unidata.view.CompositeRenderer.draw(CompositeRenderer.java:90)
at ucar.unidata.view.NPController.draw(NPController.java:251)
at ucar.unidata.view.NPController.setProjectionImpl(NPController.java:226)
at ucar.unidata.view.geoloc.ProjectionManager$NewProjectionDialog.setProjection(ProjectionManager.java:1005)
at ucar.unidata.view.geoloc.ProjectionManager$NewProjectionDialog$2.actionPerformed(ProjectionManager.java:961)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.setSelectedItem(Unknown Source)
at ucar.unidata.view.geoloc.ProjectionManager$NewProjectionDialog.setFieldsWithClassParams(ProjectionManager.java:1161)
at ucar.unidata.view.geoloc.ProjectionManager$NewProjectionDialog.setProjectionClass(ProjectionManager.java:1134)
at ucar.unidata.view.geoloc.ProjectionManager$NewProjectionDialog.setProjection(ProjectionManager.java:1004)
at ucar.unidata.view.geoloc.ProjectionManager.edit(ProjectionManager.java:671)
at ucar.unidata.view.geoloc.ProjectionManager.doEdit(ProjectionManager.java:645)
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.GuiUtils$15.actionPerformed(GuiUtils.java:4728)
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.plaf.basic.BasicButtonListener.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.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)
User avatar
Jon
Posts: 192
Joined: Fri Jan 09, 2009 8:44 pm
Location: Madison, WI

Re: no map drawn on Projection Manager widget

Post by Jon »

Was there any chance that the maps were part of a plugin? If so, you may want to check that it's installed properly (according to the plugin manager)…pretty much just open up Tools > Plugin Manager and verify that the entries under Installed Plugins makes sense.
User avatar
bobc
Posts: 990
Joined: Mon Nov 15, 2010 5:57 pm

Re: no map drawn on Projection Manager widget

Post by bobc »

Hi HP -

We have tried to reproduce the error that you are seeing on several different platforms using both McIDAS-V and IDV without any success. Are you seeing this same error in IDV?

Thanks -
Bob
User avatar
hproe
Posts: 504
Joined: Sat Nov 27, 2010 3:46 pm

Re: no map drawn on Projection Manager widget

Post by hproe »

Hi Bob -

Both IDV and McV do not display the map preview on the Linux notebook that sports an ATI Radeon HD2600. The 64-bit McV and IDV under W7 on another HP notebook (but not with an ATI graphic card!) work fine. So, it might be a driver problem that must have come along inadvertently in the past during an OS upgrade (it is a very long time I created/changed projections). In this case we might as well close this issue.

HP
Post Reply