You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An invalid filter username filter state may cause a NullPointerException at runtime
Description
It is unclear how this state occurs, but the username filter rule becomes null and then at runtime a NullPointerException may occur when processing the filter rules.
Stack trace
Dec 14, 2020 12:32:41.334 PM ERROR c.i.cleanspeak.api.primeframework.mvc.error.ExceptionExceptionHandler - An unhandled exception was thrown
java.lang.NullPointerException: null
at com.inversoft.cleanspeak.api.service.moderation.DefaultModerationRulesService.runIterator(DefaultModerationRulesService.java:155)
at com.inversoft.cleanspeak.api.service.moderation.DefaultModerationRulesService.computeAction(DefaultModerationRulesService.java:140)
at com.inversoft.cleanspeak.api.service.moderation.DefaultModerationRulesService.executeRules(DefaultModerationRulesService.java:111)
at com.inversoft.cleanspeak.api.service.moderation.DefaultContentProcessingService.filterAndRunRules(DefaultContentProcessingService.java:414)
at com.inversoft.cleanspeak.api.service.moderation.DefaultContentProcessingService.create(DefaultContentProcessingService.java:142)
Recreate steps
TBD, this has yet to be recreated but we have encountered a few customers that observed this exception.
Work around
Open the CleanSpeak admin UI
Navigate to Settings > Applications
Click on the Username tab
If the filter is enabled, ensure you have selected a username scheme.
If the filter is not enabled, click enabled and un-select a scheme if one is selected, and then disable the filter again.
Save the application changes. If you know which application this exception occurred for - you only need to edit that one, if you are unsure, please follow these steps for each application. This sequence of steps should resolve the error.
This sequence of steps seems to temporarily resolve the issue. It is still possible for the system to get into the error state again which will produce the stack trace.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
An invalid filter username filter state may cause a NullPointerException at runtime
Description
It is unclear how this state occurs, but the username filter rule becomes
null
and then at runtime aNullPointerException
may occur when processing the filter rules.Stack trace
Recreate steps
TBD, this has yet to be recreated but we have encountered a few customers that observed this exception.
Work around
This sequence of steps seems to temporarily resolve the issue. It is still possible for the system to get into the error state again which will produce the stack trace.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: