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

Notifications欄スクロール時にassert.jsでエラーが出る #41

Closed
Neustrashimy opened this issue May 22, 2017 · 2 comments · Fixed by #95
Closed

Notifications欄スクロール時にassert.jsでエラーが出る #41

Neustrashimy opened this issue May 22, 2017 · 2 comments · Fixed by #95
Labels

Comments

@Neustrashimy
Copy link
Contributor

Neustrashimy commented May 22, 2017

alpha-0.1.2-35-ga4e8117
Windows 10 / Google Chrome 58.0.3029.110 (64-bit)

Notifications欄を一旦下へスクロールした後、最上部へスクロールすると発生します。
(発生しない時もあります。。。)

PrintLogger.js:53   InitializeApplicationUseCase(includes "LoadTokensUseCase")
PrintLogger.js:53   ReplaceDialogsUseCase
NotificationCenter.es6:49 addListener
NotificationCenter.es6:49 addListener
NotificationCenter.es6:49 addListener
PrintLogger.js:53   Store is changed
assert.js:195 Uncaught AssertionError {name: "AssertionError", actual: null, expected: true, operator: "==", message: "null == true"…}
fail @ assert.js:195
ok @ assert.js:215
loadMoreStatuses @ NotificationsColumn.es6:68
onTimelineScrolled @ PagingColumn.es6:299
ReactErrorUtils.invokeGuardedCallback @ ReactErrorUtils.js:69
executeDispatch @ EventPluginUtils.js:85
executeDispatchesInOrder @ EventPluginUtils.js:108
executeDispatchesAndRelease @ EventPluginHub.js:43
executeDispatchesAndReleaseTopLevel @ EventPluginHub.js:54
forEachAccumulated @ forEachAccumulated.js:24
processEventQueue @ EventPluginHub.js:257
runEventQueueInBatch @ ReactEventEmitterMixin.js:17
handleTopLevel @ ReactEventEmitterMixin.js:28
handleTopLevelImpl @ ReactEventListener.js:72
perform @ Transaction.js:140
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
batchedUpdates @ ReactUpdates.js:97
dispatchEvent @ ReactEventListener.js:147
@Neustrashimy Neustrashimy changed the title assert.jsでエラーが出る Notifications欄スクロール時にassert.jsでエラーが出る May 23, 2017
@shnjp shnjp added the bug label May 26, 2017
@Neustrashimy
Copy link
Contributor Author

Neustrashimy commented Jun 7, 2017

alpha-0.1.2-202-gdf69e35
Windows 10 / Google Chrome 58.0.3029.110 (64-bit)

わたしの環境での再現方法です。

  1. 通知が一画面に収まる件数のとき
  2. スクロールバーが出る程度までブラウザの高さを狭め
  3. 通知欄を一旦下にスクロールした後、最上部までスクロールする

ほとんど同一ですが、念のためエラーログを添付いたします。

