942: error when trying to browse/refresh Packages, Procedures and Functions

Hi,
I'm using OSD 1.1 against 10g.
I can create and compile functions in a certain schema but when I try to browse the Functions node I get "ORA-00942: table or view does not exist." and the node does not expand.
The same thing happens with the Packages and Procedures nodes.
Does anyone have any ideas?
Thanks in advance
Mike

I've got the same problem with SQL Developer 1.1.0.23.64 against 9.2.0.4.0 and 10.1.0.4.0. This error occured only for a few package/procedure/function owners. I've found that these owners have SELECT ANY TABLE system privilege. In such case SQL Developer generates following SELECT:
SELECT OBJECT_NAME, OBJECT_ID, DECODE(STATUS, 'INVALID', 'TRUE', 'FALSE') INVALID, 'TRUE' runnable, NVL( b.HAS_BODY, 'FALSE') HAS_BODY
FROM SYS.DBA_OBJECTS a,
(SELECT 'TRUE' HAS_BODY, object_name tmp_name FROM SYS.DBA_OBJECTS WHERE OWNER = :SCHEMA AND OBJECT_TYPE = 'PACKAGE BODY') b
WHERE OWNER = :SCHEMA
AND OBJECT_TYPE = 'PACKAGE'
AND object_name = tmp_name (+)
AND SUBOBJECT_NAME IS NULL
AND OBJECT_ID NOT IN ( SELECT PURGE_OBJECT FROM RECYCLEBIN )
Otherwise it generates
SELECT OBJECT_NAME, OBJECT_ID, DECODE(STATUS, 'INVALID', 'TRUE', 'FALSE') INVALID, 'TRUE' runnable, NVL( b.HAS_BODY, 'FALSE') HAS_BODY
FROM SYS.ALL_OBJECTS a,
(SELECT 'TRUE' HAS_BODY, object_name tmp_name FROM SYS.ALL_OBJECTS WHERE OWNER = :SCHEMA AND OBJECT_TYPE = 'PACKAGE BODY') b
WHERE OWNER = :SCHEMA
AND OBJECT_TYPE = 'PACKAGE'
AND object_name = tmp_name (+)
AND SUBOBJECT_NAME IS NULL
AND OBJECT_ID NOT IN ( SELECT PURGE_OBJECT FROM RECYCLEBIN )
Both for 10g.
So you could try to grant SELECT on DBA_OBJECTS to owner of your functions.
I don't know why SQL Developer doesn't SELECT from ALL_OBJECTS in all cases.
Jiri
Message was edited by:
Jiri Suchy
You will need grant SELECT on DBA_SOURCE, too.

