Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1477

Drop feed throw an Internal Error Exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ING - Ingestion
    • Labels:
      None
    • Environment:
      master
      commit e311a634634da975d0c9e93d5d56d24a99b12a3f
      Date: Tue Jun 7 18:23:16 2016 -0700

      Description

      The query is simple to drop an non-existing feed

      use dataverse twitter;
      drop feed TweetFeed if exists;
      

      Exception:

      SEVERE: null 
      java.lang.NullPointerException
          at org.apache.asterix.app.external.FeedOperations.buildRemoveFeedStorageJob(FeedOperations.java:166)
          at org.apache.asterix.aql.translator.QueryTranslator.handleDropFeedStatement(QueryTranslator.java:2101)
          at org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:356)
          at org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:253)
          at org.apache.asterix.api.http.servlet.APIServlet.doPost(APIServlet.java:148)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:546)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:970)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:411)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:904)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
          at org.eclipse.jetty.server.Server.handle(Server.java:347)
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:439)
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:924)
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:781)
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
          at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:43)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
      
      

        Attachments

          Activity

            People

            • Assignee:
              amoudi Abdullah Alamoudi
              Reporter:
              javierjia Jianfeng Jia
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: