Good morning!
We recently upgraded a customer from Cognos 11.0.13 to Cognos 11.2.1 IF3. Windows environment. New server - so not an upgrade in place. After install and config we imported a deployment archive from production 11.0 system into new content store database.
In testing after the upgrade we ran into an issue with a report -- I wonder if anyone else has seen this.
Report runs without issue in 11.0.
It is using a DQM package against Oracle 12.
The query structure in the report is as follows
- Query1 from Package
- Query2 from Package
- Query3 joins Query1 and Query2
- Query4 from Package
- Query5 from Package
- Query6 joins Query4 and Query5
- Query7 Unions Query3 and Query6
All Queries 1 thru 6 test correctly (e.g. you can view tabular data without issue).
Query7 throws a java error "XQE-GEN-0002 An unexpected exception occurred: java.lang.NullPointerException essentially immediately, both when used in Tabular Data and when used on the report page. Nothing useful in the logs that we've found.
In troubleshooting we've done the following:
1. We generated the SQL for Query7 and pasted it into SQLPlus. It runs without error.
2. We changed the Union operator to an Except operator -- no problem... the query runs. So the problem appears to be with the union
3. We changed the Union properties from Preserve Duplicates to Remove Duplicates, no change.
4. We updated the Oracle JAR to the Java8 version (and removed the Java7 jar from the Drivers folder). No change.
Today we plan to republish the package using CQM to see if that changes the outcome (our thought is to either prove or disprove that it is a DQM-only issue).
Has anyone else experienced anything similar upon upgrading to 11.2.1, and if so, how did you resolve it?
Thank you in advance for your ideas and thoughts!
Rich
------------------------------
Richard Chester
Director of Business Intelligence
LPA Software Solutions
------------------------------
#CognosAnalyticswithWatson