Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.7.5.3
-
Fix Version/s: 1.7.6
-
Component/s: Administer Data Types, Cache
-
Labels:None
-
Rank:0|ii1pn3:
Description
From discussion group post:
2019-05-20 09:40:38,261 [ajp-bio-8009-exec-1] ERROR org.nrg.xdat.turbine.modules.screens.SecureScreen -
|
java.lang.NullPointerException: null key in entry: null=13
|
at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:32)
|
at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:71)
|
at com.google.common.collect.RegularImmutableMap.fromEntries(RegularImmutableMap.java:48)
|
at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:359)
|
at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:332)
|
at org.nrg.xnat.services.cache.DefaultGroupsAndPermissionsCache.getTotalCounts(DefaultGroupsAndPermissionsCache.java:398)
|
at org.nrg.xnat.services.cache.DefaultGroupsAndPermissionsCache$$FastClassBySpringCGLIB$$53c673ac.invoke(<generated>)
|
I'm not sure of the root cause of this, but somehow a data type gets dropped from xdat_meta_element. When that happens, the extension value for experiments of that type gets set to null. Any experiments with a null value for extension then get grouped together in the query performed in the DefaultGroupsAndPermissionsCache.resetTotalCounts() method. This isn't something we want to fix in that code but it is something we should detect and then notify users about.