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

NullPointerException in DatasetResourceReference.parse()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.5
    • 0.9.5
    • STO - Storage
    • None

    Description

      The following NPE was encountered during a test that creates 10 datasets then ingestion some data then create another 10 datasets and ingestion more data:

      java.lang.NullPointerException: null
      	at org.apache.asterix.common.storage.DatasetResourceReference.parse(DatasetResourceReference.java:55) ~[asterix-common.jar:7.0.0-0000]
      	at org.apache.asterix.common.storage.DatasetResourceReference.of(DatasetResourceReference.java:38) ~[asterix-common.jar:7.0.0-0000]
      	at org.apache.asterix.transaction.management.resource.PersistentLocalResourceRepository.getLocalResourceReference(PersistentLocalResourceRepository.java:352) ~[asterix-transactions.jar:7.0.0-0000]
      	at org.apache.asterix.replication.management.IndexReplicationManager.skip(IndexReplicationManager.java:135) ~[asterix-replication.jar:7.0.0-0000]
      	at org.apache.asterix.replication.management.IndexReplicationManager.process(IndexReplicationManager.java:104) ~[asterix-replication.jar:7.0.0-0000]
      	at org.apache.asterix.replication.management.IndexReplicationManager.access$200(IndexReplicationManager.java:45) ~[asterix-replication.jar:7.0.0-0000]
      	at org.apache.asterix.replication.management.IndexReplicationManager$ReplicationJobsProcessor.run(IndexReplicationManager.java:175) ~[asterix-replication.jar:7.0.0-0000]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
      

      It looks like due to LSM lifecycle changes, some file of a disk component was deleted before we get a chance to check if it needs to be replicated or not.

      Attachments

        Activity

          People

            mhubail Murtadha Makki Al Hubail
            mhubail Murtadha Makki Al Hubail
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: