java.lang.ClassCastException: oracle.sql.OPAQUE cannot be cast to oracle.xdb.XMLType

Oracle Community | 959086 | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    db:: 3.77::Attempt to read XMLType from Oracle 11G kd

    hivmr.com | 10 months ago
    java.lang.ClassCastException: oracle.sql.OPAQUE cannot be cast to oracle.xdb.XMLType
  2. 0

    ClassCastException OPAQUE cannot be cast to XMLType

    Oracle Community | 4 years ago | 959086
    java.lang.ClassCastException: oracle.sql.OPAQUE cannot be cast to oracle.xdb.XMLType
  3. 0

    java.lang.ClassCastException when connecting from jenkins to testlink

    GitHub | 3 years ago | feixiang8418
    java.lang.ClassCastException: java.util.HashMap cannot be cast to [Ljava.lang.Object; at br.eti.kinoshita.testlinkjavaapi.util.Util.castToArray(Util.java:566) at br.eti.kinoshita.testlinkjavaapi.TestCaseService.getTestCaseIDByName(TestCaseService.java:392) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.getTestCaseIDByName(TestLinkAPI.java:840) at de.zalando.test_framework.cucumber.reporter.TestLinkReporter.commitTestResults(TestLinkReporter.java:159) at de.zalando.test_framework.cucumber.reporter.TestLinkReporter.reportToTestLink(TestLinkReporter.java:151) at de.zalando.test_framework.cucumber.reporter.TestLinkReporter.scenario(TestLinkReporter.java:66)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    scala: FOO cannot be cast to FOO

    Stack Overflow | 6 years ago | ninjagecko
    java.lang.ClassCastException: FOO cannot be cast to FOO </code></pre> <p>I would expect that someone can always be cast to its own type.</p> <hr> <h2>Context</h2> <p>I am trying to run the following wrapper around the scala compiler, located at <a href="http://code.google.com/p/rooscaloo/source/browse/trunk/rooscaloo/src/org/darevay/rooscaloo/Interpreter.scala" rel="nofollow">http://code.google.com/p/rooscaloo/source/browse/trunk/rooscaloo/src/org/darevay/rooscaloo/Interpreter.scala</a> Unfortunately, Scala is saying <code>ResultHolder cannot be cast to ResultHolder</code> when I do the following:</p> <pre><code>import org.darevay.rooscaloo._ println(new Interpreter().eval("2")) </code></pre> <p>I thought <code>println</code> was supposed to accept <code>Any</code>. What should be going on is that Interpreter.eval returns a <code>ResultHolder</code> type, such that <code>ResultHolder.value</code> would be equal to <code>2</code>.</p> <p>Additionally, trying to print <code>.value</code> doesn't work with the error:</p> <pre><code>(fragment of Test.scala):3: error: value value is not a member of Any println(new Interpreter().eval("2").value) </code></pre> <hr> <h2>More details</h2> <pre><code>java.lang.reflect.InvocationTargetException
  6. 0

    java.lang.ClassCastException: java.util.Vector cannot be cast to My Class

    Stack Overflow | 3 years ago | S. Moreno
    java.lang.ClassCastException: java.util.Vector cannot be cast to com.dominion.procop.agr.util.AGRSalvaguardasInforme at (pathofmyclass).mostrarInformeActivosAGR(AGRInformes.java:1130)

    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

      oracle.sql.OPAQUE cannot be cast to oracle.xdb.XMLType

      at gov.va.med.datasharing.audit.web.dao.jdbc.ConfigAuditableEventsQueryDAOImpl.getEventContentXMLType()
    2. gov.va.med
      ConfigAuditQuerySummaryServiceImpl.detailQuery
      1. gov.va.med.datasharing.audit.web.dao.jdbc.ConfigAuditableEventsQueryDAOImpl.getEventContentXMLType(ConfigAuditableEventsQueryDAOImpl.java:199)
      2. gov.va.med.datasharing.audit.web.dao.jdbc.ConfigAuditableEventsQueryDAOImpl.getEventContent(ConfigAuditableEventsQueryDAOImpl.java:164)
      3. gov.va.med.datasharing.audit.web.service.ConfigAuditQuerySummaryServiceImpl.getMessageContent(ConfigAuditQuerySummaryServiceImpl.java:185)
      4. gov.va.med.datasharing.audit.web.service.ConfigAuditQuerySummaryServiceImpl.detailQuery(ConfigAuditQuerySummaryServiceImpl.java:155)
      4 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame