The defineRoute doesn't allow null as a depedency. Use an empty object array or Route.NO_DEPEDENCY instead. Added a way to detect non existing depedency/constructor pairs in defineRoute and WebPage.