IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string

Version

7.0.x.

 

Issue

When going to the Events page in the Bit9 Console, the following error (or similar) is presented:

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (15/4/2014 9:47:01) at position 0 (1): Unexpected character' in C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Util.php:1923 Stack trace: #0 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Util.php(1923): DateTime->__construct('15/4/2014 9:47:...', Object(DateTimeZone)) #1 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\TableInfo\EventsTableInfo.php(111): convertLocalToUTCTime('15/4/2014 9:47:...') #2 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\TableSettings.php(960): EventsTableInfo->getFilterString('ReceivedTimesta...', '15/4/2014 9:47:...', '-U') #3 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\TableSettings.php(1379): TableSettings->getWhereClauses() #4 C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\events.php(301): applyFilters(Object(TableSettings), Object(DataObjects_EventsGUI)) #5 {main} thrown in C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Util.php on line 1923

 

Symptoms

This can happen after adding a date filter on the Events page. The error is persistent and will not go away after:

  • Reopening the browser
  • Bouncing the Parity Server and Parity Reporter services
  • Clearing the browser cache

Solution

  1. From the Bit9 console, go to Tools --> Preferences
  2. On the right hand side of the screen click on 'Reset Current Settings' to reset your default view settings.
Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎01-06-2015
Views:
1786
Contributors