This page provides solution about the DMT Packaging error java.lang.NullPointerException raised for Oracle Report (source having only .rex files).
Complete Error :
---------------------------------------------------------------------------
ERROR An error has occurred during command processing
java.lang.NullPointerException:
at com.castsoftware.extractor.exporter.TypeWriter.<init>(TypeWriter.java:18)
at com.castsoftware.extractor.exporter.FormsIdentificationGroupExporterNew.getWriter(FormsIdentificationGroupExporterNew.java:403)
at com.castsoftware.extractor.exporter.FormsIdentificationGroupExporterNew.flushAll(FormsIdentificationGroupExporterNew.java:283)
at com.castsoftware.extractor.exporter.FormsExporterNew.exportForms(FormsExporterNew.java:514)
at com.castsoftware.extractor.cli.FormsExtractor.process(FormsExtractor.java:112)
at com.castsoftware.cli.CommandLineApplication.processWithOldLogging(CommandLineApplication.java:1137)
at com.castsoftware.cli.CommandLineApplication.parseAndRun(CommandLineApplication.java:978)
at com.castsoftware.cli.CommandLineApplication.access$0(CommandLineApplication.java:924)
at com.castsoftware.cli.CommandLineApplication$2.call(CommandLineApplication.java:907)
at com.castsoftware.cli.CommandLineApplication$2.call(CommandLineApplication.java:1)
at com.castsoftware.util.logger.Logging.execute(Logging.java:491)
at com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:354)
at com.castsoftware.cli.CommandLineApplication.launch(CommandLineApplication.java:901)
at com.castsoftware.cli.CommandLineApplication$1.call(CommandLineApplication.java:847)
at com.castsoftware.cli.CommandLineApplication$1.call(CommandLineApplication.java:1)
at com.castsoftware.util.logger.Logging.execute(Logging.java:491)
at com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:383)
at com.castsoftware.cli.CommandLineApplication.run(CommandLineApplication.java:841)
at com.castsoftware.extractor.cli.FormsExtractor.main(FormsExtractor.java:139)
Issue is fixed in CAST 7.3.4
Release | Yes/No |
---|---|
8.0.x | |
7.3.x, X<4 | |
7.2.x | |
7.0.x |
RDBMS | Yes/No |
---|---|
Oracle Server | NA |
Microsoft SQL Server | NA |
CSS2 | NA |
CSS1 | NA |
- Using DMT, package the Oracle Report with option “Forms/Report on file system”
Since the source have already the .rex files for the reports and is identified by DMT, the Workaround is to
- Use "Reuse existing CAST delivery output" instead of "Forms/Report on file system" in DMT.
No impact of the workaround
Ticket # 892