Uploaded image for project: 'Metadata Sharing Module'
  1. Metadata Sharing Module
  2. META-105

Cannot see package details

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.10 (GSoC 2011)
    • Fix Version/s: 0.10 (GSoC 2011)
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      I used OpenMRS 1.8.x. I configured the prefix to "http://localhost:8080/openmrs". I exported a package and clicked it on the "Share Metadata" page to see details. I got the following error:

        
      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.metadatasharing.publish.PublishUtils.pathRequiresSuffix(PublishUtils.java:72)
      org.openmrs.module.metadatasharing.web.controller.MetadataSharingController.packageSummary(MetadataSharingController.java:460)
      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.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      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:112)
      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:83)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
      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.headerComplete(HttpConnection.java:829)
      org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      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: null
      
      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

          Issue Links

            Activity

              People

              Assignee:
              bryq Piotr Bryk [X] (Inactive)
              Reporter:
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: