Issue 1138: Action invocation fails when attribute routing is used and trace is also enabled