java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;

Salesforce | Volodymyr B | 1 year ago
  1. 0

    Cannot get apex code coverage from my Java app via SOAP Tooling API

    Salesforce | 1 year ago | Volodymyr B
    java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;
  2. 0

    ClassCastException making Transaction__c query

    GitHub | 2 years ago | dhoffer
    java.lang.ClassCastException: com.sforce.soap.enterprise.sobject.Transaction__c cannot be cast to com.sforce.ws.bind.XMLizable
  3. 0

    How to cast generic object as primitive array?

    Stack Overflow | 10 months ago | Error 404
    java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException

    Google Groups | 7 years ago | ryanbateman/secretsquirrel
    java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;
  6. 0

    GitHub comment 579#61454888

    GitHub | 2 years ago | FroMage
    java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      [I cannot be cast to [Ljava.lang.Object;

      at com.sforce.ws.bind.TypeMapper.readArray()
    2. force-wsc
      TypeMapper.readObject
      1. com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:578)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:531)
      2 frames
    3. com.sforce.soap
      Coverage.load
      1. com.sforce.soap.tooling.Coverage.loadFields(Coverage.java:83)
      2. com.sforce.soap.tooling.Coverage.load(Coverage.java:75)
      2 frames
    4. force-wsc
      TypeMapper.readObject
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:653)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:529)
      2 frames
    5. com.sforce.soap
      ApexCodeCoverageAggregate.load
      1. com.sforce.soap.tooling.ApexCodeCoverageAggregate.loadFields(ApexCodeCoverageAggregate.java:346)
      2. com.sforce.soap.tooling.ApexCodeCoverageAggregate.load(ApexCodeCoverageAggregate.java:329)
      2 frames
    6. force-wsc
      TypeMapper.readObject
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:653)
      2. com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:553)
      3. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:531)
      3 frames
    7. com.sforce.soap
      QueryResult.load
      1. com.sforce.soap.tooling.QueryResult.loadFields(QueryResult.java:208)
      2. com.sforce.soap.tooling.QueryResult.load(QueryResult.java:184)
      2 frames
    8. force-wsc
      TypeMapper.readObject
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:653)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:529)
      2 frames
    9. com.sforce.soap
      QueryAllResponse_element.load
      1. com.sforce.soap.tooling.QueryAllResponse_element.loadFields(QueryAllResponse_element.java:62)
      2. com.sforce.soap.tooling.QueryAllResponse_element.load(QueryAllResponse_element.java:54)
      2 frames
    10. force-wsc
      SoapConnection.send
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:653)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:529)
      3. com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:178)
      4. com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:152)
      5. com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)
      5 frames
    11. com.sforce.soap
      ToolingConnection.query
      1. com.sforce.soap.tooling.ToolingConnection.query(ToolingConnection.java:282)
      1 frame