ODE Middleware

getting an error.
for childNode in branch.getChildren():
AssertionError: !is_empty() at line 345 of panda/src/pgraph/nodePath.cxx