Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Objectteams » ArrayIndexOutOfBoundsException with multithreaded use of a callin
ArrayIndexOutOfBoundsException with multithreaded use of a callin [message #566953] Mon, 04 January 2010 14:02 Go to next message
Eugene Hutorny is currently offline Eugene HutornyFriend
Messages: 110
Registered: January 2010
Senior Member
Hello,

Several threads accessing the the same callin causes ArrayIndexOutOfBoundsException. Sources for this test case can be found on this link: http://hutorny.in.ua/wp-content/uploads/2010/01/exer2.zip
Re: ArrayIndexOutOfBoundsException with multithreaded use of a callin [message #567069 is a reply to message #566953] Wed, 06 January 2010 14:22 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
> Several threads accessing the the same callin causes
> ArrayIndexOutOfBoundsException. Sources for this test case can be found on
> this link: http://hutorny.in.ua/wp-content/uploads/2010/01/exer2.zip

I filed this ticket:
https://trac.objectteams.org/ot/ticket/331

In 1.4.0 your example actually worked and I had to enable
implicit team activation to see the exception.
The relevant change in 1.4.0 is documented here:
http://www.objectteams.org/def/1.3/s5.html#s5.3.d
Thus for 1.4.0 we have a workaround (don't use implicit
team activation) and we have a hint at what is causing
the problem.

best regards,
Stephan
Previous Topic:ArrayIndexOutOfBoundsException with multithreaded use of a callin
Next Topic:compilation problems with a generic callin binding
Goto Forum:
  


Current Time: Thu Apr 18 13:05:43 GMT 2024

Powered by FUDForum. Page generated in 0.01897 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top