Hello Guys,
Here I am again with a tricky issue.
Currently my customer has upgraded from BO 3.1 SP3 to BO 3.1 SP7.
The problem occurs during the execution of a Web Sercive (generated by QaaWS).
When I test the web service straight in the QaaWS tool, a result is displayed.
But...
When I call the web service from another system, I get a "NullPointerException":
java.lang.NullPointerException
at com.businessobjects.dsws.WebIntelligenceReportEngineManager.getLanguage(Unknown Source)
at com.businessobjects.dsws.WebIntelligenceReportEngineManager.getValue(Unknown Source)
at com.businessobjects.qaaws.internal.xml.XmlQueryParser.parseOperand(Unknown Source)
at com.businessobjects.qaaws.internal.xml.XmlQueryParser.parseItem(Unknown Source)
at com.businessobjects.qaaws.internal.xml.XmlQueryParser.parseQueryCondition(Unknown Source)
at com.businessobjects.qaaws.internal.xml.XmlQueryParser.parseQueryBase(Unknown Source)
at com.businessobjects.qaaws.internal.xml.XmlQueryParser.parse(Unknown Source)
at com.businessobjects.qaaws.internal.webi.WIDocument.createQuery(Unknown Source)
at com.businessobjects.qaaws.internal.transport.QaaWSServlet.invoke(Unknown Source)
at com.businessobjects.qaaws.internal.transport.QaaWSServlet.doPost(Unknown Source)
I understand that the method "getLanguage" received a "null" value from the method, which is generated by a method "getPvlLocale".
So that we have the stack of errors.
Below I present part of the XML generated for the QaaWS.
I noticed that the problem occur, when the values of the "Operand" fullfills the rule "NativeFreeValue".
<QueryCondition QueryConditionOperator="And">
<Item xsi:type="Filter" FilterOperator="InList">
<FilteredObject Key="UnivCUID=M1M_RHwAAGleAbIA.gAAKzb.AqwQBuYAAAA;UnivID=112632;UnivName=MY_UNIVERSE.DO102ff">
<Name>MY_OBJECT (List)</Name>
</FilteredObject>
<Operand xsi:type="Values">
<d1p1:NativeFreeValue xsi:type="xsd:double">1</d1p1:NativeFreeValue>
</Operand>
</Item>
</QueryCondition>
As a workaround, I noticed that a "query filter" (PreCondition) works differently than a "local query filter" (Filter, with flag NativeFreeValue).
And the "query filter" works.
OK that this workaround can be used, but for me doesn't make sense such wrong behavior.
Does anyone know if there is any solution for this problem?
I checked that there is a Fixpack available for this major release, but I found none release note of the fixes.
Any help would be highly appreciated.
Regards,
Marcos