From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
后台日志:
WARN >> Unhandled Exception thrown: class java.lang.NullPointerException
<2015-6-30 下午03时07分30秒 EDT>
context-path: '/gzdwsi'] Root cause of ServletException.
java.lang.NullPointerException
at org.apache.commons.fileupload.DefaultFileItem.write(DefaultFileItem.java:442)
at com.neusoft.project.gzdwsi.annuity.action.CorpFeeRateAction.EmpnewImpXLS(CorpFeeRateAction.java:1499)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
>
2015/06/30-15:07:30 >> WARN >> ContextHolder should have been null but contained: 'net.sf.acegisecurity.context.security.SecureContextImpl@72aad854:
Authentication: net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken@2cbfe133: Username:
com.neusoft.unieap.service.security.providers.dao.SecurityUser@54972ce0: Username: admin; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: role_dba, psn_admin; Password: [PROTECTED]; Authenticated: true; Details:
10.112.41.110; Granted Authorities: role_dba, psn_admin'; setting to null now