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
I tried to use sfm-jooq and sfm-converter-protobuf (v8.2.3) along with gRPC server generated by io.grpc:protoc-gen-grpc-java:1.39.0 and com.google.protobuf:protoc:3.17.2 (JVM 11). I got this exception.
java.lang.NullPointerException: null
at com.google.protobuf.StringValue$Builder.setValue(StringValue.java:502)
at com.google.protobuf.StringValue.of(StringValue.java:570)
at org.simpleflatmapper.reflect.generated.com.google.protobuf.AsmInstantiatorStringValueFromStringIntovalue_I2.newInstance(Unknown Source)
at org.simpleflatmapper.reflect.generated.com.google.protobuf.AsmInstantiatorStringValueFromStringIntovalue_I2.newInstance(Unknown Source)
at org.simpleflatmapper.map.getter.InstantiatorContextualGetter.get(InstantiatorContextualGetter.java:18)
at org.simpleflatmapper.map.getter.ContextualGetterBiFunction.apply(ContextualGetterBiFunction.java:65)
at org.simpleflatmapper.reflect.generated.com.jl.grpc.AsmBiInstantiatorBuilderFromResultSetAndMappingContextIntocityAndiataAndicaoAndidAndnameAndCountryCodeIdAndPlaceId_Ic.newInstance(Unknown Source)
at org.simpleflatmapper.reflect.generated.com.jl.grpc.AsmBiInstantiatorBuilderFromResultSetAndMappingContextIntocityAndiataAndicaoAndidAndnameAndCountryCodeIdAndPlaceId_Ic.newInstance(Unknown Source)
at org.simpleflatmapper.map.mapper.AbstractMapper.map(AbstractMapper.java:22)
at org.simpleflatmapper.map.mapper.ContextualSourceFieldMapperImpl.map(ContextualSourceFieldMapperImpl.java:38)
at org.simpleflatmapper.map.mapper.JoinMapperEnumerable.next(JoinMapperEnumerable.java:40)
at org.simpleflatmapper.map.mapper.AbstractEnumerableMapper.forEach(AbstractEnumerableMapper.java:33)
at org.simpleflatmapper.jooq.SelectQueryMapper.asList(SelectQueryMapper.java:52)
... 6 common frames omitted
Issued from
publicBuildersetValue(
java.lang.Stringvalue) {
if (value == null) {
thrownewNullPointerException();
On a high level, all looks fine. But is there a way to eliminate these null values from setup or is this a bug in the tool?
Hello,
I tried to use
sfm-jooq
andsfm-converter-protobuf
(v8.2.3) along with gRPC server generated byio.grpc:protoc-gen-grpc-java:1.39.0
andcom.google.protobuf:protoc:3.17.2
(JVM 11). I got this exception.Issued from
On a high level, all looks fine. But is there a way to eliminate these
null
values from setup or is this a bug in the tool?My code sample
The text was updated successfully, but these errors were encountered: