The following issue has been updated:
Updater: Ben Griffiths (mailto:[EMAIL PROTECTED])
Date: Wed, 28 Jul 2004 9:26 AM
Comment:
Altenate solution that may be better - synchronizing access to pico.getInstance() in
ThreadLocalDelegationStrategy
Changes:
Attachment changed to patch2.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JS2-60?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS2-60
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS2-60
Summary: TestInterceptorAdapter.testThreadLocalDelegation() sometimes fails
Type: Bug
Status: Unassigned
Priority: Major
Project: Jetspeed 2
Versions:
2.0-a1
Assignee:
Reporter: Ate Douma
Created: Fri, 28 May 2004 5:45 AM
Updated: Wed, 28 Jul 2004 9:26 AM
Environment: Windows XP, J2SE1.4.2_03, maven 1.0-rc2
Description:
I've had now twice today that components/cm
org.apache.jetspeed.components.TestInterceptorAdapter.testThreadLocalDelegation()
suddenly fails.
Test report message:
Testcase:
testThreadLocalDelegation(org.apache.jetspeed.components.TestInterceptorAdapter):
FAILED
expected:<3> but was:<4>
junit.framework.AssertionFailedError: expected:<3> but was:<4>
at
org.apache.jetspeed.components.TestInterceptorAdapter.testThreadLocalDelegation(TestInterceptorAdapter.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
When I run it again the problem is gone.
I expect this is a timing issue. I haven't looked deep into it though.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]