Skip to content

Instantly share code, notes, and snippets.

@manishcm
Created September 30, 2014 07:38
Show Gist options
  • Save manishcm/fcd4a72b15396206f170 to your computer and use it in GitHub Desktop.
Save manishcm/fcd4a72b15396206f170 to your computer and use it in GitHub Desktop.
09-30 13:06:01.168 6656 6681 W System.err: in.mobilitas.mhealth.core.MHException: {"message":"Unable to convert object into response content","detail":"org.openmrs.api.APIException: Trying to write complex obs to the file system. \n\tat org.openmrs.obs.handler.TextHandler.saveObs(TextHandler.java:124)\n\tat org.openmrs.api.impl.ObsServiceImpl.saveObs(ObsServiceImpl.java:113)\n\tat sun.reflect.GeneratedMethodAccessor590.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:622)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)\n\tat com.sun.proxy.$Proxy93.saveObs(Unknown Source)\n\tat sun.reflect.GeneratedMethodAccessor590.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:622)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)\n\tat com.sun.proxy.$Proxy94.saveObs(Unknown Source)\n\tat sun.reflect.GeneratedMethodAccessor590.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:622)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)\n\tat com.sun.proxy.$Proxy94.saveObs(Unknown Source)\n\tat org.openmrs.module.webservices.rest.web.v1_0.resource.ObsResource.save(ObsResource.java:198)\n\tat org.openmrs.module.webservices.rest.web.v1_0.resource.ObsResource.save(ObsResource.java:73)\n\tat org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.create(DelegatingCrudResource.java:91)\n\tat o
09-30 13:06:01.169 6656 6681 W System.err: at in.mobilitas.mhealth.core.local.Observation.pushObsGroupToServer(Observation.java:1373)
09-30 13:06:01.171 6656 6681 W System.err: at in.mobilitas.mhealth.core.local.Observation.sync(Observation.java:1490)
09-30 13:06:01.172 6656 6681 W System.err: at in.mobilitas.mhealth.core.SyncEngine.sync(SyncEngine.java:363)
09-30 13:06:01.174 6656 6681 W System.err: at in.mobilitas.mhealth.core.PushData.doInBackground(PushData.java:45)
09-30 13:06:01.175 6656 6681 W System.err: at in.mobilitas.mhealth.core.PushData.doInBackground(PushData.java:28)
09-30 13:06:01.176 6656 6681 W System.err: at android.os.AsyncTask$2.call(AsyncTask.java:287)
09-30 13:06:01.178 6656 6681 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:234)
09-30 13:06:01.179 6656 6681 W System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
09-30 13:06:01.180 6656 6681 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
09-30 13:06:01.181 6656 6681 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
09-30 13:06:01.183 6656 6681 W System.err: at java.lang.Thread.run(Thread.java:841)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment