I find it difficult to follow your method. Most likely because it does many things. I'd suggest start by decomposing it into smaller pieces (meaning several other methods), and might you'll notice some programming errors of yours yourself. When something doesn't work, always try to decompose/refactor, make it smaller, easier to understand - so you could be sure you didn't introduce a bug. More better of course would be to write right away small methods which clearly expresses intent - that usually saves time in a longer term.
You got some method named:
getFromText() - I'm wondering what that might be. Get from text what? Character, first one or last one? Maybe amount of characters text contains? Maybe vowels? Maybe user ID? Home address?
So let's look at the error message and see what we can discern: You're trying to add an element to a List of Object. So each element needs to be an Object. We don't have the code for getFromText() but from the error we can tell that it returns a List. So you're trying to add an element to dataList that is a List, but you've defined dataList as a List of Object.
So you need to decide if you want dataList to be a List of Lists or if getFromText() should return an Object instead of a List.
All things are lawful, but not all things are profitable.