Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found unconstructed IntlDateFormatter (LocalDateFormat.php:31) #556

Open
slalomsk8er opened this issue Nov 5, 2024 · 5 comments
Open

Found unconstructed IntlDateFormatter (LocalDateFormat.php:31) #556

slalomsk8er opened this issue Nov 5, 2024 · 5 comments

Comments

@slalomsk8er
Copy link
Contributor

Expected Behavior

Events and alarms get displayed normally.

Current Behavior

image

Found unconstructed IntlDateFormatter (LocalDateFormat.php:31)
#0 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/format/src/LocalDateFormat.php(31): IntlDateFormatter->setTimeZone()
#1 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/format/src/LocalDateFormat.php(20): gipfl\Format\LocalDateFormat->formatter()
#2 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/icingaweb2/src/Table/QueryBasedTable.php(208): gipfl\Format\LocalDateFormat->getFullDay()
#3 /usr/share/icingaweb2/modules/vspheredb/library/Vspheredb/Web/Table/EventHistoryTable.php(76): gipfl\IcingaWeb2\Table\QueryBasedTable->renderDayIfNew()
#4 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/icingaweb2/src/Table/QueryBasedTable.php(180): Icinga\Module\Vspheredb\Web\Table\EventHistoryTable->renderRow()
#5 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/icingaweb2/src/Table/QueryBasedTable.php(115): gipfl\IcingaWeb2\Table\QueryBasedTable->fetchRows()
#6 /usr/share/icinga-php/ipl/vendor/ipl/html/src/BaseHtmlElement.php(365): gipfl\IcingaWeb2\Table\QueryBasedTable->renderContent()
#7 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(568): ipl\Html\BaseHtmlElement->renderUnwrapped()
#8 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(390): ipl\Html\HtmlDocument->render()
#9 /usr/share/icinga-php/ipl/vendor/ipl/html/src/BaseHtmlElement.php(297): ipl\Html\HtmlDocument->renderUnwrapped()
#10 /usr/share/icinga-php/ipl/vendor/ipl/html/src/BaseHtmlElement.php(365): ipl\Html\BaseHtmlElement->renderContent()
#11 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(568): ipl\Html\BaseHtmlElement->renderUnwrapped()
#12 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(420): ipl\Html\HtmlDocument->render()
#13 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/icingaweb2/src/Zf1/SimpleViewRenderer.php(65): ipl\Html\HtmlDocument->__toString()
#14 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/icingaweb2/src/Zf1/SimpleViewRenderer.php(104): gipfl\IcingaWeb2\Zf1\SimpleViewRenderer->render()
#15 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/HelperBroker.php(277): gipfl\IcingaWeb2\Zf1\SimpleViewRenderer->postDispatch()
#16 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#17 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#18 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch()
#19 /usr/share/php/Icinga/Application/Web.php(294): Zend_Controller_Front->dispatch()
#20 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#21 /usr/share/icingaweb2/public/index.php(4): require_once('...')
#22 {main}

Your Environment

  • VMware vCenter®/ESXi™-Version: vCenter Server 6.7.0 build-18010599
  • Version/GIT-Hash of this module: vspheredb 1.7.1
  • Icinga Web 2 version: 2.12.1
  • Operating System and version:
  • Webserver, PHP versions: 8.1.30
@slalomsk8er
Copy link
Contributor Author

This looks like "Broken event overview due to IntlDateFormatter #5172" from the current change log of the icingaweb 2.12.2 release!

@slalomsk8er
Copy link
Contributor Author

Now I stumbled on a case, where it happend on the VMs main page.
image

@Isra7MB
Copy link

Isra7MB commented Dec 13, 2024

Same problem here.
Last versions in all dependecies, only error in "History" botton on all sections.

@lippserd
Copy link
Member

Please find a fix here. It might be possible to workaround this problem by installing missing system locales.

@slalomsk8er
Copy link
Contributor Author

Thanks, I can confirm, the fix works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants