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 #505683] Mon, 04 January 2010 14:02 Go to next message
Eugene Hutorny is currently offline Eugene Hutorny
Messages: 109
Registered: January 2010
Senior Member
Hello,

Several threads accessing the the same callin cause numerous ArrayIndexOutOfBoundsException. Sources for this test case can be found on this link: sources

OTDT Version: 1.3.2 - developed for Eclipse version 3.5.1

[Updated on: Mon, 04 January 2010 14:04]

Report message to a moderator

Re: ArrayIndexOutOfBoundsException with multithreaded use of a callin [message #506203 is a reply to message #505683] Wed, 06 January 2010 14:22 Go to previous message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 1007
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:Suggestion on callin bindings
Next Topic:ArrayIndexOutOfBoundsException with multithreaded use of a callin
Goto Forum:
  


Current Time: Wed Oct 01 12:16:49 GMT 2014

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

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