Javascript error when "Accounting" in Sunstone


Since the migration of OpenNebula from 5.4.6 to 5.6.0, we are unable to generate Accounting of a user or a group. For some user, we have the correct answer : “There are no accounting records”. For the other, we have nothing and the browser console give us this error :

jquery.dataTables.js:9213 Uncaught TypeError: Cannot read property 'parentNode' of null
    at _Api.<anonymous> (jquery.dataTables.js:9213)
    at _Api.iterator (jquery.dataTables.js:6978)
    at _Api.<anonymous> (jquery.dataTables.js:9212)
    at _Api.destroy (jquery.dataTables.js:7141)
    at jQuery.fn.init.DataTable.fnDestroy (jquery.dataTables.js:412)
    at _fillAccounting (accounting.js:576)
    at success (accounting.js:211)
    at Object.success (action.js:353)
    at fire (jquery.js:3187)
    at Object.fireWith [as resolveWith] (jquery.js:3317)
(anonymous)	@	jquery.dataTables.js:9213
iterator	@	jquery.dataTables.js:6978
(anonymous)	@	jquery.dataTables.js:9212
(anonymous)	@	jquery.dataTables.js:7141
DataTable.fnDestroy	@	jquery.dataTables.js:412
_fillAccounting	@	accounting.js:576
success	@	accounting.js:211
success	@	action.js:353
fire	@	jquery.js:3187
fireWith	@	jquery.js:3317
done	@	jquery.js:8785
(anonymous)	@	jquery.js:9151
XMLHttpRequest.send (async)		
send	@	jquery.js:9203
ajax	@	jquery.js:8684
accounting	@	action.js:347
accounting	@	vm.js:543
(anonymous)	@	accounting.js:208
dispatch	@	jquery.js:4737
elemData.handle	@	jquery.js:4549

OpenNebula is running on a Debian 9.5 and is on version 5.6.0
It was working before the migration.

Steps to reproduce:

When logged in Sunstone dashboard, go to System then Groups. Select oneadmin.
Click on Accounting and finally Get accounting

Current results:

Nothing append, except the JS error above

Expected results:

The accounting…

Hi @Nicolas_Beguier,

We are aware of this, and it is already solved for the following versions:


Great ! Thank you