|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4091 | minor | always | 06-29-10 06:41 | 07-09-10 17:21 | |
|
|
|||||
| Reporter: | swiegersf | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.7 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.9 | ||
|
|
|||||
| 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) |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||