Project

General

Profile

Actions

Bug #3724

closed

Face: bad_function_call when InterestCallback/DataCallback/NackCallback is empty

Added by Junxiao Shi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Base
Target version:
Start date:
08/07/2016
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Steps to reproduce (1):

  1. invoke Face::setInterestFilter with InterestCallback set to nullptr
  2. invoke Face::processEvents
  3. cause the face to receive an Interest that matches the filter

Steps to reproduce (2):

  1. invoke Face::expressInterest with DataCallback set to nullptr
  2. invoke Face::processEvents
  3. answer the Interest with a Data

Steps to reproduce (2):

  1. invoke Face::expressInterest with NackCallback set to nullptr
  2. invoke Face::processEvents
  3. answer the Interest with a Nack

Actual: throw std::bad_function_call

Expected: no such error


Related issues 2 (0 open2 closed)

Blocks NFD - Bug #3702: TopologyTester: does not process NackClosedJunxiao Shi08/04/2016

Actions
Blocks NFD - Bug #3703: AccessStrategy test suite: does not process NackClosedJunxiao Shi08/04/2016

Actions
Actions

Also available in: Atom PDF