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

GitHub | mincong-h | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    GitHub | 10 months ago | mincong-h
    java.lang.IllegalArgumentException: Unaware how to convert value [[I@58e8ec60 : [I] to requested type [java.lang.Integer]
  2. 0

    JPA Criteria API and making query with WHERE predicate containing .in()

    Stack Overflow | 2 years ago | MichaƂ Ziobro
    java.lang.IllegalArgumentException: Unaware how to convert value [pl.salonea.entities.Provider@85eab3b6 : pl.salonea.entities.Provider] to requested type [java.lang.Long]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

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

      at org.hibernate.jpa.criteria.ValueHandlerFactory.unknownConversion()
    2. org.hibernate.jpa
      ExpressionImpl.in
      1. org.hibernate.jpa.criteria.ValueHandlerFactory.unknownConversion(ValueHandlerFactory.java:263)
      2. org.hibernate.jpa.criteria.ValueHandlerFactory.access$000(ValueHandlerFactory.java:17)
      3. org.hibernate.jpa.criteria.ValueHandlerFactory$IntegerValueHandler.convert(ValueHandlerFactory.java:122)
      4. org.hibernate.jpa.criteria.ValueHandlerFactory$IntegerValueHandler.convert(ValueHandlerFactory.java:109)
      5. org.hibernate.jpa.criteria.predicate.InPredicate.<init>(InPredicate.java:114)
      6. org.hibernate.jpa.criteria.predicate.InPredicate.<init>(InPredicate.java:91)
      7. org.hibernate.jpa.criteria.CriteriaBuilderImpl.in(CriteriaBuilderImpl.java:512)
      8. org.hibernate.jpa.criteria.expression.ExpressionImpl.in(ExpressionImpl.java:52)
      8 frames
    3. io.github.mincongh
      BatchItemProcessor.processItem
      1. io.github.mincongh.batch.BatchItemProcessor.processItem(BatchItemProcessor.java:86)
      1 frame
    4. org.jberet.runtime
      ChunkRunner.run
      1. org.jberet.runtime.runner.ChunkRunner.processItem(ChunkRunner.java:403)
      2. org.jberet.runtime.runner.ChunkRunner.readProcessWriteItems(ChunkRunner.java:309)
      3. org.jberet.runtime.runner.ChunkRunner.run(ChunkRunner.java:201)
      3 frames
    5. org.wildfly.extension
      RequestController$QueuedTask$1.run
      1. org.wildfly.extension.batch.jberet.impl.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:243)
      2. org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)
      2 frames
    6. org.jberet.spi
      JobExecutor$1.run
      1. org.jberet.spi.JobExecutor$3.run(JobExecutor.java:161)
      2. org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99)
      2 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames
    8. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame