Error message when compiling invalid packages and procedures

Hi.
I have a routine for copying certain data from a production database to a test database. To do this I disable constraints and triggers, truncate tables, copy tables and enable triggers and constraints again.
Now several of my functions, procedures and packages are made invalid and marked with a red cross. In SQL Developer I can compile invalid functions, procedures and packages. When I compile functions it works fine, but when compiling procedures and packages I get the following error message:
An error was encountered performing the requested operation:
ORA-00904: "ATTRIBUTE": Invalid identifier
Vendor code 904
When I click OK on this message I get a confirmation saying:
Packages have been compiled with #0.CNT# errors.
I had this error in both the previous and the new version. Is this a bug or is there a way to come around it? When I copy and modify the SQL generated to perform this task and run it in SQL Plus it works fine.
I use Windows 2000 5.00.2195 Service Pack 4, SQL Developer version 1.2.1, Oracle 9.2.0.8.0 and Java version 1.5.0_11
Message was edited by:
SvSig

i have now upgraded to Java 1.6 update 2. I still get basically the same error, but it is presented a little bit differently:
An error was encountered performing the requested operation:
ORA-00904: "ATTRIBUTE": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
Vendor code 904
Are there other possible error causes than the operating system version and the database version?
We are going to install an Oracle 10 test database in a couple of weeks, so then I will find out whether the database version is the problem.

