3.1EA2 bug still not fixed - Members of package body not listed in the tree

Hi, I was working today with SQL Developer again and found that this bug is still not fixed even when it was reported more than 1 year ago!!!
I did a quick search and found it here
Package Body Tree not always showing
The problem is when you expand the package specification or package body tree, not all members of the specification/body are listed. This is mostly observable in the package body, but it regards to the specification as well.
Consider this case:
CREATE TABLE EMP (
    ID               NUMBER(6,0) DEFAULT 0,
    NAME             VARCHAR2(20 BYTE) DEFAULT NULL,
    DEPT             VARCHAR2(20 BYTE) DEFAULT NULL,
    FUNCTION         VARCHAR2(20 BYTE),
    PROCEDURE        VARCHAR2(20 BYTE));
CREATE TABLE LOOP (
  AREA    VARCHAR2(5),
  VALUE   VARCHAR2(2));
CREATE OR REPLACE PACKAGE Test_Package1 AS
gvc_const CONSTANT VARCHAR2(10) := 'xxx';
PROCEDURE Test(p_RC OUT NUMBER,
               p_ID IN NUMBER);
END Test_Package1;
CREATE OR REPLACE PACKAGE BODY Test_Package1 AS
PROCEDURE Test(p_RC OUT NUMBER,
               p_ID IN NUMBER)
IS
BEGIN
  --INSERT INTO EMP (ID, NAME, DEPT, PROCEDURE) VALUES (1, 'Tina', 'xxx', 'xxx');
  --INSERT INTO EMP (ID, NAME, DEPT, FUNCTION) VALUES (2, 'Jeff', 'xxx', 'xxx');
  --INSERT INTO LOOP(AREA, VALUE) VALUES('a','b');
  NULL;
END;
END Test_Package1;Compile the package specification and the body. Expand the spec + body in the tree. Uncomment any of the commented lines in the package body and compile the body again. Now expand the package body again and look what is displayed.
Why? It is because SQL Developer handles words "Function", "Procedure" and "Loop" as keywords and according to them does the parsing.
Another case
CREATE OR REPLACE PACKAGE Test_Package1 AS
gvc_const CONSTANT VARCHAR2(10) := 'xxx';
TYPE Loop_rec IS RECORD(
  item1   LOOP.AREA%TYPE);
PROCEDURE Test(p_RC OUT NUMBER,
               p_ID IN NUMBER);
END Test_Package1;Compile just this specification and try to expand it in the tree. Again, during parsing the package, SQL Developer takes the word "LOOP" into consideration and fails to parse the specification.
There is exactly the same problem when you declare functions from external dll libraries in package body. Since there is no "END;" in this case, SQL Developer's parser fails...
To me it seems you simply blindly took some keywords like "FUNCTION" and expect there will be some "END;" keyword corresponding with it.
Can anyone have a look at this and finally fix it?

Hi,
Thanks for trying out SQL Developer 3.1 EA2 and providing a clear, reproducible test case for this issue. I logged an internal bug for it:
Bug 13438696 - 3.1EA2: FORUM: CERTAIN KEYWORDS IN PKG BODY BLOCK MEMBERS FROM CONN VIEW TREE
It seems the bug noted in the other forum thread you reference has been fixed, but really had nothing to do with problems discussed either here or there. That fix involved adding an Edit Body... item to the Package context menu in the Schema Browser, not displaying Package members correctly in the Connection view tree.
Regards,
Gary
SQL Developer Team

