Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] unable to load map

Hi Andrea,

Here is my two bits...

From what I can tell when a new project or new map is created a new project/map resource is created (see ProjectImpl.createNewResource). This is created when you first create the project/map; and my understanding is that this is where the file name is selected for the project.

When uDig is closed these resources are 'saved'. I think this is done is ProjectPlugin line 153 "resource.save(saveOptions);". I'm not familiar with the details though. I also don't have any great insight into why the project file is empty.

Do you have a set of steps that would allow me to reproduce this error? Maybe I can help you debug it a bit if I can reproduce it.

Emily


andrea antonello wrote:
Hi udiggers,
I am trying to solve issue 1467, i.e. the odd problem with the
projects not loading after restarting udig.

There bug report is opened here: http://jira.codehaus.org/browse/UDIG-1467
but I found the problem NOT being related to that one.

In fact I wasn't still able to track down where it happens.
The problem is that while the project file (project.uprj) is written
properly in the workspace, the map file ends up to be corrupted
(mapname.umap) and being empty.

When debugging and producing this error, the debugger doesn't even
pass the code in the bug report above.

Any better place I might look into to solve this? Where exactly is the
umap file written?

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


Back to the top