Skip to content

mapUser fails with less than six values

Example test failure from star-impl (minus all the Spring stack-cruft):

ERROR!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employees': Invocation of init method failed; nested exception is java.lang.ArrayIndexOutOfBoundsException: 5
...
        at edu.wisc.doit.financials.star.web.ConfigurationTest.init_configurationClasses_local_dev(ConfigurationTest.java:82)
...
Caused by: java.lang.ArrayIndexOutOfBoundsException: 5
        at edu.wisc.uwss.local.LocalUserDetailsAttributesMapper$Default.mapUser(LocalUserDetailsAttributesMapper.java:71)
        at edu.wisc.uwss.local.LocalUserDetailsManagerImpl.init(LocalUserDetailsManagerImpl.java:60)
...
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information