null ptr when layer view is opened
----------------------------------
Key: UDIG-1213
URL: http://jira.codehaus.org/browse/UDIG-1213
Project: uDIG
Issue Type: Bug
Components: ui
Affects Versions: UDIG 1.1.RC9
Environment: gnu: linux X Gnome
Reporter: Adrian Custer
Priority: Minor
If a uDig instance with a map has its layer view closed then opened or if uDig
is started from a saved state where the layer view was not present and then the
layer view is opened, then opening the layer view will cause an exception.
The problem appears to be restricted to opening the layers view when a map is
already opened. A test of closing all views and opening each separately shows
they all open correctly. Opening the layers view when a map is open gives the
exception; closing the map and reopening it gets rid of the exception.
1) New uDig
2) close dialogs/intro to get to workbench
3) close the layers view
4) Windows -> Views -> Layer
==> The layers view re-opens, so far so good
5) Add a shapefile, drop it into the map view to make a map
==> The map gets a layer of the shape data
6) close the layers view
7) open the layers view
==> null pointer exception, see the 'details' button for the info
or, alternatively,
7) close uDig
==> There should be a ~/workspace file
8) open uDig
==> opens without the layer view open
9) Windows -> Views -> Layer
==> the layers view opens with a null pointer error (push the Details button
for more).
--adrian
--
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