How to get the error message which causes Synonym Invalid?
Hi,
I created a synonym in USER_B for a table in USER_A.
I have given all priveleges to USER_B from USER_A.
I created a package. In that I am using this synonym. Its working fine.
Today I have seen that.. the synonym is showing as invalid.
Even I recompiled the synonym. But its still showing as Invalid in PL/SQL developer.
Here I would like to see the error message which cause the synonym invalid.
How can I see the error message.?
Thank you,
Regards,
Gowtham Sen.
Makes perfect sense. Oracle automatically attempts to revalidate objects when you try to use them.
SQL> create table t (
2 col1 NUMBER);
SQL> create or replace procedure p is
2 x POSITIVE;
3 begin
4 SELECT COUNT(*)
5 INTO x
6 FROM t;
7 end p;
8 /
Procedure created.
SQL> drop table t purge;
Table dropped.
SQL> select status
2 from user_objects
3 where object_name = 'P';
STATUS
INVALID
SQL> create table t (
2 col1 NUMBER);
Table created.
SQL> select status
2 from user_objects
3 where object_name = 'P';
STATUS
INVALID
SQL> exec p
BEGIN p; END;
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "UWCLASS.P", line 4
ORA-06512: at line 1
SQL> select status
2 from user_objects
3 where object_name = 'P';
STATUS
VALID
SQL> Even when the procedure has a problem ... the revalidation takes place.
Similar Messages
-
Hello All,
I am using this API for creating a contact for an employee in R12.
But, some times i am not able to create the contact successfully, and Unable to figure out proper reason for record erroring out.
I dont find any out msg data variables for this API in order to check it for the Error.
So, can any body help me how to get the ERROR Message for such APIs.
Thanks inAdvance,
Amarnadh Jsuser12243334 wrote:
solved the issue on myselfIt would be nice if you could share the solution with us.
Thanks,
Hussein -
How to get the error message from a AWS code to display on the portal
I implemented IAuthProvider, it works, within the code when authentication fails, I threw AccessDeniedException(customMessage) but when the login fails, the login screen always display the "You could not be logged in to the portal." error message, how can I get it to display the custom message? Am I throwing the wrong exception?
TIA.Simpler? Uhm as far I know there doesn't exist any magic and you have just to write one or two lines of Javascript code yourself. Is that hard?
-
How to get only error message which i want to display.
hello,
In my main system i am using power supply which is connected with different instruments like data logger ,GSM,GPS....
In my main vi all the subvi of power system ,gsm etc...are conected with each other.
now I want to make some changes,
for example when i run my vi then it should seems pop up msg like Make sure your power supply is on.
and if suppose its not on then display the pop up msg that your power supply is off, then system should be off,means no need to do further operation.
here i attach my vi in that i made some logic regarding to this,in that when i run my main vi i get msg for make sure that power supply is on.
but when power supply is off then i got error msg like your power supply is off and after cliking on ok error vi is open that i dont want,that all i attached here.
i only want msg that your power supply is off and then system should be off,nothing more.
will you please guide me that what king of changes i needed for that.
thank you very much in advance.
Solved!
Go to Solution.
Attachments:
HMP POWER ON.vi 18 KB
1.png 156 KB
2.png 178 KBThere's no need for the while loops. What you really want is a case structure from the error cluster in order to decide whether or not to show the error dialog.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
HMP POWER ON_BD.png 22 KB -
I am running Windows 7 and have tried to install iCloud. No matter what instructions I follow, I still get the error message "This Apple ID is valed but is not an iCloud account." How can I resolved this?
I've tried both. First, I tried on my pc, where iTunes had installed iCloud when it last updated. I have iTunes installed on this computer (and on my iPad and iPhone), but that wasn't the issue.
So I went online, thinking I needed a separate iCloud Apple ID, but it prompted me for my current Apple ID and gave me the message about my ID being "valid" but not an iCloud account," which, lol, was what it had asked me to do in order to create one. I checked, and at least one other user is having the same issue. I'll attempt to copy/paste the Support request url: https://discussions.apple.com/thread/4430653?tstart=0
Thank you for any help you can give.
Trish -
I keep getting an error message which says at the top Flash Player Plug in App error _11_9_117.exe. In the lower part of the message, it says "exception unknown software exception (0X0000710 occurrred int the application 0X7780a389. What does this mean and how can I get rid of it?
LonghornI keep getting an error message which says at the top Flash Player Plug in App error _11_9_117.exe. In the lower part of the message, it says "exception unknown software exception (0X0000710 occurrred int the application 0X7780a389. What does this mean and how can I get rid of it?
Longhorn -
I just started getting the error message below, when I drag a file to TRASH, I get the message "Finder wants to make changes. Type in your password to allow this." Why ? and how to to stop this request ?
There should be nothing native to the OS X which would ask for a password
or other information on a restart, unless accompanied by the traditional login
box with your user name.
There are adware or marginal products that could be called malware (bad)
that would impose their presence and some items that could have been
downloaded by accident or through some corrupted free software site; of
those some could ask for and gain permission to go through your Mac
and maybe even run in the background to do other nefarious misdeeds.
You could see if startup in SafeBoot allows you access past that the Completer.
Since I don't have a pile of helpful article links on how to resolve various issues
I'd be looking them up one way or another.
There are some helpful items in the site http://thesafemac.com - see Tech Guides
listed (adware, malware, & performance) plus a link to the adwaremedic page.
Also, Apple support has a helpful page on how to remove adware and other bits:
•Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
Hopefully this helps somewhat.
Good luck & happy computing! -
I have just bought an iPhone 5 and it won't sync to iTunes. It says it needs iTunes 10.7, which I have downloaded and installed. I still get the error message and looking at "about iTunes" it says 10.6.3. What do I do??
Perhaps check to see if you're accidentally running two different versions of iTunes. There's some information on troubleshooting that in the Opening iTunes section of the following document:
Troubleshooting iTunes installation on Mac OS X -
How can i get the error message from the thrown/raised exception?
DB version:10gR2
Examples for this thread taken from
Want Stored Procs to get exectuted regardless of preceeding SPs Success or
I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
In the below example i cannot get the error message thrown from line 20
create or replace package body mypackage
is
variable_proc1 number;
variable_proc2 number;
variable_proc3 number;
v_result number;
my_exception exception;
procedure proc1
is
begin
select 8/0 into variable_proc1 from dual;
exception
when others
then raise my_exception; ----line 20
end;
procedure proc2
is
begin
select 1 into variable_proc2 from dual;
exception
when others
then
null;
end;
procedure proc3
is
begin
select 3 into variable_proc3 from dual;
exception
when others
then
null;
end;
Procedure caller_proc
is
begin
proc1;
proc2;
proc3;
v_result:=variable_proc2+variable_proc3;
dbms_output.put_line('The output is '||v_result);
exception
when my_exception
then
dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
end;
end mypackage;
When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
set serveroutput on
exec mypackage.caller_proc;
Heyyyyy the error is User-Defined Exception
PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PMThank you justin.
Sorry my earlier post was a bit ambiguous.
I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
I can actually log this error at proc1 itself like
exception
when others
THEN
error_message :='My custom message for the particular proc '||SQLERRM;
dbms_output.put_line(error_message);
logerror(error_message); --an autonomous error logging proc
raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
logerror(error_message);--an autonomous error logging proc
in the WHEN OTHERS section of exception handling section of the caller proc
I want to avoid the creation of this redundant row in ERR_LOG table. -
I'm trying to update my iphone 3GS to the 4.3.4 version and I am getting the error message "This version of itunes (version 9.1.1) is the current version. How do I update my PHONE and why is an itunes update being confused for my iphone?
You need iTunes 10.0 or greater to update your phone...iTunes isn't confused at all. If you're on a Mac, you'll need OS X 10.5.8 or greater to update iTunes to 10.0 or greater.
-
When trying to open iphoto I get the error message "You can't open the application iPhoto because it may be damaged or incomplete." How do I fix this and get my photo's back?
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store you can find it in your Purchases List. -
When trying to access photo stream on Apple TV, I am getting the error message terms and conditions have changed, but when I go into iCloud on my Mac the new terms and conditions are not appearing - How can I manually agree to them ?
Welcome to the Apple Community.
The following article(s) may help you.
Photo Stream ToU's -
trying to update my ipod but i get the error message network timed out. I've already uninstalled and reinstalled the latest version of itunes. I also do not have software update in settings on the ipod. How do i get the ipod to update?
Try the manual method specified here:
iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch -
I have an A1288 ipod touch I bought about 3 years ago. I am currently trying to download an app however the I'm getting an error message which is essentially saying that the "ios" I'm using isn't up to date and the itunes summary says otherwise?
Other forums state I have to buy a new one but what happens when this happens again I think I'm moving to another brand this is crazy?Yes, there's a limit, and that iPod touch has reached it.
(72099) -
since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?
A Davey1 wrote:
Not a nice answer!
Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
You're ignoring context. On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers. The new Apple Support Communities made things worse by introducing certain inefficiencies. Then came Lion. The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest. (2) When applicable, give a brief answer such as the one that you found objectionable. (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems. I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there. Even doing that, what I posted saved me time that I could use to help someone else.
The people helping here are all volunteers. None of them is being paid for the time they spend here. They all have a life outside of Apple Support Communities. It's arrogant of you to demand that people helping here spend more time than they already do.
Maybe you are looking for
-
Outlook 2007 won't open .pst file from Outlook 2000
I have been using Outlook 2000 for 10 years and hit the 2GB limit. As a result, Outlook 2000 would not open mail and did not permit me to delete mail to clear space. I'd been meaning to install my Office 2007 and this seemed like the time to do so. O
-
Material Master Data Cleansing and Cataloguing
In an inventory system, please give me an idea on how to create a master data catalog. How can we create a cataloguing system in SAP for all our material masters of spare parts ERSA. Appreciate your feedback. Thanks
-
Custom Duty & Assessable Value
Hi Experts, I cant understand the concept 1) What is the use of Custom Duty 2) What is the use of Assessable Value How to handle both in SAP B1? regards anand
-
HT4437 Streaming to multiple Airport express speakers via iTunes Match. How?
How can I do this?
-
Dear Gurus, I am in a middle of upgrade from 46C -> ECC5.0. I would to know what is the meaning of installing WAS JAVA 640 to ECC5.0 ? I mean what are its benefits ? Please Advice, Dimitry Haritonov