dimanche 27 novembre 2016

IntelliJ throwing exception when creating Class Level Watch with stream().filter()

When creating a class level watch for the debugger like this

entities.stream().filter(entity -> "VALUE".equals(entity.getValue()))

Where entities is a List I get "Error creating evaluation class loader: java.lang.NullPointerException.

This does not happen if i create a "normal" watch like:

container.getEntities().stream().filter(entity -> "VALUE".equals(entity.getValue()))

Entities is not null neither are any of the entities in the list. The code is debugged during testing.

I cannot find any more information in Intellij.

Ideas where I can check on that?

Aucun commentaire:

Enregistrer un commentaire