Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12541

Accessing view in Ambari throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.0
    • None
    • ambari-server
    • None
    • AWS EC2 Centos 7 instance

    Description

      I created a PIG view in Ambari and went to load it, which resulted in the following NPE. It doesn't appear to be related to the other known NPE issue fixed by removing the instance element in the view.xml. Following the stack trace it looks like javax isn't null value error handling, which prevented me from using the view. I was able to get around it by deleting and recreating the view.

      /var/lib/ambari-server/resources/stacks/HDP/2.3.GlusterFS/role_command_order.json
      /NullPointerException
             at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
             at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
             at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
             at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
             at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
             at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
             at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
             at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
             at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
             at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
             at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:209)
             at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:198)
             at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java:132)
             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
             at org.eclipse.jetty.server.Server.handle(Server.java:370)
             at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
             at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
             at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
             at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
             at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
             at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
             at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
             at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
             at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
             at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            veteranbv Henry Sowell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: