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: 109
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: 1048
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: Fri Dec 19 22:48:24 GMT 2014

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

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