Open flamyoad opened 3 years ago
Hi @flamyoad,
Thank for you reporting an issue and helping improve Kaltura!
To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):
# rpm -qa \"kaltura*\"
For deb based systems:
# dpkg -l \"kaltura-*\"
# tail -f /opt/kaltura/log/*.log /opt/kaltura/log/batch/*.log | grep -A 1 -B 1 --color \"ERR:\|PHP\|trace\|CRIT\|\[error\]\"
and paste the output.
For general troubleshooting see: https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help
If you only have a general question rather than a bug report, please close this issue and post at: http://forum.kaltura.org
Thank you in advance,
The reason lies in the initialization code in your RoomRendererFragment.kt
In your code, adapter is initialized when onGlobalLayout()
is invoked, and the app will crash because the setupViewModel()
is called() before your initialize your adapter variable.
private fun setupUI() {
rvRenderers.viewTreeObserver.addOnGlobalLayoutListener(object : OnGlobalLayoutListener {
override fun onGlobalLayout() {
. . . .
setupViewModel() // Moved to here
}
})
}
Steps to reproduce: 1 . Join any room
contentFragment
andrenderFragment
to appear on screen.Stacktrace: