java.lang.ClassCastException: [Ljava.lang.Object; [java]

Oracle Community | 666705 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    query.setResultClass does not work with a filter using contains

    Oracle Community | 1 decade ago | 666705
    java.lang.ClassCastException: [Ljava.lang.Object; [java]

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljava.lang.Object; [java]

      at com.tierconnect.scrap.scrap.CycleReportPerfomanceTest.simpleTest()
    2. com.tierconnect.scrap
      CycleReportPerfomanceTest.testServiceImpBuildReport
      1. com.tierconnect.scrap.scrap.CycleReportPerfomanceTest.simpleTest(CycleReportPerfomanceTest.java:59)[java]
      2. com.tierconnect.scrap.scrap.ReportTestTemplate.executeTestCases(ReportTestTemplate.java:70)[java]
      3. com.tierconnect.scrap.scrap.CycleReportPerfomanceTest.testServiceImpBuildReport(CycleReportPerfomanceTest.java:39)[java]
      3 frames
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[java]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[java]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[java]
      3 frames
    4. com.tierconnect.scrap
      ReportSuiteTest.main
      1. com.tierconnect.scrap.scrap.ReportSuiteTest.main(ReportSuiteTest.java:33)
      1 frame