You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When instantiating an entity with no parameters like;
DataFactoryEntity emptyEntity = new DataFactoryEntityBuilder().build();
It should be handled at compile-time to prevent NPEs.
java.lang.NullPointerException: environment
at java.util.Objects.requireNonNull(Objects.java:228)
at com.divroll.datafactory.builders.DataFactoryEntityBuilder$ImmutableDataFactoryEntity$InitShim.environment(DataFactoryEntityBuilder.java:728)
at com.divroll.datafactory.builders.DataFactoryEntityBuilder$ImmutableDataFactoryEntity.<init>(DataFactoryEntityBuilder.java:701)
at com.divroll.datafactory.builders.DataFactoryEntityBuilder$ImmutableDataFactoryEntity.<init>(DataFactoryEntityBuilder.java:656)
at com.divroll.datafactory.builders.DataFactoryEntityBuilder.build(DataFactoryEntityBuilder.java:612)
The text was updated successfully, but these errors were encountered:
When instantiating an entity with no parameters like;
It should be handled at compile-time to prevent NPEs.
The text was updated successfully, but these errors were encountered: