[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] ActiveMapTracker Exception
|
Thanks Jody; I had applied this fix to trunk.
I had a quick look at 1.1.x and didn't see the fix there. Should I open
a bug report?
Emily
Jody Garnett wrote:
Yeah it does; I thought we fixed this one? Perhaps the fix only made it to
1.1.x.
Incidentally I am getting excited about the idea of registering some of this
stuff as normal eclipse workbench services (so we do not have a single
ApplicationGIS; but instead an "ApplicationGIS" instance that is stored on
the workbench "blackboard" - apparently they do have such a thing; a list of
registered services such as the SelectionManager).
Cheers,
Jody
On Sat, Feb 21, 2009 at 10:29 AM, Emily Gouge <egouge@xxxxxxxxxxxxxxx>wrote:
I've come across an issue with the ActiveMapTracker producing
"java.lang.ArrayIndexOutOfBoundsException: 0" Exception : at line 87.
Currently this line reads:
if( part!=null && part!=activeParts.get(0)){
This error is occurring because the activeParts array is empty. So I would
like to update this to say:
if( part!=null && !activeParts.isEmpty() && part!=activeParts.get(0)){
Does this sound reasonable?
Emily
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel