Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004091 [Resin] minor always 06-01-10 06:41 07-09-10 17:21
Reporter swiegersf View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.7
Summary 0004091: CDI Extension: ProcessAnnotatedType throws StackOverflowError
Description Good day,

I'm trying to build a CDI portable extension that observes the ProcessAnnotatedType event (as per the CDI spec 11.5.5), using Resin 4.0.7's client container (I believe this should happen in the actual application server too, I haven't tested it there).

However, if I register my extension below:

Code:
public class RemoteExtension implements Extension {

    public <T> void decorateAnnotatedType(@Observes ProcessAnnotatedType<T> pat) {
}
}
I get:

Code:
Exception in thread "main" java.lang.StackOverflowError
    at com.caucho.config.reflect.BaseType.create(BaseType.java:141)
    at com.caucho.config.reflect.BaseType.toBaseType(BaseType.java:214)
    at com.caucho.config.reflect.BaseType.create(BaseType.java:164)
    at com.caucho.config.reflect.BaseType.create(BaseType.java:110)
    at com.caucho.config.reflect.BaseType.create(BaseType.java:154)
    at com.caucho.config.reflect.BaseType.toBaseType(BaseType.java:214)
    at com.caucho.config.reflect.BaseType.create(BaseType.java:164)
    at com.caucho.config.reflect.BaseType.create(BaseType.java:110)
    at com.caucho.config.reflect.BaseType.create(BaseType.java:154)
    at com.caucho.config.reflect.BaseType.toBaseType(BaseType.java:214)
Additional Information
Attached Files

- Relationships

- Notes
(0004668)
ferg
07-09-10 17:20

ioc/0p2c

This should be fixed in 4.0.8 as well.
 

- Issue History
Date Modified Username Field Change
06-01-10 06:41 swiegersf New Issue
07-09-10 17:20 ferg Note Added: 0004668
07-09-10 17:20 ferg Assigned To  => ferg
07-09-10 17:20 ferg Status new => assigned
07-09-10 17:20 ferg Resolution open => fixed
07-09-10 17:20 ferg Fixed in Version  => 4.0.9
07-09-10 17:21 ferg Status assigned => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker