java.io.IOException: java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension

Oracle Community | 934007 | 4 years ago
  1. 0

    oid installation Exception

    Oracle Community | 4 years ago | 934007
    java.io.IOException: java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension
  2. 0

    ldapadmin: java.lang.ClassCastException

    GitHub | 3 years ago | fvanderbiest
    java.io.IOException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
  3. 0

    Building camus with different hadoop versions

    Google Groups | 4 years ago | Unknown author
    java.io.IOException: java.lang.ClassCastException: kafka.message.Message cannot be cast to [B
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Render and capture the output of a JSP as a String | Technological Oddity

    technologicaloddity.com | 7 months ago
    java.io.IOException: java.lang.ClassCastException: com.bankbjb.itcore.cashportal.common.MockIncludedHttpServletRequest cannot be cast to javax.servlet.ServletRequestWrapper
  6. 0

    If a user changes the type of an existing column of a partitioned table to an incompatible type, subsequent accesses of old partitions will result in a ClassCastException (see example below). We should prevent the user from making incompatible type changes. This feature will be controlled by a new config parameter. Example: CREATE TABLE test_table123 (a INT, b MAP<STRING, STRING>) PARTITIONED BY (ds STRING) STORED AS SEQUENCEFILE; INSERT OVERWRITE TABLE test_table123 PARTITION(ds="foo1") SELECT 1, MAP("a1", "b1") FROM src LIMIT 1; SELECT * from test_table123 WHERE ds="foo1"; ALTER TABLE test_table123 REPLACE COLUMNS (a INT, b STRING); SELECT * from test_table123 WHERE ds="foo1"; The last SELECT fails with the following exception: Failed with exception java.io.IOException:java.lang.ClassCastException: org.apache.hadoop.hive.serde2.lazy.objectinspector.LazyMapObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector java.io.IOException: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.lazy.objectinspector.LazyMapObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:544) at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:488) at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:136) at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1406) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:271) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:348) at org.apache.hadoop.hive.ql.QTestUtil.executeClient(QTestUtil.java:790) at org.apache.hadoop.hive.cli.TestCliDriver.runTest(TestCliDriver.java:124) at org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_class_cast(TestCliDriver.java:108) The ALTER TABLE statement is blocked if you set the following parameter, introduced int the fix to this JIRA: SET hive.metastore.disallow.incompatible.col.type.changes=true;

    Apache's JIRA Issue Tracker | 4 years ago | Dilip Joseph
    java.io.IOException: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.lazy.objectinspector.LazyMapObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector

    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.io.IOException

      java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension

      at oracle.security.crypto.cert.X509Extension.inputInstance()
    2. oracle.security.crypto
      PKCS12.<init>
      1. oracle.security.crypto.cert.X509Extension.inputInstance(X509Extension.java:257)
      2. oracle.security.crypto.cert.X509ExtensionSet.input(X509ExtensionSet.java:261)
      3. oracle.security.crypto.cert.X509ExtensionSet.<init>(X509ExtensionSet.java:103)
      4. oracle.security.crypto.cert.X509.input(X509.java:615)
      5. oracle.security.crypto.cert.X509.<init>(X509.java:142)
      6. oracle.security.crypto.cert.PKCS12CertBag.input(PKCS12CertBag.java:126)
      7. oracle.security.crypto.cert.PKCS12CertBag.<init>(PKCS12CertBag.java:80)
      8. oracle.security.crypto.cert.PKCS12Bag.inputBag(PKCS12Bag.java:78)
      9. oracle.security.crypto.cert.PKCS12Safe.input(PKCS12Safe.java:203)
      10. oracle.security.crypto.cert.PKCS12Safe.<init>(PKCS12Safe.java:119)
      11. oracle.security.crypto.cert.PKCS12.input(PKCS12.java:179)
      12. oracle.security.crypto.cert.PKCS12.<init>(PKCS12.java:122)
      12 frames
    3. oracle.security.pki
      OracleKeyStoreSpi.engineLoad
      1. oracle.security.pki.OracleKeyStoreSpi.engineLoad(Unknown Source)
      1 frame
    4. Java RT
      KeyStore.load
      1. java.security.KeyStore.load(KeyStore.java:1185)
      1 frame
    5. oracle.security.pki
      OracleWallet.getCertReqDNs
      1. oracle.security.pki.OracleWallet.getKeyStore(Unknown Source)
      2. oracle.security.pki.OracleWallet.getCertReqDNs(Unknown Source)
      2 frames
    6. oracle.as.idm
      IdMDirectoryServicesManager.doExecute
      1. oracle.as.idm.install.config.util.CertificateUtil.importCertificate(CertificateUtil.java:112)
      2. oracle.as.idm.install.config.util.CertificateUtil.setOVDCAIntoEMAgentWallet(CertificateUtil.java:165)
      3. oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:1137)
      3 frames
    7. oracle.as.install
      ConfigurationModule.run
      1. oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      2. oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      3. oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      4. oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      5. oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      6. oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      7. oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      8. oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      8 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame