Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003886 [Resin] minor always 02-11-10 09:58 02-11-10 14:37
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.3
Summary 0003886: CanDI circular injection references
Description (rep by Hontvari Jozsef)
I reduced the configuration to the minimum. It consists of a circular setter
>> dependency, and then a separate third constructor initialization which
>> refers to one of circular items. Both have to be present, otherwise
>> StackOverflow doesn't happen. I attached a configuration sample and a part
>> of the log file, logged on "finer" level.
>>
>> Scott Ferguson írta:
>>
>> Hontvári József wrote:
>>
>>
>> I receive java.lang.StackOverflowError when Resin tries to read the
>> configuration file:
>>
>> [10-02-10 10:31:56.929] {resin-37}
>> C:/Progra~1/mireka-1.2/conf/mireka.xml:325: com.caucho.confi
>> g.core.ResinIf.init(): java.lang.StackOverflowError
>>
>> I believe there is no circular constructor dependency in the file. To be
>> sure I replaced almost all constructor initialisation blocks with setter
>> initialization. Is there a way to debug this error? There is no stack
>> trace or anything else in the log.
>>
>>
>>
>> Can you send that section of the configuration file? It looks like it's
>> something to do with the <resin:if> like the test EL expression,
>> although it could also be the contents of the if.
>>
>> Also, it's possible that adding a <logger name="" level="finer"/> in the
>> <resin> section will show the stack trace.
>>
Additional Information
Attached Files

- Relationships

- Notes
(0004426)
ferg
02-11-10 14:37

ioc/0151
 

- Issue History
Date Modified Username Field Change
02-11-10 09:58 ferg New Issue
02-11-10 14:37 ferg Note Added: 0004426
02-11-10 14:37 ferg Assigned To  => ferg
02-11-10 14:37 ferg Status new => closed
02-11-10 14:37 ferg Resolution open => fixed
02-11-10 14:37 ferg Fixed in Version  => 4.0.4


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