Similar Messages

  • Error message when compiling book "file is corrupt" referring to a photo.  Or "cannot find original photo".  Can you use photos that have been "edited" out of "Book Mode"?

    Error message when compiling book "file is corrupt" referring to a photo.  Or "cannot find original photo".  Can you use photos that have been "edited" out of "Book Mode"?

    I did copy it to my desktop, but it still won't let me open it.  I think the file on the disc might be corrupt or something like that though the cd itself checks out fine as far as viruses go.  I was able to verify the disc, but that's about it.  My husband tried it on his iMac and we have the same issue.  It's unzipping the folder, but won't let us open the folder on both the Mac Book Pro or the iMac by double clicking, going to file/open or right clicking.  It just keeps saying the same message as I posted above.  I think I'm just going to have the client put the pictures on either a memory card or a USB memory stick so she won't have to compress the files for zipping purposes.  It's been too frustrating trying to open this folder on this cd she gave me.  She said she created/zipped the cd on her Mac Book Pro but it sure won't open on mine.

  • Question - "you do not have enough access privileges" error message when trying to sync and downloads music?

    Question - error message when trying to sync and download music iPhone. 

    Same problem with my iphone too
    is ur problem resolved?

  • Strange error message when compiling an IPA ("multiple L$start$ labels found at same address in...")

    I get this message when compiling an IPA with AIR 3.6:
    ld: warning: multiple L$start$ labels found at same address in __ZN9NetStream12DispatchProcEP10NativeInfo at offset 0x06C0
    Googling a bit, it seems it's an error message from this C++ class:
    http://opensource.apple.com/source/ld64/ld64-133.3/src/ld/LinkEdit.hpp
    So I suppose it's a bug in the AIR for iOS compiler. Any clues about why am I getting that warning message?

    I've been getting this message for quite a while, but I think a fix will soon be needed. I got the following message from Apple:
    ==============
    Dear developer,
    We have discovered one or more issues with your recent delivery for "Quazar". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
    Non-PIE Binary - The executable 'Quazar.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables.
    ===============================================

  • Why do I get an error message when trying to Extrude and Bevel my image?

    I am making a logo for a friend and he wants something similar to the Stark House symbol. (The Direwolf) but as a dragon instead. I used the pen tool to make the shape, and now I want to fill it in and make it more 3D. I can't fill it in properly and my image gets an error message when I try to Extrude and Bevel. Why is this?

    error message,
    Is the path/shape closed?
    Selecting it and Ctrl/Cmd+J should close it if not, then you may try again.
    You may also have a look in the Document Infor palette with Objects ticked in the flyout and the path selected.

  • I get this error message when I open Firefox and when I go between tabs TypeError: PC_PREF_OBJ is undefined

    I get this message when I open Firefox and when I go between tabs.
    TypeError: PC_PREF_OBJ is undefined
    I have tried to re-install, but that doesn't help.

    If you close Firefox, then start Firefox in Safe Mode, does the problem still occur? For instructions on starting in Safe Mode, see [[Safe Mode]].
    Extensions can sometimes be the cause of problems. If the problem does not occur in [[Safe Mode]], then you can disable your extensions one-by-one until you find out which one is causing the problem.
    See [[Troubleshooting extensions and themes]]

  • REUSE SETTINGS supresses error messages when compiling an invalid object

    Hello,
    my test:
    Create a table and a packaged procedure referencing the table. Then drop the table and recompile the package:
    CREATE TABLE x (
        y     NUMBER
    CREATE OR REPLACE PACKAGE y
    AS
    PROCEDURE z;
    END y;
    SHOW ERRORS
    CREATE OR REPLACE PACKAGE BODY y
    AS
    PROCEDURE z
    IS
      v_count PLS_INTEGER;
    BEGIN
      SELECT COUNT(*)
      INTO v_count
      FROM x;
    END z;
    END y;
    SHOW ERRORS
    DROP TABLE x;
    PROMPT 1.Compile package
    ALTER PACKAGE y COMPILE;
    SHOW ERRORS
    PROMPT 2.Compile package body
    ALTER PACKAGE y COMPILE BODY;
    SHOW ERRORS
    PROMPT 3.Compile package with "REUSE SETTINGS"
    ALTER PACKAGE y COMPILE REUSE SETTINGS;
    SHOW ERRORS
    PROMPT 4.Compile package body with "REUSE SETTINGS"
    ALTER PACKAGE y COMPILE BODY REUSE SETTINGS;
    SHOW ERRORS
    SELECT object_name
          ,object_type
    FROM   user_objects
    WHERE  status = 'INVALID';
    --DROP PACKAGE y;Partly unexpected output
    Tabelle wurde erstellt.
    Package wurde erstellt.
    Keine Fehler.
    Package Body wurde erstellt.
    Keine Fehler.
    Tabelle wurde gelöscht.
    1.Compile package
    Warnung: Paket wurde mit Kompilierungsfehlern geõndert.
    Keine Fehler.
    2.Compile package body
    Warnung: Paketrumpf wurde mit Kompilierungsfehlern geõndert.
    Fehler bei PACKAGE BODY Y:
    LINE/COL ERROR
    8/3      PL/SQL: SQL Statement ignored
    10/8     PL/SQL: ORA-04044: procedure, function, package, or type is not
             allowed here
    3.Compile package with "REUSE SETTINGS"
    Warnung: Paket wurde mit Kompilierungsfehlern geõndert.
    Keine Fehler.
    4.Compile package body with "REUSE SETTINGS"
    Warnung: Paketrumpf wurde mit Kompilierungsfehlern geõndert.
    Keine Fehler.
    OBJECT_NAME     OBJECT_TYPE
    Y               PACKAGE BODY
    1 Zeile wurde ausgewõhlt.It says
    - Table created
    - Package created
    - Package body created
    - Table dropped
    - Package header compiled with errors (why?)
    - Package body compiled with errors (shown error is expected)
    - Package header compiled with errors (again why?)
    - Package body compiled with errors (no errors shown)
    So why is the header compiled with errors, when the object is valid.
    And why is no error shown for COMPILE REUSE SETTINGS when there are errors for the body?
    I use REUSE SETTINGS when recompiling invalid objects that were compiled for debug with
    ALTER PACKAGE abc COMPILE PLSQL_DEBUG = TRUE REUSE SETTINGSRegards
    Marcus
    Version:
    SQL*Plus: Release 10.2.0.1.0 - Production on Di Jan 27 12:45:20 2009
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options

    Hi,
    From SQL Reference Manual [REUSE SETTINGS|http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1007.htm#BGBGEIGD]:
    Specify REUSE SETTINGS to prevent Oracle from dropping and reacquiring compiler switch settings. With this clause, Oracle preserves the existing settings and uses them for the recompilation of any parameters for which values are not specified elsewhere in this statement.
    For backward compatibility, Oracle Database sets the persistently stored value of the PLSQL_COMPILER_FLAGS initialization parameter to reflect the values of the PLSQL_CODE_TYPE and PLSQL_DEBUG parameters that result from this statement.
    Regards,

  • Error message when activation a packaging specification in ICH 5.0

    Dear all,
    I created a packaging spec within ICH 5.0. The check function does not return a error. But when trying to activate the PS I am getting the error message:
    Package specification not activated; no condition records found.
    What kind of condition records does the system mean?
    Regards
    Martin

    Hi Martin,
    You can have a look in the pack spec group and make sure that the flag 'PS_ACTIVATE' it is not set.
    That way you will no longer face this error during the activation process.
    I hope this will help you.

  • Error messages when using InCopy packages

    I have an editor who travels a lot, and is having consistant problems with using the packaging workflow in InCopy. I believe some of his problems are human error - but don't have the technical reasons for the error messages. There have also been some error messages received by the artists when they get the package back and try to update the ID file.
    We are using CS4 and macs with snowleopard OSs.
    Can someone please help to explain what these errors mean below?
    1. InCopy User - when opening the icml file (after first opening the package. Going back to the icml doc for more editing)
    " "" could not be found. Do you want to postpone its recovery?
    Click YES to recover this document later
    Click NO to delete recovery data for this document
    Click Cancel to postpone all document recovery til later"
    2. InCopy user - when trying to package email back to InDesign user
    "This assignment includes missing or modified links. Low resolution versions will be used for the missing items, and the most recently saved versions will be used for modified links. Continue packaging?"
    3. InCopy user - when packaging to send to InDesign user by email
    "An error message occured when sending this email"
    (and then the package was not attached to the email)
    - this is recurring often with only one InCopy user
    4. InDesign user received the package back and when they tried to open it, an error message said that the assignments couldn't be found and the file wouldn't open. The file name hadnt been changed and we could find no reason why the package wouldn't open. (sorry, the artist didn't screenshot the actual message for this one).
    Any help would be a great help - and stop a mutiny by my editors!

    Error message 1 appears when InCopy or InDesign reopens for the first time after a crash. It's try to recover the documents that were open when the program crashed. We often get this error message if files are located on the server and we're not connected, but it could also happen if a file has been moved from it's original location. Whether or not you need to recover the file would drive your response.
    Error 2: It sounds like the InCopy package either does not include links or the linked files have been moved or modified since opening the package. If you can relink images after files come back, it's probably OK for them to proceed with packaging. Personally, I uncheck the box that includes images when creating an assignment. The editor will still be able to see greyed out previews of the images, they just won't be available for editing. This also makes package files a lot smaller.
    Error 3: This could be a problem with the user's default email client. Instead of having them choose Return for InDesign and Email," have them choose "Return for InDesign" and save it to their desktop. They can then attach the package to the outgoing email manually.
    Error 4: Sorry, but I have no idea!
    Best of luck,
    Matthew

  • Change the af:inputListOfValue error message when enter invalid value?

    Hi all,
    I am using JDeveloper 11.1.1.2.0
    When I have af:inputListOfValue in page and put invalid value the error message will appear. I want to display my own error message. How can I change the LOV invalid number error message?
    Thank You...
    Sameh Nassar
    Edited by: Sameh Nassar on Aug 20, 2010 5:52 PM

    Refer:
    Section 28.10, "Customizing Error Handling"
    in below link:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_adv.htm#ADFFD19884
    Amit
    I guess above post won't you much .. I spend sometime on this issue as it got my attention
    It seems there is very less info on how can we over ride default bundle message for the "Invalid Value" error we get
    however you can create your validator for LOV and handle the validation and message in that..
    Here is the link that provides a good detail on how to create / register a validator.
    Once registered you can update the Validator ID of f:validate of LOV and remove the binding property value.
    Edited by: amseth on Aug 20, 2010 1:03 PM

  • Error message when compiling oracle 11g reports

    Hello Team
    When we are trying to compile a oracle 11g report we are getting the below message.
    "Could not read report properties"
    But compile status of the report is Success and we are able to run the report in our environment.
    Could you please advise us how to fix the above error message?
    Thanks ,
    Salaithenagan J

    Hello,
    How do you compile the Reports ? Do you use rwconverter.sh in ORACLE_INSTANCE/config/reports/bin ?
    If yes , could you copy the content of this script in this thread ?
    Regards

  • Error message when compiling WinHelp 2000

    Hello,
    I'm working a project in RoboHelp X5 using WinHelp 2000 to
    create context-sensitive help. I have been working on this project
    for about a week now, and just this afternoon started getting an
    error whenever I attempted to compile. The error pop-up reads:
    "hpj2hlp
    The WinHelp Wizard encountered an unexpected error when
    attempting to generate WinHelp."
    Is anyone else familiar with this error message? How can it
    be fixed?
    Thanks!

    Kathryn,
    The two or so times I got that kind of message, they turned
    out to be due to corrupted .rtf files. The solution that I found
    and applied successfully was to delete all of the .rtf files from
    my project folder in Windows Explorer (not in the RH environment),
    open the project, make a minor change to the default .doc file
    (simply add a space, then delete it), click the Save All button in
    the RH Explorer pane, then the button for compiling and generating
    the WinHelp file - doing all that forced RH to regenerate the .rtf
    files for all of the .doc files (the source files), and the
    regenerated .rtf files were "clean" - the project compiled nicely
    and resulted in a good WinHelp file. I hope the same works for you.
    Good luck!

  • Error message when compiling

    Hello
    I am totally new to Java, but very fascinated. My first attempts however have failed and I do not know why:
    When compiling like:
    javac SystemInfo.java
    I get following Error Message:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    My OS is Windows XP and I am pretty sure that I have set the path-variable correct (just followed the instructions of the book and had no problems).
    Could anyone help me with this problem, please?
    Thanks a lot
    mazarata

    Thanks a lot. The info, I have found about the error message is:
    If you see the error message "java.lang.NoClassDefFoundError: com/sun/tools/javac/Main" when you distribute an application, the JAVA_HOME variable is pointing to a J2SE JRE directory, not a J2SE SDK directory, as it should be. This module requires the JAVA_HOME variable to point to a J2SE SDK directory to resolve all library JAR file references.
    Well, I guess I folllow your advice and re-install Java, as I have not distributed any application.
    Thanks for your help
    mazarata

  • Error Message - when compiling WebHelp

    When created WebHelp excluding a condition build tag brings
    up an "RoboHelp HTML Application has encountered a problem and
    needs to cllose. We are sorry for hte inconvenience. I have two
    single source layouts one for the full help and one that I am
    trying to compile excluding a Conditional Build Tag and the error
    message keeps popping up.
    Using RoboHelp 6. What can I do to resolve the issue?

    See Snippets on my site. It's covered there and there is a
    solution.

  • Error message when trying to extract and install

    Why do I keep getting an error message for CS6 beta when I try to extract and install, message file missing?

    I assume you downloaded from here:  http://labs.adobe.com/technologies/photoshopcs6/
    Did you successfully download the file and check file sizes match? Do you extract ok?  PC, I assume? What OS are you using?
    How far did you get in the installation? Did you select TRY rather than enter serial number? Did you enter your Adobe ID?
    By the way, you should change your name to something other than your email as the bots will go nuts when they find that and you may get spam.
    Pattie

Maybe you are looking for