Just right, Larry. I have been digitising for half an hour now trying to catch 
the error but with no luck. I would say this is not any serious bug. Even when 
it occurs no work gets lost. 

But hey! Right now I know how to reach the error.
- select either draw polygon or draw linestring tool (basic, not the 
constrained ones)
- RIGHT click on map and get the menu
- LEFT click on map, and there it is!

Perhaps this has nothing to do with Java update and happens only when doing 
real work in a hurry but have a try with other Java versions.

-Jukka-


-----Alkuperäinen viesti-----
Lähettäjä: Larry Becker [mailto:becker.la...@gmail.com]
Lähetetty: ke 17.12.2008 20:52
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11
 
Yes, and I doubt that even Jukka can reliably reproduce the problem.  I've
actually gotten array out of bounds exceptions myself using SkyJUMP, but it
was always when I was doing actual GIS work and I didn't take the time to
record the exception.  It never seems to happen during testing.  :-(

Larry

On Wed, Dec 17, 2008 at 12:01 PM, Stefan Steiniger <sst...@geo.uzh.ch>wrote:

> I think you need to give Jukka the code, not Paolo :)
>
> stefan
>
> Sunburned Surveyor wrote:
> > This is a good point Larry.
> >
> > What I could do is give Paolo a build to try out. Then at least we can
> > know if we've eliminated the problem for him.
> >
> > It is also possible that the existing code lacks some robustness. I
> > see no reason why the getShape method of this particular cursor tool
> > should be called with an empty list of coordinates. So perhaps we
> > could improve the error checking here. At a minimum, it may be better
> > to throw an IllegalStateException with an error message specific to
> > the problem at hand which wraps the exception coming from the
> > ArrayList.
> >
> > This is probably something that could be addressed in the parent
> > class, the MulitClickTool.
> >
> > But I shouldn't say anymore until I look closer at the code, or I am
> > liable to make an arse out of myself.
> >
> > Thanks again for your input.
> >
> > Landon
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



-- 
http://amusingprogrammer.blogspot.com/



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to