Normally such error happens due to incorrect Java reference in nx.env file (pointing to 1.6 instead of 1.7) or if a wrong patch was some how forced on (12.9 patch on 12.7) etc
Former is mostly the main cause. Maybe you could check if nx.env has the correct Java version ?