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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to