[
https://issues.apache.org/jira/browse/IGNITE-27171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Mishra updated IGNITE-27171:
-----------------------------------
Description:
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)
was:
The MultiTableDataStreamerExample.java fails to execute as Customers table is
missing or contains no values
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/streaming/MultiTableDataStreamerExample.java
Error : Exception in thread "main" java.lang.NullPointerException: Cannot
invoke "org.apache.ignite.table.Table.recordView()" because the return value of
"org.apache.ignite.table.IgniteTables.table(String)" is null
at
org.apache.ignite.example.streaming.MultiTableDataStreamerExample.main(MultiTableDataStreamerExample.java:68)
> Apache Ignite 3:Examples - MapperExample fails to execute
> ---------------------------------------------------------
>
> Key: IGNITE-27171
> URL: https://issues.apache.org/jira/browse/IGNITE-27171
> Project: Ignite
> Issue Type: Bug
> Components: examples ai3
> Affects Versions: 3.1
> Reporter: Ashish Mishra
> Assignee: Ashish Mishra
> Priority: Major
>
> 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)