[udig-devel] [jira] Created: (UDIG-955) NullPointerException when opening a map not in the project

Mark Presling (JIRA) jira at codehaus.org
Tue Aug 1 21:04:31 PDT 2006


NullPointerException when opening a map not in the project
----------------------------------------------------------

                 Key: UDIG-955
                 URL: http://jira.codehaus.org/browse/UDIG-955
             Project: uDIG
          Issue Type: Bug
          Components: open and save
    Affects Versions: UDIG 1.1.RC2
         Environment: All
            Reporter: Mark Presling
         Assigned To: Jesse Eichar
            Priority: Minor


When opening an external Map (not one that is in the project) using the OpenProjectElementCommand a NullPointerException is thrown while the system tries to select the Map in the project tree

Caused by: java.lang.NullPointerException
        at net.refractions.udig.project.ui.internal.ProjectExplorer.getLoadedElements(ProjectExplorer.java:733)
        at net.refractions.udig.project.ui.internal.ProjectExplorer.inDisplaySelect(ProjectExplorer.java:700)
        at net.refractions.udig.project.ui.internal.ProjectExplorer.setSelection(ProjectExplorer.java:691)
        at net.refractions.udig.project.ui.commands.OpenProjectElementCommand.openMap(OpenProjectElementCommand.java:84)
        at net.refractions.udig.project.ui.commands.OpenProjectElementCommand.access$1(OpenProjectElementCommand.java:79)
        at net.refractions.udig.project.ui.commands.OpenProjectElementCommand$1.run(OpenProjectElementCommand.java:70)

-- 
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

        


More information about the udig-devel mailing list