ViewPortPaneSWT inconsistent with ViewPortPaneJava
--------------------------------------------------

         Key: UDIG-696
         URL: http://jira.codehaus.org/browse/UDIG-696
     Project: uDIG
        Type: Bug

  Components: map  
    Versions: uDig 1.1.M5    
 Environment: Windows XP vs Debian Linux Etch
    Reporter: Mark Presling
 Assigned to: Jesse Eichar 
    Priority: Critical


I discovered that using a DrawFeatureCommand under linux works correctly when 
you schedule it using IToolContext.sendASync(DrawFeatureCommand).

However, under Windows XP this does not work and ends up throwing a 
NullPointerException in the geotools code.

I tracked the problem down to the fact that ViewPortPaneJava calls 
DreawFeatureCommand.setMap(), but ViewPortPaneSWT does not in the 
ViewPortPaneSWT.addDrawCommand() method.

I am on the train at the moment so don't have the exact details with me. 
Therefore some of the names may be slightly off. If you need more info let me 
know and I will give more accurate details.

This is related to the 1.1.M6 source.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to