When running the CAST DB extractor on an Oracle 10g database, we come across the below error from the extraction log
com.castsoftware.util.logger.exceptions.LogException cast.utilities.logger.subExecuteException: com.castsoftware.util.logger.exceptions.LogException cast.utilities.logger.subExecuteException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.castsoftware.util.logger.exceptions.LogException.newInstance(LogException.java:79) at com.castsoftware.util.logger.exceptions.LogException.newInstance(LogException.java:118) at com.castsoftware.util.logger.Logging.execute(Logging.java:547) at com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:415) at com.castsoftware.cli.GUIApplication$ApplicationRunner.run(GUIApplication.java:2642) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NegativeArraySizeException at oracle.net.ano.CryptoNIONSDataChannel.readDataFromSocketChannel(Unknown Source) at oracle.jdbc.driver.T4CMAREngineNIO.prepareForReading(T4CMAREngineNIO.java:98) at oracle.jdbc.driver.T4CMAREngineNIO.unmarshalUB1(T4CMAREngineNIO.java:534) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:485) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:252) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:612) at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:213) at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:37) at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:733) at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:904) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1082) at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1276) at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:366) at com.castsoftware.extractor.exporter.DatabaseIdentificationGroupExporter.executeQuery(DatabaseIdentificationGroupExporter.java:91) at com.castsoftware.extractor.exporter.IdentificationGroupExporter.executeQuery(IdentificationGroupExporter.java:370) at com.castsoftware.extractor.exporter.IdentificationGroupExporter.exportType(IdentificationGroupExporter.java:156) at com.castsoftware.extractor.exporter.IdentificationGroupExporter.run(IdentificationGroupExporter.java:71) at com.castsoftware.extractor.exporter.Exporter.exportSlice(Exporter.java:552) at com.castsoftware.extractor.exporter.Exporter.export(Exporter.java:375) at com.castsoftware.extractor.exporter.DatabaseExporter.exportServer(DatabaseExporter.java:517) at com.castsoftware.extractor.cli.DatabaseExtractor.process(DatabaseExtractor.java:510) at com.castsoftware.cli.GUIApplication$ApplicationRunner$2.call(GUIApplication.java:2648) at com.castsoftware.cli.GUIApplication$ApplicationRunner$2.call(GUIApplication.java:2643) at com.castsoftware.util.logger.Logging.execute(Logging.java:527)
Release | Yes/No |
---|---|
8.3.x, x>15 |
RDBMS | Yes/No |
---|---|
Oracle Server |
- Run the CAST DB Extractor from a version > 8.3.15 to extract Oracle 10g.
- The extraction fails.
The issue occurs because, from AIP 8.3.15, the DB extractor provided is embedded with 4 new encryption parameters as described in the documentation here - CAST Database Extractor - Source panel
These parameters are not fully compatible with Oracle 10g.
To solve the issue, we need to remove the four default values and launch the extractor again.
If you do not find the information you are looking for or solution for your problem, contact CAST Technical Support and provide the relevant input to help CAST Support team investigate your problem or procure the required information.