avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23794] New: - The default container throws an strange exception when the component do not expose a public parameterless constructor.
Date Mon, 13 Oct 2003 21:53:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23794>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23794

The default container throws an strange exception when the component do not expose a public
parameterless constructor.

           Summary: The default container throws an strange exception when
                    the component do not expose a public parameterless
                    constructor.
           Product: Avalon
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Avalon
        AssignedTo: dev@avalon.apache.org
        ReportedBy: hnry83@uol.com.br


Situation:
if the default container lookups for a component and cannot find the public 
parameterless constructor, the Exception message is 'Object reference not set 
to an instance of an object.'

Excepted:
A Exception that tells the public parameterless constructor is missing.


Stack Trace:
   at Apache.Avalon.Container.LifecycleManager.AfterGetInstance(DelegateHandler 
handler, Object instance) in E:\dev\dotnet\projects\opensource\avalon\avalon-
sandbox\avalon-net\cscontainer\AvalonContainer\LifestyleManager.cs:line 133
   at Apache.Avalon.Container.Handler.HandlerProxy.Invoke(IMessage message) in 
E:\dev\dotnet\projects\opensource\avalon\avalon-sandbox\avalon-
net\cscontainer\AvalonContainer\Handler\HandlerProxy.cs:line 83
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type)
   at Apache.Avalon.Container.Services.IComponentHandler.GetInstance()
   at Apache.Avalon.Container.Lookup.DefaultLookupManager.get_Item(String role) 
in E:\dev\dotnet\projects\opensource\avalon\avalon-sandbox\avalon-
net\cscontainer\AvalonContainer\Lookup\DefaultLookupManager.cs:line 88

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message