Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-19 Thread Giuseppe Aruta
>> > >> -Jukka- > >> > >> > >> -Alkuperäinen viesti- > >> Lähettäjä: Giuseppe Aruta > [mailto:giuseppe_ar...@yahoo.it] > >> Lähetetty: to 18.12.2008 20:06 > >> Vastaanottaja: OpenJump develop and use > >> Aihe

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Sunburned Surveyor
gt;> >> -Jukka- >> >> >> -Alkuperäinen viesti- >> Lähettäjä: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it] >> Lähetetty: to 18.12.2008 20:06 >> Vastaanottaja: OpenJump develop and use >> Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExcept

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Larry Becker
ing about the custom > drawing tools? > > -Jukka- > > > -Alkuperäinen viesti- > Lähettäjä: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it] > Lähetetty: to 18.12.2008 20:06 > Vastaanottaja: OpenJump develop and use > Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExce

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Rahkonen Jukka
Aruta [mailto:giuseppe_ar...@yahoo.it] Lähetetty: to 18.12.2008 20:06 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11 Hi Jukka, I didn't realize these extra shortcut on originale draw tools BTW I discover an extra useful tool

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Giuseppe Aruta
stion could be again: can we add constrained to "regular" draw polygon/line toos and remove the "constrained" tools? Peppe --- Gio 18/12/08, Rahkonen Jukka ha scritto: > Da: Rahkonen Jukka > Oggetto: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Giuseppe Aruta
> Whodda thunk such a little bug would merit such an > extensive discussion. :] > > SS Happy "IndexOutOfBoundsExceptions" 2009_1.6.0_11!! -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Sunburned Surveyor
nd use > Kopio: Stefan Steiniger > Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11 > > Roger that. > > If they don't have the same problem, then I wouldn't be against > removing them. This would make my fix unecessary. We should see what

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Rahkonen Jukka
Steiniger Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11 Roger that. If they don't have the same problem, then I wouldn't be against removing them. This would make my fix unecessary. We should see what Stefan thinks. SS On Thu, Dec 18, 2008 at 9:12 AM, Giuseppe Ar

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Sunburned Surveyor
Roger that. If they don't have the same problem, then I wouldn't be against removing them. This would make my fix unecessary. We should see what Stefan thinks. SS On Thu, Dec 18, 2008 at 9:12 AM, Giuseppe Aruta wrote: > >> If the constrained tools extend the same MultiClickTool, >> then the sam

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Giuseppe Aruta
> If the constrained tools extend the same MultiClickTool, > then the same > bug could appear. I think Jukka wrote that they don't have this problem. I have to check his message Peppe -- SF.Net email is Spons

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Sunburned Surveyor
t;>> >> -JRE 1.6.0_11 >>> >> >>> >> And two version of the softwrare >>> >> -OpenJUMP 1.2F (stable realize - zip version) >>> >> -openjump-core-1.2-20081218-bin (nigtly build) >>> >> >>> >> Windows XP SP3 >>> >> AD

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Sunburned Surveyor
gt;> >> 1.53 Mhz 469 Mb >> >> >> >> -------------------- >> >> The Test >> >> >> >> OpenJUMP 1.2F (stable realize) >> >> >> >> -JRE 1.5.0_12 OK >> >> -JRE 1.6.0_07 OK &

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Larry Becker
ined ones > If you agree to this proposal, it is probabily inot important to solve this > java error > > regards > > Peppe > > > --- Gio 18/12/08, Larry Becker ha scritto: > > > Da: Larry Becker > > Oggetto: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Giuseppe Aruta
original Draw features from the toolbar and save only the constrained ones If you agree to this proposal, it is probabily inot important to solve this java error regards Peppe --- Gio 18/12/08, Larry Becker ha scritto: > Da: Larry Becker > Oggetto: Re: [JPP-Devel] R: R: IndexOutOfBoun

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Larry Becker
> >> > >> Openjump-1.2-20081218 (nigtly build) > >> > >> -JRE 1.5.0_12 OK > >> -JRE 1.6.0_07 OK > >> -JRE 1.6.o_10 ERROR > >> -JRE 1.6.0_11 ERROR > >> _ > >> > >> With thi

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Sunburned Surveyor
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! >> > >> > Perhap

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Larry Becker
blem can be connected to > something changed in OpenJUMP from ver F to actual one. > And the problem got birth from jre1.6.0_07 to jre1.6.0_10 version, which > probabily you know, but now empirically argued > > Regards > > Peppe > > > > > --- Mer 17/12/08, Ra

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Giuseppe Aruta
om] > 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

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Malte Weller
I'm using Windows XP SP3. Greetings from Hanover, Malte Andreas Schmitz schrieb: Malte Weller wrote: Hi, I can duplicate it with 1.6.0_10. Looks like they've implemented a bug or changed something because of JavaFX. What OS/Window manager are you using? I can't duplicate it with

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Andreas Schmitz
Malte Weller wrote: Hi, > I can duplicate it with 1.6.0_10. > Looks like they've implemented a bug or changed something because of > JavaFX. What OS/Window manager are you using? I can't duplicate it with _10 on Linux/IceWM. Best regards, Andreas -- l a t / l o n GmbH Aennchenstrasse 19

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Malte Weller
.la...@gmail.com <mailto:becker.la...@gmail.com>] Lähetetty: ke 17.12.2008 22:32 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11 Can't duplicate with jdk1.6.0_01 or jre1.5.0_12. Larry On Wed, Dec 17, 2008

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-18 Thread Andreas Schmitz
Larry Becker wrote: Hi, > Guess we need to look at the Java change logs for 1.6.0_11. Is anyone using > a 1.6 before _11 and after _07? I'm using 1.6.0_10, and I'm unable to reproduce the problem. Smells like a Java problem, either in versions up to _11 (where a bug got fixed) or beginning with

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Larry Becker
.0_11. > > -Jukka- > > > -Alkuperäinen viesti- > Lähettäjä: Larry Becker [mailto:becker.la...@gmail.com] > Lähetetty: ke 17.12.2008 22:32 > Vastaanottaja: OpenJump develop and use > Aihe: Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11 > &g

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Rahkonen Jukka
t; 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

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Larry Becker
ing 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 > Vas

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Rahkonen Jukka
: 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 o

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Sunburned Surveyor
Thanks guys. I geuss I got Jukka and Paolo mixed up. SS On Wed, Dec 17, 2008 at 10:52 AM, Larry Becker wrote: > 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 a

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Larry Becker
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. :-( Larr

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Stefan Steiniger
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 so

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Sunburned Surveyor
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 calle

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Larry Becker
The only thing I would add to this discussion is that if you can't duplicate the problem, you can't fix it reliably. I tried everything I could think of and didn't duplicate the problem. I haven't yet tried it with the same exact Java version. We can't yet know if the problem is in JUMP code or

Re: [JPP-Devel] R: R: IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-17 Thread Sunburned Surveyor
Paolo, I need to get into the cursor tool code and see how those two (2) different mouse events are being handled. I think we can safely tell the tool to not invoke the getShape method if the ArrayList of coordinates is empty. This would avoid the exception. If the getShape method is called with