APEX 4.2 required fields error [message #662503] |
Thu, 04 May 2017 03:51 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/77611a37eb934594cfd2e951a2380f43?s=64&d=mm&r=g) |
emkardum
Messages: 3 Registered: May 2017
|
Junior Member |
|
|
Hello, I have a strange problem - when I made application export to other server I got some errors on that exported version: on every page that contains required fields, after page submit (save) if required fields are empty, instead of showing normal user friendly message, it returns this error :
Error Error processing condition.
ORA-01002: fetch out of sequence ORA-06510: PL/SQL: unhandled user-defined exception
Technical Info (only visible for developers)
is_internal_error: true
apex_error_code: APEX.CONDITION.UNHANDLED_ERROR
ora_sqlcode: -1002
ora_sqlerrm: ORA-01002: fetch out of sequence ORA-06510: PL/SQL: unhandled user-defined exception
component.type: APEX_APPLICATION_LIST_ENTRIES
component.id: 157579633851405120
component.name: Feedback
error_backtrace:
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1942 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1331 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1355 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1393 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 906 ORA-06512: at "APEX_040200.WWV_FLOW_CONDITIONS", line 331
I've tried to fix this with manual validations on item, but the problem remains...Might it be related to something on server (GlassFish)? Thanks in advance!
|
|
|
|
Re: APEX 4.2 required fields error [message #662554 is a reply to message #662511] |
Fri, 05 May 2017 05:55 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/77611a37eb934594cfd2e951a2380f43?s=64&d=mm&r=g) |
emkardum
Messages: 3 Registered: May 2017
|
Junior Member |
|
|
Hi, thanks for fast reply, it helped! It really has something to do with the lists, but I can't figure what exactly. I have few lists on Page 0 which are conditional (Condition type : Exists-SQL returns at least one row). First thing I did was removing sql conditions from all of them and I put simple coma delimited page condition because I thought that something is messed up in one of the queries, and I thought that solved the problem, but it didn't exactly - now I know that problem is on any page that has a list on it. So if I remove a page number from list condition and it dissapears from that page, a validation is working normally, and when I return that page in condition, the same error is back, and again it is component.type: APEX_APPLICATION_LIST_ENTRIES, just some other ID and component name. And if I delete that component temporary, that doesn't fix it either - it just gives me the same error with some other component, and on and on... So the problem is that my side navigation list and error message field are counterfighting because of something. If you get some idea please let me know and thanks a lot for your time
|
|
|
|
Re: APEX 4.2 required fields error [message #662570 is a reply to message #662556] |
Fri, 05 May 2017 12:21 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I'm glad you solved it; however, your previous solution (for list of pages) seems to be better. Perhaps you could rewrite that query (or function, or whatever it is)? Oracle sometimes behaves really strange. Just for example: one of my Apex pages had a report whose query wasselect ...
from ...
where id <> 123 and it worked for years. All of the sudden it failed with invalid number. After I rewrote it towhere id not in (select 123 from dual) it works OK again.
Therefore, if you want, share your query with us - maybe it can be rewritten so that it works again.
|
|
|