HTTP Status 500 – Internal Server Error


Type Exception Report

Message For input string: "n"

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.NumberFormatException: For input string: "n"
	java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	java.lang.Integer.parseInt(Integer.java:580)
	java.lang.Integer.parseInt(Integer.java:615)
	com.feifanuniv.teacher.web.framework.AuthenticationUtil.getSchoolIdFromPlatformId(AuthenticationUtil.java:166)
	com.feifanuniv.teacher.web.framework.AuthenticationUtil.getPlatformInfo(AuthenticationUtil.java:179)
	com.feifanuniv.teacher.web.framework.AuthenticationUtil.getSchool(AuthenticationUtil.java:185)
	com.feifanuniv.teacher.web.framework.AuthenticationUtil.getSchool(AuthenticationUtil.java:194)
	com.feifanuniv.teacher.web.framework.AuthenticationFilter.getRequestSchoolInfo(AuthenticationFilter.java:29)
	com.feifanuniv.uilib.filter.auth.rolebased.AbstractWebAuthFilter$1.parseRequestSchoolInfo(AbstractWebAuthFilter.java:48)
	com.feifanuniv.uilib.mvc.QsServletRequest.parseSchool(QsServletRequest.java:305)
	com.feifanuniv.uilib.mvc.QsServletRequest.getRequestSchoolInfo(QsServletRequest.java:176)
	com.feifanuniv.uilib.filter.auth.rolebased.AbstractWebAuthFilter.doFilter(AbstractWebAuthFilter.java:65)
	com.feifanuniv.uilib.filter.security.RobotFilter.doFilter(RobotFilter.java:72)
	com.feifanuniv.uilib.filter.security.AbstractIPFilter.doFilter(AbstractIPFilter.java:33)
	com.feifanuniv.uilib.filter.trace.TraceFilter.doFilter(TraceFilter.java:25)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/8.5.20