Similar Messages

  • Error when trying to attach the Appraisal Submenu and function

    when i click on the link/function of Appraisal i am getting the following error in my Employee's SSHR responsibility:
    ERROR
    Can not access function PER_APPRAISAL_EMPLOYEE. This installation does not manage mode pl/sql. Please contact your System Administrator.
    plz help!

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • No packages, procedures and functions in Schema Browser

    Hi there,
    SQL Developer 2.1 Early Adopter 2:
    For Databases below 10g in Schema Browser no packages, procedures and functions are visible (no entries under these nodes).
    All other objects are shown correctly.
    Is this a known issue?
    Regards
    Andre

    The thread below seems to have an "official" response to this issue:
    SQL Develpoer EA - 9i Support
    Cheers,
    Chris

  • TS1702 Error when trying to browse in iBooks. 1st gen iPad

    When trying to use the "browse" feature in iBooks, I get an error window saying "Cannot connect to iTunes." I have a 1st generation iPad. I've tried every suggestion I've found online, both through Apple and other forums. Nothing fixes the problem. Any ideas? I'm more than frustrated at this point.

    Hi maagordon,
    If you are having issues connecting to the iTunes Store from your iPad, you may find the following article helpful:
    Apple Support: Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Regards,
    - Brenden

  • Getting an error when trying to go to windows explorer and other programs.

    I am having trouble when trying to go to several programs like for instance the Windows explorer, recycle bin, etc. and getting this error: And there is only one program running!!
    "There is not free enough memory to run this program. Exit one or more programs,and then try again."
    minus the quotes of course!
    I called Microsoft and they wanted $100.00 up front and $50-75.00 there after per hour to try and resolve this!
    I called TrendMicro, thinking it might be a virus and it was not. They spent 3 hours with me on the phone trying to help me solve this, but they came up with nothing. And they DID NOT charge me anything for all this time and help over the phone. That is one hell of a company that can do that, while a money hunger company called Microsoft would!
    If anyone know how or what I need to do to solve this, it is greatly appreciative on my end.
    Sincerely,
    Bart
    Attachments:
    error2.png ‏122 KB

    Hello Jerry,
    Thanks for answering this and trying to help me with this. I have been dealing with this problem for over 2 weeks and my bald head is getting thinner by the minute!! 
    The computer is a refurbished one from Toshiba after the main one, kept crashing and they decided to give me a refurbished, step down model. Been having trouble with this also and I fixed the problems it had myself up until this one. I am about a total wreck because of this, but here is the information you wanted!
    It is a QOSMIO
    X505-Q890
    I am also ticked, because Toshiba has put my working drive to D and the backup files on Drive C. This does not make any sense and why they did it, I do not know! 
    Thanks again and I hope this is what you need, if not please let me know.
    Sincerely,
    Bart

  • Database Connector Error when trying to add a stored procedure to my report

    I am trying to add a stored procedure to my report and come up with this error Database Connector Error: 'Cannot obtain error from server.'.  This is in any of our environments, and with any stored procedure.  I am able to connect to tables and views without error.  I'm using Crystal Reports 2008.  Any help would be appreciated.   Thanks

    The following SAP Note might help you
    [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303331333633393335%7D.do]
    regards,
    Raghavendra.G

  • WrongName error when trying to run a package file

    Hi, I am trying to run a file in a package. The package name is called com.davidflanagan.examples.net and the file name is ProxyServer.class. I've set the class path to point to the directory the package is in using the CLASSPATH environment variable. I've tried using "java ProxyServer" and "java com.davidflanagan.examples.net.ProxyServer", but I get a cryptic Wrong name error in both Windows and Linux. Any help would be greatly appreciated.

    First, ProxyServer's source code must start with the line...
    package com.davidflanagan.examples.net;
    Next, you must have a directory structure that matches the package name - a directory named com which contains a directory named davidflanagan which contains a directory named examples which contains a directory named net and ProxyServer.class must be in the net directory,.
    Next, the directory that contains com must be in your Classpath when you execute ProxyServer.
    To execute ProxyServer, use "java com.davidflanagan.examples.net.ProxyServer"
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • [SOLVED]Git error when trying to push a package to AUR4

    Hi,
    I'm currently in the process to upload my packages to AUR4.
    Package 'overlook-fing' builds and run fine on my system, but when I issue the 'git push' command, I get the following error:
    Counting objects: 6, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (6/6), done.
    Writing objects: 100% (6/6), 1.91 KiB | 0 bytes/s, done.
    Total 6 (delta 0), reused 0 (delta 0)
    remote: Traceback (most recent call last):
    remote: File "hooks/update", line 241, in <module>
    remote: for fname in pkginfo['source']:
    remote: KeyError: 'source'
    remote: error: hook declined to update refs/heads/master
    To [email protected]:/overlook-fing.git
    ! [remote rejected] master -> master (hook declined)
    error: failed to push some refs to '[email protected]:/overlook-fing.git'
    I don't understand what is this 'source' error as it was running fine until now.
    Could someone explain where is my mistake. Here is the PKGBUILD :
    # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
    # Created: 08/12/2010
    # Maintainer: Salan54 <salan at fremenil dot com>
    # Modified: 05/16/2013
    pkgname=overlook-fing
    pkgver=2.2
    pkgrel=3
    _altpkgname=fing
    pkgdesc='The ultimate tool for network discovery and scanning'
    arch=('i686' 'x86_64')
    url='http://www.overlooksoft.com/'
    license=('custom:Overlook Freeware license')
    depends=('boost-libs' 'openssl' 'zlib')
    options=(!strip)
    case $CARCH in
    i686)
    source=("${pkgname}-${pkgver}.tgz::http://www.overlooksoft.com/packages/linux32/${pkgname}-${pkgver}.tgz"
    "fingbox-sentinel.service"
    "fingbox-sentinel.script"
    md5sums=('fa523c841daa6963fda51a32b5972bcd' '013488a7afe3048524df6b7527faae69' '95dbef149b9d3a9ea3bac0bd0c77b343')
    x86_64)
    source=("${pkgname}-${pkgver}.tgz::http://www.overlooksoft.com/packages/linux64/${pkgname}-${pkgver}.tgz"
    "fingbox-sentinel.service"
    "fingbox-sentinel.script"
    md5sums=('3e599f665442631657ebc8bef74d98e1' '013488a7afe3048524df6b7527faae69' '95dbef149b9d3a9ea3bac0bd0c77b343')
    esac
    package() {
    cd "$srcdir"
    cp -r usr $pkgdir/
    install -dm755 "${pkgdir}"/etc/${_altpkgname}
    install -dm755 "${pkgdir}"/var/data/${_altpkgname}/{box,sentinel}
    install -dm755 "${pkgdir}"/var/log/${_altpkgname}
    install -Dm644 ./usr/share/${_altpkgname}/template/conf/sentinel.txt "${pkgdir}"/var/data/${_altpkgname}/sentinel/
    install -Dm644 ./usr/share/${_altpkgname}/template/conf/*.properties "${pkgdir}"/etc/${_altpkgname}/
    # systemd & fingbox-sentinel
    install -Dm755 fingbox-sentinel.service "${pkgdir}"/usr/lib/systemd/system/fingbox-sentinel.service
    install -Dm755 fingbox-sentinel.script "${pkgdir}"/usr/lib/systemd/scripts/fingbox-sentinel
    # license
    install -dm755 "${pkgdir}"/usr/share/licenses/${_altpkgname}
    ln -s /usr/share/${_altpkgname}/doc/license.txt "${pkgdir}"/usr/share/licenses/${_altpkgname}/license
    # vim:set ts=2 sw=2 et ft=sh tw=100:
    Thanks for your answers.
    Salan
    Last edited by Salan54 (2015-06-08 14:56:39)

    Try updating the PKGBUILD to use modern architecture-specific source arrays instead of bash conditionals.
    man PKGBUILD | less -p "source \(array\)"

  • Permissions error when trying to recover a package

    The error: The operation can’t be completed because you don’t have permission to access [file]
    I have been using a writing program called Scrivener which has a package with many files. That I kept open nearly all the time (including when Time Machine did its backups).

    First, ProxyServer's source code must start with the line...
    package com.davidflanagan.examples.net;
    Next, you must have a directory structure that matches the package name - a directory named com which contains a directory named davidflanagan which contains a directory named examples which contains a directory named net and ProxyServer.class must be in the net directory,.
    Next, the directory that contains com must be in your Classpath when you execute ProxyServer.
    To execute ProxyServer, use "java com.davidflanagan.examples.net.ProxyServer"
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • Adobe CS6 32bit Extension error when trying to browse in bridge.

    There are times I have to use the 32bit version of CS6, because the plugin being used can't be used in the 64bit version. But the last two days, this error started up out of the blue.
    This is the error popup I get, verbatim "Could Not Complete the Browse In Bridge command because Photoshop was unable to find the Javascript plug-in"
    This error doesn't happen with the 64Bit version, nor does it happen in CS5 64 or 32bit, and not in CC 32bit (downloaded the trial to test to see if it was a 32bit compatbility problem) and none of these cough up this error.
    I haven't copied or deleted any parts of Adobe or any files in any of the program directories.

    Extension Manager CS6 no longer supports Bridge and this problem occurs in Photoshop. Please seek help in http://forums.adobe.com/community/photoshop.

  • [SOLVED]error when trying to find a package with pacman-Ss

    gives me the following error
    error: could not open file /var/lib/pacman/sync/extra/clutter-gtk-0.10.2-1/depends: No such file or directory
    any solution thanks 
    Last edited by jccl1706 (2010-03-16 19:03:27)

    Did you try with: pacman -Ss. (space between pacman and -Ss argument)
    Last edited by n0dix (2010-03-16 18:41:51)

  • Error when trying to give permissions to users and adding them to the site

    Hi,
    i'm facing an issue with a public website (SharePoint server 2010) where i can't add any users (windows users) or grant permission for them.
    I checked the Authentication Provider for the web application and Windows Authentication NTLM is enabled, the IIS also enable windows authentication for that site. 
    the issue happens when i go to Site Action --> Site Permission --> Grant Permissions --> I select users after searching for them and once i click OK Exception is appearing. 
    I check the logs and all i found is:
    10/12/2014 12:16:15.84 w3wp.exe (0x07C8)                       0x0AA0 SharePoint Server             Logging Correlation Data       9gc5 Verbose Thread change; resetting trace level override to 0; resetting correlation to a17a120f-ebf7-4de7-aeb4-91c0ae7be28e d07aff74-632e-4bfe-93d0-415b93f53f6a a17a120f-ebf7-4de7-aeb4-91c0ae7be28e
    Note that this happen all of sudden, i was able to add users / groups, users to groups, grant permissions directly but no i can't do none
    My website is grating permissions also for Anonymous users and it's working fine
    This is production server site so i can't try lots of options unless i'm sure of them
    Event viewer is not capturing any error 
    Please help

    This could be browser issue, please try adding site in trusted site in browser or try to some other browser like Chrome/Mozilla.
    I have faced this issue when I try to access site from server in IE, it get failed on "OK"  when adding user.
    I hope this I will help you
    If my contribution helps you, please click Mark As Answer on that post and
    Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • Packages Procedures and functions

    How can i use a Procedure or a function in sql report
    Is it like select package_name.function_name ,
    a.col1 , a.col2 from table_name a
    I tried but its not recognizing the function as its in other schema.
    What are my options to access this from other schema.

    CASE 1: --This errors out
    report built with type ="SQL Query"
    source =
    select Xxmc_Payroll_Adj_Pkg.XXMC_GET_DATE_EARNED@APPS ( 3401542 ) from dual
    error while creating the region
    1 error has occurred
    Query cannot be parsed, please check the syntax of your query. (ORA-06553: PLS-103: Encountered the symbol "OR" when expecting one of the following: The symbol " was inserted before "OR" to continue.)
    CASE 2: --This works
    report built with type ="PL/SQL Procedure (anonymous block)
    source =
    declare
    x varchar2(15) := '' ;
    begin
    x := Xxmc_Payroll_Adj_Pkg.XXMC_GET_DATE_EARNED@APPS ( 3401542 ) ;
    --htp.p('Date Earned is : '||TO_CHAR(x) );
    end;
    This works great

  • I keep receiving security errors when trying to open a pdf.

    I keep receiving a security error when trying to run my javascript program, the function previously worked, but now creates an error after I entered the addWaterMark function. I have put my whole code below for my script.
    The basic function is to load a text file into an array which has the path and file location, open the document, add a watermark, save the file, close the file, then repeat for the next array position.
    I am using Acrobat Standard so I am unable to debug using the console, therefore I am struggling to understand what I am doing wrong. I will point out that I am not a fluent programmer, only have a basic knowledge of programming.
    Code
    app.addSubMenu(
      cName:"Extras",
      cParent:"Edit"
    app.addMenuItem(
      cName:"Import File",
      cParent:"Extras",
      cExec:"main()"
    function main()
      var fileCount = 0
      var listOfFiles = []
      listOfFiles = importData()
      amountOfFiles = listOfFiles.length
      for (var i =0; i<listOfFiles.length; i++)   //calculates amount of entries in the array listOfFiles
      newFile = openFile(listOfFiles[i]) //Opens current file
      var d = app.activeDocs; //Gets current document title name 
      addWater(d[0]);
      app.execMenuItem("Save");
      for( var x in d ) d[x].closeDoc();
    function addWater(myName)
    { app.alert("watermark",0);
      myName.addWatermarkFromText(
      cText: "OBSOLETE",
      cFont: "Arial",
      nFontSize:36,
      aColor: color.red,
      nOpacity: 0.5
    //function SaveFile saves the current file but with an addition of WM to the filename
    saveFile = app.trustedFunction(function(currentDoc, currentFileName)
      { app.alert("savefile",0);
      app.beginPriv();
      currentDoc.saveAs(currentFileName);
      app.endPriv();
    //function openFile which opens the file named in the variable currentFilename
    openFile = app.trustedFunction(function(currentFileName)
      {app.alert("openfile" + currentFileName,0);
      app.beginPriv();
      app.openDoc(currentFileName);
      app.endPriv();
    //importData function imports the paths and filenames contained in the list.txt located on the desktop
    importData = app.trustedFunction(function()
      {app.alert("import",0);
      app.beginPriv();
      cFilePath = "/C/Users/103019944/Desktop/File_List.txt";
      var stmData = util.readFileIntoStream(cFilePath);
      var cData = util.stringFromStream(stmData);
      var cMsg = cData;
      var fileArray = cMsg.split("\r\n");
      for (var i =0; i<fileArray.length; i++)
      return(fileArray);
      app.endPriv();

    I have found the error, you are quite correct I had an extra letter in the filename, I thought I'd checked this but just shows that sattention to detail is the key.
    The script works perfectly now, thanks you for your help, really appreciated.
    Thanks again
    Ben

  • Error when trying to refresh the current report-Invalid prompt def.WIS00005

    I am trying to create a Webi report using a Universe created with Universe Design Tool 4.0. I have created a new universe with a secured relational connection from a cube in our BBD system. The Universe can be created and exported in UDT (and when I test the connection, I get a message saying the server is responding). I can see values for the BEx query in BEx analyzer.
    When I open Webi and connect to a universe, I can see the universe, but when I put a dimension to our results tab and go to "run query", I first get the error "Error when trying to refresh the current report". If I close this error I get the error "Invalid Prompt Definiton - WIS00005". Has anybody else had this issue and if so, where can I begin to troubleshoot the error?

    Hi,
    Please note that if the object parses at Universe level it may still fail at runtime especially for the prompts.
    If you still experience the error after applying Patch 11 please analyze the characteristics of the prompt, get some trace logs with High level of detail, they surely  will help.
    Thanks!
    Best regards,
    Simone

Maybe you are looking for

  • Header and Footer in ALV.. URGENT

    Hi All, I want to print Header and Footer in ALV list/grid. Like in header, i want page no.( 1 of 10), UserName, Report Name etc.. and in Footer, I need selection screen criteria. For this I am using a function module (FM_SECECTOIN_CRITERIA_PRINT). W

  • How to find out query name using Elements of the query builder.

    Hi SDNers, how to find out query name using Elements of the query . thanks, satyaa

  • Create Temporary Tables in a Package

    In a package that I have I am trying to create a temp table. But when I try to alter the Package it gives me an error on the keyword CREATE. I am also unable to use the TRUNCATE Command. Has anyone ran into this problem and if so is there a work arou

  • Oracle Portal Virtual Host Enhacement for Multiple Virtual Hosts

    I open the TAR Number: 4326752.996 The TAR is related to " REQUEST ASSISTANCE FOR MULTIPLE VIRTUAL HOSTS AND MULTIPLE PAGE GROUPS CONFIG. " This is the Scenario: We Have Oracle Portal installed in a single Box. yes I know I know... but Not everybody

  • Cannot connect to wifi printer

    I have a new macbook pro and am trying to set it up to print to a shared canon ip1000 connected to an xp pc . I have a netgear router. I can access the printer and set it as the default printer on the MBP. When I send a job to the print queue, the jo