Loosing Package Body after Save As to file

Hi,
loosing File and Package Body in
after Compiling a package body, I've tried to save this body to file via Save As.
(I've changed the directory and accepted the default filename). The file already exits in this directory, so I've accepted the overwrite dialog box.
Then the Package Body was removed from Database (not shown in the list of packages - also after several refreshs and filter changes) and the saved file contains only
CREATE OR REPLACE PACKAGE BODY
NULL
What I've done wrong?
Matthias

We need a few more details to replicate. Are you using 1.0.0.14.67 and which db version are you running against.
Then, was this an existing package body or one you were just creating. If just creating, did you already have a package spec and were creating the body? Did you do a right-click 'New Package Body'? If you compiled code, it would go into the database. I can't imagine that a Save As could possible drop that code.
-- Sharon

Similar Messages

  • Webutil package don't save and load files

    As above, nothing happens but there are no errors. Anybody knows why ?

    A BLOB is required. I would recommend that you review and execute the sql script provided with Forms 10.1.2 (in \forms directory). The file name is create_webutil_db.sql. Also review the WebUtil documentation. Here is the reference for specifically this topic.
    WebUtil Documentation on OTN

  • User in Package Body changing

    Hello,
    When i create a package body, and change the user to the default and save...
    It continually switches back to 'User3'. If I open the 'properties', I see
    the correct user is set, however when I 'edit' the body,
    in the declaration it always reverts back to:
    CREATE OR REPLACE PACKAGE BODY User3.MYPKG_PKG AS ...
    even if i change that and save.. next time it opens I see the same thing..
    I have the Default user set correctly in the prefs.. anything else i can try?
    thanks!
    -chris

    Hi Chris,
    It seems there is a problem that if there is a tab in the main window showing the text of the Package or the Package Body, then on doing a File/Save, the owner is reset to the owner shown in that text.
    One of these tabs is set up whenever a new Package or Package Body is created.
    Unfortunately this text does not get updated if the Properties dialog is subsequently used to change the User.
    To get round this you should close the tabs for the Package and the Package Body before using the Properties dialog to change the User. (If you then wish to reopen them, you can do this by selecting Edit from the menu that appears if you right-click over the Package or Package Body.)
    There is a second problem that the Default User identified in the Preferences is ignored when a new Package is created.
    I have logged bugs on both these problems.
    David

  • Sql developer hangs when saving pl/sql external package or package body fil

    When I open a package body file I can modify the contents of the file.
    Compilation of the file works fine but when I want to close or save the file SQL developer hangs. I use version 1.2 (previous version did have the same problem.)
    Somebody has an idee what I'am doing wrong?

    Are you using 1.2.1.32.13?
    Sue

  • Lightroom 5 file edited in photoshop cc 2014 does not appear back next to original after save. Is anyone else having this issue? If so what is the fix.  The edited image appears back in lightroom in a new folder.

    Lightroom 5 file edited in photoshop cc 2014 does not appear back next to original after save. Is anyone else having this issue? If so what is the fix.  The edited image appears back in lightroom in a new folder.

    I'm performing a normal "Save", not "Save As". Work flow I'm using is as follows:  Select photo in Lightroom 5.7 >" Edit In" Photoshop CC 2014 > (after working on photo is PS) > Save > close PS. Photo returns to Lightroom 5.7 in a new folder rather than next to the original. Prior to purchasing the monthly plan and upgrading to PS CC 2014, I performed this same work flow using Lightroom 5.6 and Photoshop CS6 without any issues.
    Just for fun... I attempted to move the edited file back into the original folder. I received a prompt that said the file already existed in the original folder, however I can't see it except the new folder that LR created. I tried several different sort orders, etc without any success.
    *** Follow up: Was unable to resolve the issue using Photoshop CC 2014. Uninstalled PS CC 2014 and went back to using Photoshop CS6. Return trips from LR 5.7 to Photoshop is now performing as it should: returning edited photo back to the original folder in LR 5 and placing next to the original image.
    Should anyone have a suggestion on getting Photoshop CC 2014 to do the same, I would love to be educated.
    Thanks for the help, dj_paige.

  • Preflight keeps saying  "Unable to save the PDF File after post processing"

    I'm at a loss how to overcome this. Spent almost a whole day, together with another person, trying to fix it with no success!
    I use Adobe pro CC on a PC
    I usually receive pdf files from this one client who edits and formats a book in Mac Pages. Up until a few days ago I had no problems converting the client's pdfs into pdf/x3, but the last three versions of the latest file have stumped me.
    Just to test, I first just tried to convert the file (33MB), unchanged, to pdf/x3 using the save as other option - message reads  "the document has been saved, however, it could not be converted according to the selected standard profile: convert to PDF/X. Please use preflight with the profile "Convert to PDF/X" in order to identify those properties of the document which prevent it from being compliant to this profile"
    if I then choose under Profiles - convert to PDF/X3 - it says no problems found, and appears to have saved the file. If I try to save again as a pdf/x3, just to make sure, it then tells me it's not pdf/x3 compliant
    OK - so then I go back to preflight - and choose the standards function - then pdf/x3, then continue with the default colour profile. About halfway through the conversion, at the point of saving the file,  I get the message "unable to save the pdf file after post processing"
    So far I've had no luck figuring out what this is.
    I then choose the option of "verify compliance of ppdf/x3" - message reads "pdf/x3 version key (GTS_PDFXVersion) missing", and "Trapped key not true or false"
    Help!! How can I be sure the file converted / or not?
    kim

    Yes I was/am aware of Preflight's inability to play nicely over cloud technologies in certain cases, especially wrt Standards technologies, this will be partially addressed in an upcoming version of Preflight without saying too much.  But the same thing could theoretically have happened if the file was also located on another local network client or server.  Leaving aside the argument that this may violate the Acrobat User Agreement - since purchasing the software, the user agrees to employ its functionality on a single host system and precludes host-client-based scenarios - this simply is not a supported use, meaning the user may not have expectations that it will work at all, if the applications requirements are not observed.  There do exist server-solutions for Preflight files within networks, but Acrobat and by extension Acrobat Preflight is not one of those solutions, and (still) belongs in the single host-based desktop environment.
    However most (99.9%) functions within Acrobat <-> acrobat.com file exchange are supported, file syncing across multiple devices will soon be supported, but Standards compliance is still admittedly a problem at this point.  Some testing has been done using 3rd party cloud technologies starting with enterprise-based solutions, such as Office 365, and this will continue to ramp up to include other 3rd party products.
    As for the second point, Preflight will usually change the PDF version to be complaint, are you saying that it was unable to do so in this case?  It seems that this error should have popped up during the normal Preflight conversion attempt.  Personally I think solving a workflow problem using the print path is a little bit of a heavy-handed approach, but if helped and the results are acceptable, then that is good.  Since that path is non-existent on a Mac, as one needs to Save as Adobe PDF from the Print dialog's PDF drop-down menu, I am assuming your workflow involved file creation on a Mac, then further processing on Windows using the PDF printer.  I am wondering if a simple resave/Save As... to PDF with overwrite on a Mac, or Preflighting the file using a PDF version compatibility profile before the PDF/X conversion would have helped.  Since there are such a multitude of methods that a PDF can be created, there are also many ways within Acrobat that a user can shape the file to be compatible with the expected workflow, ie, 'many ways to skin a cat', without being morbid.

  • Just upgraded to Mavericks. Now I cannot access scans from my hp scanner. After it complete the scans and I try to save as tiff, jpeg or pdf I get a either a grey blur or a message that says cannot save because the file cannot be written to.

    Just upgraded to Mavericks. Now I cannot access scans from my hp scanner. After it complete the scans and I try to save as tiff, jpeg or pdf I get a either a grey blur or a message that says cannot save because the file cannot be written to. I did not have any problems before the upgrade. I would greatly appreciate any light shed on this.

    Go to the HP site and look for drivers for your scanner. It apparently needs an updated driver to work with Mavericks.

  • After I upgraded to OSX Mountain Lion, QuickTime no longer auto names and auto saves, my recorded files.

    After I upgraded to OSX Mountain Lion, QuickTime no longer auto names and auto saves, my recorded files.

    Try using one of these video players. VLC usually works with most files.
    Video Player - Divx
    Video Player – Flip4Mac
    Video Player - VLC

  • When I save a site after I modify the file the changes do not show up in my upload file.

    When I save a site after I modify the file the changes do not show up in my upload file. What am I doing wrong?

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • I am trying to update a chart in Pages that I created in Numbers, but the refresh button does not show up after I save the Numbers file. Thoughts?

    I am trying to update a chart in Pages that I created in Numbers, but the refresh button does not show up after I save the Numbers file. Thoughts?

    It is hard to exactly understand what you have  done or not by you one sentence description. My thought is have you read in the Pages User Guide? Here is what it says about updating a chart in Pages:
    Updating a Chart Copied from a Numbers Document
    If you’ve created a chart in Numbers, you can copy it and paste it into your Pages document. After it’s been pasted into Pages, the chart remains linked to the data tables it references in Numbers. To change the chart data, open the original Numbers document and edit the data there, save the Numbers document, and then refresh the chart data in Pages.To update a chart after you’ve updated its linked Numbers table:
       Select the chart on the page and click the Refresh button that appears.
    Note: You must save the Numbers document before copying and pasting your chart into your Pages document and after editing the Numbers data tables that the chart references.
    I hope it has helped you.

  • Photoshop creates wonky file permissions after  different user modifies file and saves over

    We have a fileserver sharing out files to Windows clients using samba service on Mac OSX Server 10.6.5.
    We have weird permissions issue with psd files in Photoshop CS5 64 bit.
    A user (userx) belonging to the group wheel creates a file called version1.psd
    POSIX
    ACL
    user    Read & Write
    wheel  Read & Write
    others Read & Write
    A different user (usery) opens version1.psd, makes some modifications and save it out as version2.psd
    POSIX
    ACL
    usery  Read & Write
    wheel  Read & Write
    others Read & Write
    Now userx opens version2.psd and makes modification and saves the current file. Userx can nol onger access the file he just saved.
    POSIX
    usery Custom
    ACL
    userx  No Access
    wheel  Read & Write
    others Read & Write
    This led me to test modifying original file (version1.psd) and save. It does the same thing.
    Don't understand why it has this behaviour. Is this some kind of bug with photoshop as when we do modifications outside of Photoshop, permissions are always fine? Thanks ahead for any help.

    We have solved our issue.
    After running Adobe updates on machine that uses CS6 and then re-starting that machine, our issue seems to have disappeared.
    Hope this helps others.
    Best of luck.

  • 3.0EA4: NPE when open package body from file.

    What I did:
    1. start sqldeveloper
    2. goto Files tab
    3. dblclick a package body file (a_pkg.pkb) in recent file list.
    4. dblclick another package spec file (a_pkg.pks) in recent file list.
    5. error !
    Here is the stack trace.
    java.lang.NullPointerException
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1420)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
         at oracle.ideimpl.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
         at oracle.ideimpl.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
         at oracle.ide.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:200)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:434)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1835)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2176)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2205)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:211)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2059)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2118)
         at java.awt.Component.dispatchEvent(Component.java:4244)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2441)
         at java.awt.Component.dispatchEvent(Component.java:4244)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    I have several schemas but let us just look at the 2 .
    I have open connections to both of the 2 schemas.
    I do some work in the A schema and then returns
    to the B-Schema, but forget to change the connection in the connection drop down list.
    So now my connection points at the A-schema.
    I open a package body file (from the file system !!!! not from the database)
    do some corrections in the package body and then compiles the package body (belonging to the B-schema)
    erroneously in the A-schema. I do not do this on purpose, but because i forgot to change the connection
    and the connection in the "drop-down connection list" still points to the A-schema and I'm not prompted for
    a password as the connection is open.)
    The compiler compiles my package body in the A-schema with an error and tells me "package spec"
    does not exist which is true - the package spec exists in the B-schema and not in the A-schema.
    Therefore I choose the B-schema connection in the connection drop-down list in order to compile
    the package body in the right schema (the B-schema).
    Now I receive a message "your priviliges are insufficient" - which they are not.
    The only way I can get back into business is to close down sqldeveloper re-open it and now
    compile the package body in the right schema.
    Sqldeveloper compiles the pck-body in the A-schema as it was told to do, it is not a random schema
    I have to remove the pck-body afterwards !!
    The annoying thing about this is I have to close down sqldeveloper in order to be able to compile my package.
    I do not have explicit schema object reference in my declaration
    regards

  • Package body "SYS.DBMS_SQLTUNE_INTERNAL" has errors after upgrade from standard to enterprise

    Hi
    I have upgraded my Oracle 11g 11.2.0.4  from standard to enterprise version.
    When I try to use the sqladvisor I recevie the error:
    There was a problem creating a SQL tuning task.
    ORA-04063: package body "SYS.DBMS_SQLTUNE_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_SQLTUNE_INTERNAL"
    ORA-06512: at "SYS.PRVT_SQLADV_INFRA", line 245 ORA-01403: no data found
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 684 ORA-06512: at line 1
    Looking the status of the packages, the package appears like invalid, When i try to recompile it  fails with error:
    Body
    3233
    25
    PL/SQL:
    ORA-00904: "P"."MASKED_BINDS_FLAG": invalid identifier
    Anybody know how can i recompile it ?
    I have look for the error in metakink but i can't find nothing
    thanks

    Pl detail how you upgraded to EE version
    https://docs.oracle.com/cd/E11882_01/server.112/e23633/intro.htm#UPGRD12355

  • Why can't I save my indesign file after I import a pdf file?

    I import a multiple page pdf into indesign and I can not save the indesign file. I have tried to resave the pdf file and import again, but no luck in saving the indesign file. Please help.

    See this post:  http://forums.adobe.com/message/2445821#2445821

  • How to get the value of the current form values after "save" in MD form

    Hi,
    I am trying to run a procedure using the form values right after I save the current records in a master-detail form. When I pass the value using p_session.get_value to the procedure, there is only null value passed. I checked the package body generated and found that the OnReset function runs immediately following the saving of the current records and this onReset function is called within the OnSave procedure. So when I save the current changes, I loose the values in the p_session. Any PL/SQL code I write after OnSave, does not get any p_session value.
    Interestingly, in case of just one table form, the OnReset is not within the OnInsert function and it is possible to get the p_session values. OnReset runs after OnInsert and within this two functions we can write any pl/sql code on the Insert button PL/SQL handler.
    I have the following questions:
    1. Why is the procedure written differently in case of master-detail form ? Why is the OnReset inside the OnSave ? How do we write codes which we want to execute before onReset and after OnSave ?
    2. I want to run a procedure after onSave and before OnReset. How do I do that ? Do I have to change the package manually ?
    3. If the above is not possible, I can also try to store the values I need to run the procedure before I save in some variable. How do I do that ? It seems I cannot declare variables to store session values inside the pl/sql event code on Save button, because it gives me error. The variable declaration code goes in between the begin and end of genesys.. procedure and that is not allowed in pl/sql
    Please help me with this. I definitely need to run a procedure after saving for almost all of my forms. Otherwise I am not sure what to do with my development. I am completely stuck with this. Thanks a lot for helping me out.
    Mainak

    Never mind. I found the answer.

