Ashish Mishra created IGNITE-27212:
--------------------------------------
Summary: Apache Ignite 3:Examples - Compute Example Fixes
Key: IGNITE-27212
URL: https://issues.apache.org/jira/browse/IGNITE-27212
Project: Ignite
Issue Type: Bug
Components: examples ai3
Affects Versions: 3.1
Reporter: Ashish Mishra
Assignee: Ashish Mishra
Fix For: 3.1
The MapperExample.java fails to execute as Fields [cityId, company] of type
org.apache.ignite.example.table.Person are not mapped to columns
Tested on : apacheignite/ignite:3.1.0
Repo : [https://github.com/apache/ignite-3/tree/main/examples]
Absolute Path :
examples/java/src/main/java/org/apache/ignite/example/table/MapperExample.java
Error :
WARNING: Failed to send request [id=4, op=10,
remoteAddress=127.0.0.1/<unresolved>:10800]: Fields [cityId, company] of type
org.apache.ignite.example.table.Person are not mapped to columns
org.apache.ignite.lang.MarshallerException: IGN-MARSHALLING-1 Fields [cityId,
company] of type org.apache.ignite.example.table.Person are not mapped to
columns TraceId:62b469dd
at
org.apache.ignite.internal.marshaller.Marshaller.pojoMarshaller(Marshaller.java:163)
at
org.apache.ignite.internal.marshaller.Marshaller.createMarshaller(Marshaller.java:66)
at
org.apache.ignite.internal.marshaller.ReflectionMarshallersProvider.lambda$getRowMarshaller$2(ReflectionMarshallersProvider.java:96)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2704)
at
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2702)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)