Attached repro code.
Steps to repro:
1. Create a custom controller configuration attribute
2. Put the attribute on web api controller
3. Create a self or web host application for web api
4. Enable tracing on the service
5. Run the service
6. Send a client request to reach the controller's action to make it initializing
Possible fix to this bug:
1. Creating an protected copy only constructor in HttpControllerDescriptor which doesn't do any initialization
2. Change HttpControllerDescriptorTracer's constructor to use copy only constructor
Steps to repro:
1. Create a custom controller configuration attribute
2. Put the attribute on web api controller
3. Create a self or web host application for web api
4. Enable tracing on the service
5. Run the service
6. Send a client request to reach the controller's action to make it initializing
Possible fix to this bug:
1. Creating an protected copy only constructor in HttpControllerDescriptor which doesn't do any initialization
2. Change HttpControllerDescriptorTracer's constructor to use copy only constructor