speedment icon indicating copy to clipboard operation
speedment copied to clipboard

software stopping while doing a selection query from table

Open gabrisimonetti opened this issue 4 years ago • 0 comments

I don't understand why sometimes I run my java code and it stops when it does this line of code:

List<Nodes> nList = speedmentApp.getOrThrow(NodesManager.class).stream().collect(Collectors.toList());

When I say that it stops I mean that there is no error, no exception, it seems that it's continuing to work but it doesn't go forward. It happens only sometimes, running the code with the same input data. I don't understand why it happens only sometimes. I have an open source license since 2020, I was wondering if the problem is related to the size of my database or to the number of connections with the database. The problem is that if I re-run the code from the beginning the problem disappears. Can you help me please?

gabrisimonetti avatar Jan 25 '22 21:01 gabrisimonetti