Maybe you are looking for

  • Attachments present in message raw source, but not regular message window

    Here's a weird one. People email me attachments (usually a PDF or Word doc). But the attachments are not present in the normal message window. However, if I look at the raw source, the attachment is there. Leopard 10.5.2, Mail 3.2 (919/919.2), IMAP.

  • App with hadwriting notes for .pdf and .doc files?

    Is there and app that aloud to makes HANDWRITING NOTES (with Stylus, using different colours, sizes, etc) in files .pdf or .doc??? I really need something like Paperpad App, to make notes while reading. Thank you.

  • Accidentally deleted itunes folder.

    in my zeal to create more space on my laptop i deleted my itunes folder thinking I had everything backed up. Then I remembered that 2 nights ago i bought 2 albums from itunes. does anyone know of a good recovery program that would help me get them ba

  • Merge in DSO

    Hi Friends, I have the following situation in BI 7.0 Let say DSO1 & DSO2 have fileds as follows. DSO1 --- A,B,C,D DSO2 --- A,B,E,F I have to merge DSO1 & DSO2 to DSO3 DSO3 --- A,B,C,D,E,F DSO1 to DSO3 is direct i.e. A,B,C,D Condition is, If the value

  • AIR for TV OEM and system integration development

    My company is interested in using AIR for TV in our product line which implies that we need the IDK, DDK, and EDK with a binary distribution of AIR.  How do we get started?  Can someone please point me to a link or a contact?  Thanks!