Message:
The following issue has been closed.
Resolver: Howard M. Lewis Ship
Date: Tue, 14 Sep 2004 11:00 AM
Fixed for the 1.0 release candidate, and in CVS HEAD (1.1).
Added a getInstanceClass() method to ClassFabUtils.
Update LoggingInterceptor and ServicePropertyFactory (based on a search for
ClassFab.addField() ).
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-55
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-55
Summary: LoggingInterceptor fails if a a JDK proxy is next
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: HiveMind
Fix Fors:
1.1
1.0
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Howard M. Lewis Ship
Created: Tue, 14 Sep 2004 10:13 AM
Updated: Tue, 14 Sep 2004 11:00 AM
Description:
If the LoggingInterceptor attempts to create an interceptor around another
interceptor, and that interceptor creates a JDK proxy (rather than a Java
class), then an exception is thrown:
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service
doconline.Adder: Unable to lookup $Proxy0: $Proxy0
at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:156)
......
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to lookup
$Proxy0: $Proxy0
at
org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:60)
at
org.apache.hivemind.service.impl.ClassFabImpl.addField(ClassFabImpl.java:71)
at
org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInfrastructure(LoggingInterceptorFactory.java:236)
......
Caused by: javassist.NotFoundException: $Proxy0
at javassist.ClassPoolTail.openClassfile(ClassPoolTail.java:300)
at javassist.ClassPoolTail.checkClassName(ClassPoolTail.java:177)
at javassist.ClassPool.checkClassName(ClassPool.java:709)
at javassist.ClassPool.get0(ClassPool.java:572)
at javassist.ClassPool.get(ClassPool.java:561)
at
org.apache.hivemind.service.impl.CtClassSource.getCtClass(CtClassSource.java:56)
... 48 more
---------------------------------------------------------------------
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]