Fix exception type in event.getProfilingInfo