FNBJ 報錯處理 3

2021-07-25 04:07:02 字數 1083 閱讀 7968

ora-06550: 第 1 行, 第 7 列: 

pls-00306: 呼叫 'usp_s_fb_cq_shoucijc' 時引數個數或型別錯誤

ora-06550: 第 1 行, 第 7 列:

pl/sql: statement ignoredora-06502: pl/sql: 數字或值錯誤 :  字元到數值的轉換錯誤

ora-06512: 在 line 1

the policy with name 'dalexceptionpolicy' cannot be found. exception handling aborted.

將業務邏輯從原有系統抽離出來,整合到乙個介面中供承接方呼叫.

先是引數錯誤,是輸入輸出的字首,抽離出來後無法自動生成,寫了個for迴圈新增上去.

例如:

for (int i = 0; i < paramters.count; i++)

if (paramters[i].parametername.contains("_in") == false)

}

數字或值錯誤

這個屬於 string ,int型別值未對應轉化過來,略過.

the policy with name 'dalexceptionpolicy' cannot be found. exception handling aborted.

跟蹤原先的業務邏輯,將值拿出來和介面資料對比.基本上判斷是屬於主鍵未賦值.(即該賦值的字段沒賦值.)

第一次呼叫走新增流程,新增成功後,系統生成的id給fuchabh欄位賦值.

第二次呼叫走修改流程,需要上次新增生成的fuchabh欄位,根據這個fuchabh欄位進行修改操作.

報錯是因為我倆次資料一樣.fuchabh欄位都是空值.第一次新增沒問題,修改就報錯了.

ZF報錯處理

fatal error uncaught exception zend controller response exception with message cannot send headers headers already sent inind xampp php pear z end con...

oracle報錯處理

這裡的序號 1.2.3.不是步驟,而是每個單獨問題。1.不登入鏈結資料庫 sqlplus nolog 2.oracle檢視並修改最大連線數 alter system set processes 1000 scope spfile alter system set session 1105 scope...

python 報錯處理

寫了個helloword程式,執行出錯了 file f python helloword helloword.py line 2 syntaxerror non ascii character xe5 in file f python helloword helloword.py on line 3...