Fixed NPE during service generation
Fixed NPE during calling services from another portlets