You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Murtadha Hubail (JIRA)" <ji...@apache.org> on 2017/10/18 16:33:00 UTC

[jira] [Created] (ASTERIXDB-2135) NPE in LSMBTreePointSearchCursor on Failure

Murtadha Hubail created ASTERIXDB-2135:
------------------------------------------

             Summary: NPE in LSMBTreePointSearchCursor on Failure
                 Key: ASTERIXDB-2135
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2135
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: IDX - Indexes
            Reporter: Murtadha Hubail
            Assignee: Murtadha Hubail


If a failure happens before LSMBTreePointSearchCursor.hasNext is called to initialize the search cursor, LSMBTreePointSearchCursor.close is called as part of the pipeline failure and leads to NPE.

Stacktrace:

{code:java}
Caused by: java.lang.NullPointerException at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreePointSearchCursor.close(LSMBTreePointSearchCursor.java:218)
	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeSearchCursor.close(LSMBTreeSearchCursor.java:77)
	at org.apache.asterix.runtime.operators.LSMPrimaryUpsertOperatorNodePushable.close(LSMPrimaryUpsertOperatorNodePushable.java:360)
	at org.apache.asterix.external.feed.dataflow.SyncFeedRuntimeInputHandler.close(SyncFeedRuntimeInputHandler.java:64)
	at org.apache.asterix.external.operators.FeedMetaStoreNodePushable.close(FeedMetaStoreNodePushable.java:155)
	at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:409)
	at org.apache.hyracks.control.nc.Task.run(Task.java:323)

{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)