Uploaded image for project: 'Reporting Module'
  1. Reporting Module
  2. REPORT-356

Failed to create an AgeDataDefinition

    Details

    • Complexity:
      Low

      Description

      I tried to create an Age Data Definition with name="Age on Date", effectiveDate = Parameter with label = "Effective Date" I got this error:

      (I get the same error if I choose a fixed date.)

       
      An Internal Error has Occurred
      java.lang.NullPointerException 
      
      Consult the help document. 
      Contact your friendly neighborhood administrator if it cannot be resolved. 
      
      Hide stack trace 
      org.openmrs.module.reporting.web.controller.EditAnnotatedDefinitionController.saveAnnotatedDefinition(EditAnnotatedDefinitionController.java:70)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.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.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:111)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      org.mortbay.jetty.Server.handle(Server.java:324)
      org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      
      
      OpenMRS Version: 1.9.0 SNAPSHOT Build 26773
      
      The following data will be submitted with the report to enable the team to resolve the problem.
      The error message and stack trace
      OpenMRS version
      Application server name and version
      Username of the user currently logged in
      The implementation id of this installation (if defined)
      Names and versions of all installed modules
      
      

        Attachments

          Activity

            People

            • Assignee:
              mseaton Mike Seaton
              Reporter:
              darius Darius Jazayeri [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: