Hi Tariq,

I'm using the MVP dictionary (version released on 13-06-2011) with MDR-TB
module 2.1.2.2 on a test installation and there's no concept with ID 6099 in
my dictionary. Assuming the correct metadata package was added when setting
up the module, there appears to be something else wrong here.

Not sure what it is though.

Ali

On Fri, Aug 5, 2011 at 2:18 PM, Muhammad Tariq Khan [via OpenMRS Mailing
List Archives] <[email protected]> wrote:

> Thank you Ben,
>
> I can create this concept but I dont know the proper details of this
> concept.
> Can you please help me and send the details of this concept?
>
> 1 thing to mention, while installing OpenMRS I populated my tables with
> DEMO data.
> One of my colleague told me that this can be the problem but I doubt this
> cant be.
>
> - Tariq
>
> On Fri, Aug 5, 2011 at 11:19 AM, Ben Wolfe <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=6655787&i=0>
> > wrote:
>
>> Didn't this come up recently already?  Looks like you have a program
>> that is linked to a concept 6099 but you don't have a concept with
>> concept_id 6099 in your database.  You need to either fix the
>> ProgramWorkflow row/object or you need to create a concept with that
>> id.
>>
>> Ben
>>
>> On Fri, Aug 5, 2011 at 6:42 AM, Muhammad Tariq Khan
>> <[hidden email] <http://user/SendEmail.jtp?type=node&node=6655787&i=1>>
>> wrote:
>> > Yes Darius, I strictly followed all the instructions defined in wiki.
>> >
>> > - Tariq
>> >
>> > On Thu, Aug 4, 2011 at 9:05 PM, Darius Jazayeri <[hidden 
>> > email]<http://user/SendEmail.jtp?type=node&node=6655787&i=2>
>> >
>>
>> > wrote:
>> >>
>> >> Have you followed the instructions on this page?
>> >> https://wiki.openmrs.org/x/uYC-/
>> >> e.g.
>> >>>
>> >>> If you are using the MVP dictionary, import the MVP-specific package
>> >>> "MDR-TB MODULE 2.0 MVP METADATA.zip"
>> >>
>> >> -Darius
>> >>
>> >> On Thu, Aug 4, 2011 at 3:26 AM, Muhammad Tariq Khan
>> >> <[hidden email] <http://user/SendEmail.jtp?type=node&node=6655787&i=3>>
>> wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> I have openmrs with MVP dictionary.
>> >>>
>> >>> I made a MDR-Intake form using MVP dictionary...
>> >>>
>> >>> Then I tried to create a new patient and I got 6099 error
>> >>>
>> >>> Here is stack trace ..
>> >>>
>> >>> Caused by: javax.servlet.ServletException:
>> >>> javax.servlet.jsp.JspException: org.hibernate.ObjectNotFoundException:
>> No
>> >>> row with the given identifier exists: [org.openmrs.Concept#6099]
>> >>>     at
>> >>>
>> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
>> >>>     at
>> >>>
>> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspService(patientPrograms_jsp.java:703)
>> >>>     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.serviceJspFile(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.java:290)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> >>>     at
>> >>>
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.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.doInclude(ApplicationDispatcher.java:551)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:227)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
>> >>>     at
>> >>>
>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
>> >>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>> >>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> >>>     at
>> >>>
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.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.doInclude(ApplicationDispatcher.java:551)
>> >>>     at
>> >>>
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>> >>>     at
>> >>>
>> org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unknown
>> >>> Source)
>> >>>     at
>> >>>
>> org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown
>> >>> Source)
>> >>>     at org.openmrs.web.taglib.PortletTag.doEndTag(PortletTag.java:115)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.portlets.patientOverview_jsp._jspx_meth_openmrs_005fportlet_005f2(patientOverview_jsp.java:1906)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.portlets.patientOverview_jsp._jspx_meth_openmrs_005fhasPrivilege_005f1(patientOverview_jsp.java:1842)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.portlets.patientOverview_jsp._jspService(patientOverview_jsp.java:210)
>> >>>     ... 101 more
>> >>> Caused by: org.hibernate.ObjectNotFoundException: No row with the
>> given
>> >>> identifier exists: [org.openmrs.Concept#6099]
>> >>>     at
>> >>>
>> org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
>> >>>     at
>> >>>
>> org.hibernate.event.def.DefaultLoadEventListener.returnNarrowedProxy(DefaultLoadEventListener.java:223)
>> >>>     at
>> >>>
>> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:187)
>> >>>     at
>> >>>
>> org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
>> >>>     at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
>> >>>     at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
>> >>>     at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
>> >>>     at
>> >>>
>> org.openmrs.api.db.hibernate.HibernateConceptDAO.getConcept(HibernateConceptDAO.java:338)
>> >>>     at
>> >>>
>> org.openmrs.api.impl.ConceptServiceImpl.getConcept(ConceptServiceImpl.java:233)
>> >>>     at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
>> >>>     at
>> >>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >>>     at java.lang.reflect.Method.invoke(Method.java:597)
>> >>>     at
>> >>>
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>> >>>     at
>> >>>
>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>> >>>     at $Proxy70.getConcept(Unknown Source)
>> >>>     at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
>> >>>     at
>> >>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >>>     at java.lang.reflect.Method.invoke(Method.java:597)
>> >>>     at
>> >>>
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>> >>>     at
>> >>>
>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:107)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>> >>>     at $Proxy71.getConcept(Unknown Source)
>> >>>     at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
>> >>>     at
>> >>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >>>     at java.lang.reflect.Method.invoke(Method.java:597)
>> >>>     at
>> >>>
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at
>> >>>
>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> >>>     at
>> >>>
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>> >>>     at $Proxy71.getConcept(Unknown Source)
>> >>>     at
>> org.openmrs.web.taglib.ConceptTag.doStartTag(ConceptTag.java:59)
>> >>>     at org.apache.jsp.tag.web.concept_tag.doTag(concept_tag.java:106)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspx_meth_openmrs_005ftag_005fconcept_005f3(patientPrograms_jsp.java:2807)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspx_meth_c_005fif_005f5(patientPrograms_jsp.java:2779)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspx_meth_c_005fforEach_005f4(patientPrograms_jsp.java:2738)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspx_meth_openmrs_005fhasPrivilege_005f0(patientPrograms_jsp.java:2618)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspx_meth_c_005fif_005f4(patientPrograms_jsp.java:2556)
>> >>>     at
>> >>>
>> org.apache.jsp.WEB_002dINF.view.module.programlocation.portlets.patientPrograms_jsp._jspService(patientPrograms_jsp.java:692)
>> >>>     ... 138 more
>> >>>
>> >>> How can I resolve it ...
>> >>>
>> >>> - Tariq Khan
>> >>> ________________________________
>> >>> Click here to unsubscribe from OpenMRS Developers' mailing list
>> >>
>> >> ________________________________
>> >> Click here to unsubscribe from OpenMRS Developers' mailing list
>> >
>> > ________________________________
>> > Click here to unsubscribe from OpenMRS Developers' mailing list
>>
>> _________________________________________
>>
>> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
>> [hidden
>> email] <http://user/SendEmail.jtp?type=node&node=6655787&i=4> with
>> "SIGNOFF openmrs-devel-l" in the  body (not the subject) of your e-mail.
>>
>> [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=6655787&i=5>
>> ?body=SIGNOFF%20openmrs-devel-l]
>>
>
> ------------------------------
> [hidden email] <http://user/SendEmail.jtp?type=node&node=6655787&i=6> from
> OpenMRS Developers' mailing list
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://openmrs-mailing-list-archives.1560443.n2.nabble.com/No-row-with-the-given-identifier-exists-org-openmrs-Concept-6099-tp6652193p6655787.html
>  To start a new topic under Developers, email
> [email protected]
> To unsubscribe from Developers, click 
> here<http://openmrs-mailing-list-archives.1560443.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1490149&code=YWxpLmhhYmliQGlyZHJlc2VhcmNoLm9yZ3wxNDkwMTQ5fDIwODAxMTI3MDI=>.
>
>



-- 
Ali Habib
Manager, IT Development
Interactive Research and Development
[email protected]


--
View this message in context: 
http://openmrs-mailing-list-archives.1560443.n2.nabble.com/No-row-with-the-given-identifier-exists-org-openmrs-Concept-6099-tp6652193p6655888.html
Sent from the Developers mailing list archive at Nabble.com.

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to