An Internal Error has Occurred

rangaleclickSoftware and s/w Development

Nov 4, 2013 (3 years and 8 months ago)

468 views

Name:
xxxxx xxxx xxxx


Identifier:
xxxxxx

Gender:
M



Location:
Chulaimbo Module 2


Encounter Date:
2013
-
06
-
14


Form Name:
AMPATH Adult Return Visit Form 6.05 v6.05



Error Id: 12739

Date Error Created: 2013
-
07
-
03 10:00:10.0

Error: org.openmrs.module.rem
oteformentry.RemoteFormEntryException: This patient has two identical identifiers of
type AMRS Medical Record Number:
xxxxxx

On resolving the above error, the following error message was thrown.



An Internal Error has Occurred

java.lang.NumberFormatExcept
ion


For input string: ""



Consult the
help document
.

Contact your friendly neighborhood administrator if it cannot be resolved.


Hide stack trace


java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

java.lang.Integer.parseInt(Integer.java:470)

java.lang.Integer.valueOf(Integer.java:554)

org.openmrs.module.remoteformentry.web.contr
oller.ResolveErrorsFormController.onSubmit(Res
olveErrorsFormController.java:101)

org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormContr
oller.java:272)

org.springframework.web.servlet.mvc.AbstractFormController.handle
RequestInternal(AbstractFormContr
oller.java:268)

org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandler
Adapter.java
:48)

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkS
ervlet.java:644)

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)

javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.catalina.core.Applicati
onFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.j
ava:65)

or
g.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterC
hain.java:76)

org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:60)

org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)

org.openmrs.module.amrsmobileforms.web.LocationFilter.doFilter(LocationFilter.java:2
7)

org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)

org.openmrs.module.amrsmobileforms.web.LocationFilter.doFilter(LocationFilter.java:27)

org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74
)

org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.ja
va:206)

org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
terChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInVi
ewFilter.java:198)

org.springframework.web.filte
r.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.op
enmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.o
penmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.
openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org
.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88
)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilte
r(ApplicationFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

org.apache.catalina.core.StandardContextValve.i
nvoke(StandardContextValve.java:191)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve
.java:555)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

org.apache.c
oyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

java.lang.Thread.run(Thread.java:662)

org.openmrs.api.APIAuthenticationException: Privileges requir
ed: [Manage Implementation Id] at
org.openmrs.aop.AuthorizationAdvice.throwUnauthorized(AuthorizationAdvice.java:115) at
org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:94) at
org.springframework.aop.framework.adapter.MethodBeforeAdvice
Interceptor.invoke(MethodBeforeAdvi
ceInterceptor.java:49) at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.j
ava:172) at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:20
2) at
$Proxy105.getImplementationId(Unknown Source) at
sun.reflect.GeneratedMethodAccessor1699.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:59
7) at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvo
cation.java:183) at
org.springframework.aop.framework.Refle
ctiveMethodInvocation.proceed(ReflectiveMethodInvocation.j
ava:150) at
org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAd
viceInterceptor.java:50) at
org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.j
ava:172) at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:11
0) at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.j
a
va:172) at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at
$Proxy105.getImplementationId(Unknown Source) at
org.apache.jsp.WEB_002dINF.view.uncaughtException_jsp._jspService(uncaughtException_jsp.java:343
) at org
.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at
org.apache.jasper.servlet.JspServlet.servi
ceJspFile(JspServlet.java:313) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112) at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRe
questFilter.java:76) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
org.springframework.orm.hibernate3.sup
port.OpenSessionInViewFilter.doFilterInternal(OpenSessionInVi
ewFilter.java:198) at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
terChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at
org.apache.catalina.core.ApplicationDispatcher.proce
ssRequest(ApplicationDispatcher.java:438) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at
org.apache.catalina.core.Stan
dardHostValve.custom(StandardHostValve.java:415) at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:270) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at
org.apache.catalina.valves.ErrorReportV
alve.invoke(ErrorReportValve.java:102) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at
org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:298) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(J
IoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:662)