java.lang.IllegalArgumentException: Unaware how to convert value [[I@58e8ec60 : [I] to requested type [java.lang.Integer]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by mincong-h
, 1 year ago
Unaware how to convert value [[I@58e8ec60 : [I] to requested type [java.lang.Integer]
via Stack Overflow by Michał Ziobro
, 2 years ago
Unaware how to convert value [pl.salonea.entities.Provider@85eab3b6 : pl.salonea.entities.Provider] to requested type [java.lang.Long]
via Stack Overflow by Ben Keil
, 2 years ago
Unaware how to convert value [1 : java.lang.Integer] to requested type [java.io.Serializable]
java.lang.IllegalArgumentException: Unaware how to convert value [[I@58e8ec60 : [I] to requested type [java.lang.Integer]
at org.hibernate.jpa.criteria.ValueHandlerFactory.unknownConversion(ValueHandlerFactory.java:263)
at org.hibernate.jpa.criteria.ValueHandlerFactory.access$000(ValueHandlerFactory.java:17)
at org.hibernate.jpa.criteria.ValueHandlerFactory$IntegerValueHandler.convert(ValueHandlerFactory.java:122)
at org.hibernate.jpa.criteria.ValueHandlerFactory$IntegerValueHandler.convert(ValueHandlerFactory.java:109)
at org.hibernate.jpa.criteria.predicate.InPredicate.(InPredicate.java:114)
at org.hibernate.jpa.criteria.predicate.InPredicate.(InPredicate.java:91)
at org.hibernate.jpa.criteria.CriteriaBuilderImpl.in(CriteriaBuilderImpl.java:512)
at org.hibernate.jpa.criteria.expression.ExpressionImpl.in(ExpressionImpl.java:52)
at io.github.mincongh.batch.BatchItemProcessor.processItem(BatchItemProcessor.java:86)
at org.jberet.runtime.runner.ChunkRunner.processItem(ChunkRunner.java:403)
at org.jberet.runtime.runner.ChunkRunner.readProcessWriteItems(ChunkRunner.java:309)
at org.jberet.runtime.runner.ChunkRunner.run(ChunkRunner.java:201)
at org.wildfly.extension.batch.jberet.impl.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:243)
at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)
at org.jberet.spi.JobExecutor$3.run(JobExecutor.java:161)
at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)

Users with the same issue

Once, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.