• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • hhuynh
  • Reporter: tgautier
  • February 07, 2008
  • 0
  • Watchers: 0
  • October 02, 2008
  • April 08, 2008

Description

When an illegal state monitor exception is thrown it must be more descriptive like the rest of our exceptions.

Comments

Taylor Gautier 2008-02-07

http://forums.terracotta.org/forums/posts/list/0/782.page#4634

Fiona OShea 2008-02-07

******************************************************************************* An IllegalStateMonitor is usually caused by one of the following: 1) No synchronization 2) The object synchronized is not the same as the object waited 3) The object being waited on is a Terracotta distributed object, but no Terracotta auto-lock has been specified.

For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting

Taylor Gautier 2008-04-05

This message should be formatted as:

java.lang.IllegalMonitorStateException: ******************************************************************************* An IllegalStateMonitor is usually caused by one of the following: 1) No synchronization 2) The object synchronized is not the same as the object waited 3) The object being waited on is a Terracotta distributed object, but no Terracotta auto-lock has been specified.

For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting

Caused by Thread: {thread}
Shared Object Type: {shared object} \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* 

{stack trace}

Taylor Gautier 2008-04-05

please note line breaks also