Similar Messages

  • The audio in "speak screen" stops working after a few uses. IOS 8.2 did not fix this problem unfortunately. I'm using the Alex voice on a Sprint iPhone 6 plus- if that matters.

    I really enjoy the speak screen feature, as the voiceover is too inconvenient and tricky to use. The speak screen option works oerfectly for reading, and helps me as I'm dyslexic. However, the Alex voice stops working after the initial use or soon after. I then have to restart the phone every time in order to get the speak screen to acruelly speak again. Really annoying and was hoping that IOS 8.2 Would fix this, but it appears it had not fixed this bug. Any help with this?

    Any problem when connected to another wi-fi network besides your own?
    The only additonal troubleshooting options after powering the iPhone off and on, an iPhone reset, and resetting network settings on the iPhone is restoring the iPhone with iTunes from the iPhone's backup and/or restoring with iTunes as a new iPhone or not from the backup.
    If no change after restoring as a new iPhone or not from the backup - the same when connected to any wi-fi network besides your own as well as not being able to maintain internet access when connected to your carrier's cellular network, the iPhone has a hardware problem.

  • BUG 1.5 : Can't create package body.

    I'm getting this stack dump in the console trying to create a package body.
    I'm logged in as a dba.
    executed 'alter session set current schema=x';
    created package in the worksheet.
    opened package from Other users|x|packages.
    Edited and compiled package.
    Tried to create body from connection tree context menu.
    I have both viewer and edit window open on the package. The stack dump occurs regardless of which one had focus before I go to the tree to create the body.
    Exception while performing action Create Body
    java.lang.IllegalStateException: Not in compound edit
            at oracle.javatools.buffer.AbstractTextBuffer.endEdit(AbstractTextBuffer.java:1126)
            at oracle.ide.model.TextNode$FacadeTextBuffer.endEdit(TextNode.java:1074)
            at oracle.dbtools.raptor.dialogs.actions.CreateBodyAction.launch(CreateBodyAction.java:94)
            at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:140)
            at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
            at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
            at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
            at java.awt.Component.processMouseEvent(Component.java:5488)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
            at java.awt.Component.processEvent(Component.java:5253)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1774)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    This has been fixed for the patch release 1.5.1.
    Sue

  • My ipad running on ios 3.2.2 was working fine with the home wifi network. Upgraded to 4.3.2 and suddenly it recognises the network but will not join it. Tried all solutions listed in the troubleshooting and suggested by apple technical support. any help?

    Have ipad 1. Was working fine and was able to connect to the home Wi Fi network. Was running ios3.2.2. Upgrade to so called improved ios 4.3.2 and cheers the pad just doesnt join the home network. Tried all the tricks and trouble shooting listed in the forum and as guided by the technical support. Even restored the pad three times. Still the same problem remains. Have been advised to upgrade to 4.3.3, but am apprehensive- dont know what else will stop working. As such without WiFi my pad is as good as a piece of junk. Apple has some serious issues that require sorting out. If anyone can help me kindly do so.

    Am having the same problem, and it appears NO-ONE on the thread either knows how to fix, or is willing to answer your or my question.
    like you, my problem is absolutely linked to upgrading to 4.3.3.  Everything worked fine for 10 months before that upgrade, and NOW well.........
    Seems we iPad 1 users are no longer worthy!!  Pity, had hoped this would have been an easy fix.
    keeping fingers crossed some whizz will help us out

  • Adobe Reader 9 will not install reporting installatiom package could not be opened

    I have WIN XP PRO with SP3. This is a new machine and is running beautifully except Adobe Reader 8 or 9 will not install.
    At about 94% done the Adobe Download manager stops and shows the following Windows Installer message
    The installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer Package.
    Of course when I click OK. I get the message from the downloader that "Installation operation completed successfully". Which of course is not true.
    Can any one explain what is happening, and how I should address?

    Thanks for the help. Your solution to unregister and register msiexec did not resolve the problem, but it got me thinking and I continued looking down this line of thought through the Microsoft KB articles. There I found a comment per security rights authorization. I had been using an account with administrator rights, but I tried again using the actual administrator account. This worked fine. Adobe 9 is installed and running.

  • BUG 1.5:Can't edit package body in other user.

    This is getting ridiculous. I didn't really have time to do anything with pl/sql development during the EA period and now that I do, nothing seems to work.
    I have a package and package body owned by user x. I am connected as system.
    I can edit the package, but not the body. The edit window opens, and I can compile it but I can't make any changes in the editor.
    1.5 prod with jre
    windows xp sp2
    Oracle 11.1.0.6.0

    We don't have a date scheduled for the patch release. We're working on the key issues and will release the patch when these are done. We do not plan to make this a long drawn out process.
    Sue

  • Table or views does not exists on create package body

    Hi folks.....
    I',m having a problem....
    I am trying to create the pakage body, but i can't because i'm get the error ORA-000942 TABLE OR VIEWS DOES NOT EXIST, i don't understand !!!!
    When i create de procedure, it's suscessful
    I did GRANT ALL ON GEMCO.CAD_FILIAL TO USR_MLADMIN;
    But the error persisits
    Someone has any idea ?
    Tanks Spaulonci

    Is USR_MLADMIN a role or a schema?
    You need to grant the privileges directly to the schema and not through a role

  • I can't download the iTunes upgrade.  The message says download did not complete , Widonws Installer Package did not run  and part of the setup did not finish.

    This forum was so helpful with my last issue so let's try this mystery....
    My son has an iPod (probably 1-2 yrs old).  Somehow when I set it up it transferred all of my photos to a library on the iPod.  I can't figure out how to delete the photos and he can't buy any apps....no room.
    Can anyone tell me how to get that darn photo library off the iPod?
    Thanks!!!

    If you're syncing photos from a folder, if you set up your photo syncing to sync to an empty folder, that should remove the photos from the iPod.
    If you're syncing from Photoshop Album or Photoshop Elements, there's advice in the following document on how to remove photos from the device:
    iOS and iPod: Syncing photos using iTunes

  • [svn] 4375: Previous commit did not fix whitespace issue for FxTextArea as advertised.

    Revision: 4375
    Author: [email protected]
    Date: 2008-12-22 09:24:42 -0800 (Mon, 22 Dec 2008)
    Log Message:
    Previous commit did not fix whitespace issue for FxTextArea as advertised. The [CollapseWhiteSpace] metadata has to be on the text getter for FxTextArea. It does not work on the getter for FxTextBase, although it does work for FxTextInput.
    QE Notes:
    Doc Notes: None
    Bugs: SDK-17683
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17683
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as

    Revision: 4375
    Author: [email protected]
    Date: 2008-12-22 09:24:42 -0800 (Mon, 22 Dec 2008)
    Log Message:
    Previous commit did not fix whitespace issue for FxTextArea as advertised. The [CollapseWhiteSpace] metadata has to be on the text getter for FxTextArea. It does not work on the getter for FxTextBase, although it does work for FxTextInput.
    QE Notes:
    Doc Notes: None
    Bugs: SDK-17683
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17683
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as

  • SAP QM QE01 - Result Recording issue - scope not fixed

    Hi QM experts!
    I am facing the issue with the QE01 tcode, while result recordning. My caracteristic has a "scope not fixed" indicator marked. I have the sampling prcedure n=1. While result record the system doesnt allow me to regitster more then 1 result. The "Sigle result" dropdown is blurred, not letting me enterring more then one result.
    With the sampling procedure n=2 I am able to multiple the results as much I want.
    I am not sure if there is any OSS Note for that problem, once I searched and haven´t came across any.
    Anyone familiar with that problem?
    I apreciate any hint,
    best regards,
    Anna

    Hi Karen,
    yes, my caracteristics are checked for "single results" record.
    What I meant by N=1, N=2 is the size of my sampling procedure. While using samling procedure of size fixed=1, I can not regiser more then one result, even though caracteristic is marked as "scope not fixed / single results.
    And when I use the sample procedure size Fixed=2 (QDV1) for the same caracterisic I am able to register 2 results / 4 /6..etc. as many I as intend to.
    What  am tryin to figure out here, why the system doesnt let me register more then one result in the first senario, seems like a bug to me.
    thank you for your valuable input. Any suggestions?

  • This installation package could not be opened. Verify that the package exists and that you can access it, or contact the applikcation vendor to verify that this is a valid Windows Installer package." How to fix this installation error?

    Does anyone know, how to fix  ' This installation package could not be opened. Verify that the package exists and that you can access it, or contact the applikcation vendor to verify that this is a valid Windows Installer package." ?

    At what point in the process are you getting this message? Have you tried downloading a fresh copy of the iTunes setup file from http://www.apple.com/itunes/download/ ?
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • After installing VLC (64bit), my MBP only reads CDs and ejects DVDs. Uninstalling VLC did not fix the problem.  What do I do?

    I have recently installed VLC media player (64bit), played a movie file on a DVD+RW for 30 seconds, then decided to stop the movie.  I poped the DVD out, and a minute later I reinserted the same DVD, it was ejected after 10 second.  Now when ever I insert the DVD in my MBP it gets ejected.  It reads my CDs but does not read my DVD. Uninstalling VLC did not fix it.  I am not even sure at this if VLC caused the problem.  What do I do?

    Have you rebooted since uninstalling VLC?

  • 04X Bonds Issuace - Tax Rate on Coupon not fix every payment

    Hi,
    I've a problem with product type 04x-Issued Bonds. Corresponding tax rate or amount for the scheduled coupon payment is not fix, therefore, a facility to maintain or adjust the tax amount every payment should be available. How do I do this in securities module? I've tried creating a condition type where I'll just enter the fixed amount in class master data but an error message pops-out that tells me I should report this to SAP.  I cannot do this in other flows tab of the contract since once the contrace is settled, the tab is no longer editable and no payment date can be maintained.
    Need your help on this guys.
    Thanks
    Chaikaru

  • Dimension Members in BPC is not updating

    Dear Friends,
    I have trasfered the values of the 0GL_ACCOUNt to the account dim of my appset in BW using the transformation and i could see the values in the BPC display dimension members.
    But simillary i have created the transformation and uploaded  the values of the 0Move_type to the flow dimension and am trying to view the same in the BPC but am not getting any valuess in dimension member list of the Flow dim.
    I too closed and reopened the admin console. What could be the reason, kindly suggest.
    Thanks
    Prem

    There is a task in the Action Pane from BPC Administration to Refresh client dimension members.  Try it.  Also try to save and process your dimension again.  Finally, hate to state the obvious but make sure your DTP loaded to the right infoobject which was generated from BPC.  Do you see the master data in BW from RSD1?
    Best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

  • TFS Workitems:Bugs : I want ot select different lists, from the global list, for fields basd upon user group

    Hi,
    I am customizing the bug workitem workflow.
     I want ot select different lists, from the gllobal list, for fields basd upon user group
    I am aware that I can use "when" clauses in the allowed/suggested values of the field.
    My question is : how do I get the group(s) that the current user is in and how do use this to select different lists?

    Hi!
    You can not do this through standard way. You must to create the custom work item control:
    http://witcustomcontrols.codeplex.com/
    And get the user group through IIdentityManagementService.
    IIdentityManagementService IdentityService = _workItem.Store.TeamProjectCollection.GetService<IIdentityManagementService>();
    TeamFoundationIdentity _curid = null;
    _workItem.Store.TeamProjectCollection.GetAuthenticatedIdentity(out _curid);
    string _group = "Admin";
    var _gr = IdentityService.ReadIdentity(IdentitySearchFactor.AccountName, _group, MembershipQuery.Direct, ReadIdentityOptions.None);
    if (_gr.Members.Where(s => s.Identifier == _curid.Descriptor.Identifier).Count() > 0) return true;

Maybe you are looking for

  • MSI 870a-G54 Hard drive problem.

    About a week ago i reinstalled Windows because it started to slow down (virusses and what not) And as soon as i reinstalled everything (programs games etc etc) One of my harddrives used for games did not show up at the bios and at My computer. So thi

  • How do I reinstall an older version of Aperture from the App Store?

    Hello, I have an older Macbook - 13 inch early 2008. It is still running fine on 10.7.5 Lion, but can't update to a later version of OS X, as it is not compatible. I have Aperture 3.4.5, which I purchased from the App Store. Following a hard disk pro

  • Group is not assigned error in LSWM when uploading Routings

    Hi All, I am trying to upload the routings using LSMW Direct Input method using program RCPTRA02. While executing the lsmw, i am getting an error " Group cannot be determined for material XXXXXXXX plant XXXXX". But the SAP has to assign the Group whi

  • Can I run a DVD through my macbook pro and stream to the apple tv?

    Can I run a DVD through my MacBook Pro and steam to the apple tv?

  • Table for AE messages

    Dear experts, I know that IE messages are stored in table SXMSPMAST can u pl let me know in which table are the AE messages stored ? OR is it that AE messages are not stored in ABAP stack tables ? pl help