main.bundle.js:77850   InitializeApplicationUseCase(includes "LoadTokensUseCase")
PrintLogger.js:53   ReplaceDialogsUseCase
NotificationCenter.es6:51 addListener
NotificationCenter.es6:51 addListener
NotificationCenter.es6:51 addListener
NotificationCenter.es6:51 addListener
PrintLogger.js:53   Store is changed
PrintLogger.js:53   PushDialogUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   CloseDialogUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   ReplaceDialogsUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   ReplaceDialogsUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   ReplaceDialogsUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   ReplaceDialogsUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   PushDialogUseCase
PrintLogger.js:53   Store is changed
PrintLogger.js:53   CloseDialogUseCase
PrintLogger.js:53   Store is changed
assert.js:195 Uncaught AssertionError {name: "AssertionError", actual: null, expected: true, operator: "==", message: "null == true"…}
fail @ assert.js:195
ok @ assert.js:215
loadMoreStatuses @ PagingColumn.es6:130
onTimelineScrolled @ PagingColumn.es6:306
ReactErrorUtils.invokeGuardedCallback @ ReactErrorUtils.js:69
executeDispatch @ EventPluginUtils.js:85
executeDispatchesInOrder @ EventPluginUtils.js:108
executeDispatchesAndRelease @ EventPluginHub.js:43
executeDispatchesAndReleaseTopLevel @ EventPluginHub.js:54
forEachAccumulated @ forEachAccumulated.js:24
processEventQueue @ EventPluginHub.js:257
runEventQueueInBatch @ ReactEventEmitterMixin.js:17
handleTopLevel @ ReactEventEmitterMixin.js:28
handleTopLevelImpl @ ReactEventListener.js:72
perform @ Transaction.js:140
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
batchedUpdates @ ReactUpdates.js:97
dispatchEvent @ ReactEventListener.js:147
assert.js:195 Uncaught AssertionError {name: "AssertionError", actual: null, expected: true, operator: "==", message: "null == true"…}
fail @ assert.js:195
ok @ assert.js:215
loadMoreStatuses @ PagingColumn.es6:130
onTimelineScrolled @ PagingColumn.es6:306
ReactErrorUtils.invokeGuardedCallback @ ReactErrorUtils.js:69
executeDispatch @ EventPluginUtils.js:85
executeDispatchesInOrder @ EventPluginUtils.js:108
executeDispatchesAndRelease @ EventPluginHub.js:43
executeDispatchesAndReleaseTopLevel @ EventPluginHub.js:54
forEachAccumulated @ forEachAccumulated.js:24
processEventQueue @ EventPluginHub.js:257
runEventQueueInBatch @ ReactEventEmitterMixin.js:17
handleTopLevel @ ReactEventEmitterMixin.js:28
handleTopLevelImpl @ ReactEventListener.js:72
perform @ Transaction.js:140
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
batchedUpdates @ ReactUpdates.js:97
dispatchEvent @ ReactEventListener.js:147
assert.js:195 Uncaught AssertionError {name: "AssertionError", actual: null, expected: true, operator: "==", message: "null == true"…}actual: nullexpected: truegeneratedMessage: truemessage: "null == true"name: "AssertionError"operator: "=="stack: "AssertionError: null == true?    at NotificationColumn.loadMoreStatuses (https://example.com/static/main.bundle.js?_t=f72be33:22651:29)?    at NotificationColumn.onTimelineScrolled (https://example.com/static/main.bundle.js?_t=f72be33:22888:16)?    at Object.ReactErrorUtils.invokeGuardedCallback (https://example.com/static/main.bundle.js?_t=f72be33:52498:16)?    at executeDispatch (https://example.com/static/main.bundle.js?_t=f72be33:52025:21)?    at Object.executeDispatchesInOrder (https://example.com/static/main.bundle.js?_t=f72be33:52048:5)?    at executeDispatchesAndRelease (https://example.com/static/main.bundle.js?_t=f72be33:21234:22)?    at executeDispatchesAndReleaseTopLevel (https://example.com/static/main.bundle.js?_t=f72be33:21245:10)?    at Array.forEach (native)?    at forEachAccumulated (https://example.com/static/main.bundle.js?_t=f72be33:74000:9)?    at Object.processEventQueue (https://example.com/static/main.bundle.js?_t=f72be33:21448:7)?    at runEventQueueInBatch (https://example.com/static/main.bundle.js?_t=f72be33:113647:18)?    at Object.handleTopLevel [as _handleTopLevel] (https://example.com/static/main.bundle.js?_t=f72be33:113658:5)?    at handleTopLevelImpl (https://example.com/static/main.bundle.js?_t=f72be33:113740:24)?    at ReactDefaultBatchingStrategyTransaction.perform (https://example.com/static/main.bundle.js?_t=f72be33:45332:20)?    at Object.batchedUpdates (https://example.com/static/main.bundle.js?_t=f72be33:113503:26)?    at Object.batchedUpdates (https://example.com/static/main.bundle.js?_t=f72be33:14286:27)?    at dispatchEvent (https://example.com/static/main.bundle.js?_t=f72be33:113815:20)"__proto__: Error
fail @ assert.js:195
ok @ assert.js:215
loadMoreStatuses @ PagingColumn.es6:130
onTimelineScrolled @ PagingColumn.es6:306
ReactErrorUtils.invokeGuardedCallback @ ReactErrorUtils.js:69
executeDispatch @ EventPluginUtils.js:85
executeDispatchesInOrder @ EventPluginUtils.js:108
executeDispatchesAndRelease @ EventPluginHub.js:43
executeDispatchesAndReleaseTopLevel @ EventPluginHub.js:54
forEachAccumulated @ forEachAccumulated.js:24
processEventQueue @ EventPluginHub.js:257
runEventQueueInBatch @ ReactEventEmitterMixin.js:17
handleTopLevel @ ReactEventEmitterMixin.js:28
handleTopLevelImpl @ ReactEventListener.js:72
perform @ Transaction.js:140
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
batchedUpdates @ ReactUpdates.js:97
dispatchEvent @ ReactEventListener.js:147

@shnjp
Copy link
Collaborator

shnjp commented Jun 8, 2017

あーなるほど  ありがとうございます!

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

Successfully merging a pull request may close this issue.

2 participants