Dictionary should support parallel stream

Description

Parallel stream on aspect/type list not working

Example:-

this.dictionaryService.getAllTypes().parallelstream().map((qName) -> dictionaryService.getType(qName))
.collect(Collectors.toList());

The above code throws the following exceptions randomly
```
org.mybatis.spring.MyBatisSystemException: nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class java.util.ArrayList with invalid types () or values
```

Expected Behaviour:-
cleaner and more useful dictionary api

Assignee

Unassigned

Reporter

Dharan Ganesan

Labels

None

Release Train

None

Delivery Team

None

Components

Priority

Unprioritized