octopus-platform/bjoern

Cannot reproduce examples

Closed this issue · 2 comments

Try to reproduce example queries but it doesn't work :( :

bjoern ‹master›$ bjosh co -q 6002        
Connecting to database 'ls' on port 6002.
 _     _           _
| |__ (_) ___  ___| |__
| '_ \| |/ _ \/ __| '_ \
| |_) | | (_) \__ \ | | |
|_.__// |\___/|___/_| |_|
    |__/     bjoern shell

bjosh> getCallsTo('').map
[ODatabaseException] Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
bjosh> queryNodeIndex('nodeType:Func').repr
[ODatabaseException] Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);

Thanks for reporting this issue.

After reboot and new commit works. Thank you too