SonarQube 7.2 Javascript errors using Creation Date filter

sonarqube

(Eric Pastoor) #1

I have upgraded our development environment to use SonarQube 7.2.

When we use the Create Date filter, javascript errors are thrown which causes the page to become unresponsive. The only resolution is to reload the page without the create date filters.

Here is what was found in the debugger console:

[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	u (vendors~main.78fa9909.chunk.js:48:54579)
	e (vendors~main.78fa9909.chunk.js:48:51767)
	_ (vendors~main.78fa9909.chunk.js:48:56796)
	E (vendors~main.78fa9909.chunk.js:48:56497)
	batchedUpdates (vendors~main.78fa9909.chunk.js:48:66038)
	se (vendors~main.78fa9909.chunk.js:48:16829)
	Ze (vendors~main.78fa9909.chunk.js:48:23156)
	Ze
[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	d (vendors~main.78fa9909.chunk.js:48:720)
	v (vendors~main.78fa9909.chunk.js:48:55362)
	y (vendors~main.78fa9909.chunk.js:48:55702)
	forEach
	e (vendors~main.78fa9909.chunk.js:48:51851)
	_ (vendors~main.78fa9909.chunk.js:48:56796)
	E (vendors~main.78fa9909.chunk.js:48:56497)
	batchedUpdates (vendors~main.78fa9909.chunk.js:48:66038)
	se (vendors~main.78fa9909.chunk.js:48:16829)
	Ze (vendors~main.78fa9909.chunk.js:48:23156)
	Ze
[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	d (vendors~main.78fa9909.chunk.js:48:720)
	v (vendors~main.78fa9909.chunk.js:48:55362)
	enqueueSetState (vendors~main.78fa9909.chunk.js:48:45471)
	setState (vendors~main.78fa9909.chunk.js:56:1380)
	closeCalendar (6.f00d9267.chunk.js:1:7270)
	handleWindowClick (main.fe739d69.js:1:26202)
[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	(anonymous function) (vendors~main.78fa9909.chunk.js:48:5905)
	ut (vendors~main.78fa9909.chunk.js:48:8700)
	$e (vendors~main.78fa9909.chunk.js:48:32044)
	Ke (vendors~main.78fa9909.chunk.js:48:22687)
	batchedUpdates (vendors~main.78fa9909.chunk.js:48:66013)
	se (vendors~main.78fa9909.chunk.js:48:16829)
	Ze (vendors~main.78fa9909.chunk.js:48:23156)
	Ze
	focus
	focus (6.f00d9267.chunk.js:1:7011)
	(anonymous function) (6.f00d9267.chunk.js:1:619)
[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	d (vendors~main.78fa9909.chunk.js:48:720)
	v (vendors~main.78fa9909.chunk.js:48:55362)
	enqueueSetState (vendors~main.78fa9909.chunk.js:48:45471)
	setState (vendors~main.78fa9909.chunk.js:56:1380)
	openCalendar (6.f00d9267.chunk.js:1:7142)
	focus (6.f00d9267.chunk.js:1:7028)
	(anonymous function) (6.f00d9267.chunk.js:1:619)
[Error] Unhandled Promise Rejection: Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	d (vendors~main.78fa9909.chunk.js:48:720)
	v (vendors~main.78fa9909.chunk.js:48:55362)
	enqueueSetState (vendors~main.78fa9909.chunk.js:48:45471)
	setState (vendors~main.78fa9909.chunk.js:56:1380)
	(anonymous function) (284.0322442d.chunk.js:1:96364)
	promiseReactionJob
[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	d (vendors~main.78fa9909.chunk.js:48:720)
	v (vendors~main.78fa9909.chunk.js:48:55362)
	enqueueSetState (vendors~main.78fa9909.chunk.js:48:45471)
	setState (vendors~main.78fa9909.chunk.js:56:1380)
[Error] Unhandled Promise Rejection: Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	d (vendors~main.78fa9909.chunk.js:48:720)
	v (vendors~main.78fa9909.chunk.js:48:55362)
	enqueueSetState (vendors~main.78fa9909.chunk.js:48:45471)
	setState (vendors~main.78fa9909.chunk.js:56:1380)
	(anonymous function) (284.0322442d.chunk.js:1:96364)
	promiseReactionJob
[Error] Invariant Violation: Minified React error #185; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
	(anonymous function) (vendors~main.78fa9909.chunk.js:48:5905)
	ut (vendors~main.78fa9909.chunk.js:48:8700)
	$e (vendors~main.78fa9909.chunk.js:48:32044)
	Ke (vendors~main.78fa9909.chunk.js:48:22687)
	batchedUpdates (vendors~main.78fa9909.chunk.js:48:66013)
	se (vendors~main.78fa9909.chunk.js:48:16829)
	Ze (vendors~main.78fa9909.chunk.js:48:23156)
	Ze

(Grégoire Aubert) #2

Hello,
Thanks for the report, there is indeed a nasty bug with the Create Date filter.
I created the following ticket on our bug tracker: SONAR-10919
We will fix it for SonarQube 7.3. In the mean time I’ll investigate more and come back to you if I can find a workaround.


(Eric Pastoor) #3

Wonderful. Thanks for creating the ticket!