Obiee Error: Id 31 not Found

Error: Id XX not Found
Some times when we try to select some function from "Edit Column Formula" this kind error will pops as "Id not found ".
Solution:
1)Say ok.
2)Cacel Insert Function.
3)Save your request(optional)
4)Close the browser and re-open the request.

Now column will allow you to insert functions.

Error : [nQSError: 46036] Internal Assertion

Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition listNode.GetGroupBy() == NULL, file .\Src\SQOIGeneratorBuiltIn.cpp, line 1497. (HY000)

As per my understanding this error happens due to corrpution in report file on disk.

Solution:
Try to change something in report and resave the report, this should solve problem if not, try to get same report from previous release,code base or from backup using Catalog Manager bring the report to new development by Export/Import report.
In this way it worked for me.

Hope it may help you.