📜 ⬆️ ⬇️

An employee by the name of Zero brought down corporate software

More than a year ago on the QA programming site StackOverflow one user asked for help on this issue . They have an employee by the name of Null. The problem is that because of it the corporate search application falls, if the employee's last name is used as a search query (which recently happens very often). Mistake:

<soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The SEARCHSTRING parameter to the getFacultyNames function is required but was not passed in.]</faultstring> 

The parameter is a string data type. WSDL (SOAP) is used. Flex 3.5 Actionscript 3 ColdFusion 8.

The author of the question notes that the error does not appear if you access an object from the ColdFusion page.

Although the question was asked in December 2010, the discussion is still ongoing.
')
The most popular answer suggests that the problem lies in encoding SOAP in a Flex application. As a recommendation, it is proposed to debug the program for how the null value is processed, perhaps it passes as NaN (Not a Number). Such things sometimes interfere with the unmarshaling of SOAP messages. At least, to the author of the board, such debugging once helped solve a similar problem on the Jboss 5 server.

PS This is a classic of humor, another classic case says that an employee by the name of NaN received a huge salary because of the glitch program.

Source: https://habr.com/ru/post/142956/


All Articles