uDIG

NullPointerException when opening a map not in the project

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: UDIG 1.1.RC2
  • Fix Version/s: UDIG 1.2.M6
  • Component/s: framework
  • Labels:
    None
  • Environment:
    All

Description

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)

Activity

Hide
Jody Garnett added a comment -
bug brought forward to UDIG1.2.M4 visibility
Show
Jody Garnett added a comment - bug brought forward to UDIG1.2.M4 visibility

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: