I can confirm this. How can we submit this as a bug?
Can you find a SYS package that exhibits the same behavior? I don't have an APPS instance handy to test this with.
They're wrapped... Would that be of any use?
Anyway, sometimes, it's ok. Looks like it depends on how I open the package/body from the "Connections" tree.
1) Unfold the package
2) Click the package body in the tree.
3) Quick outline is empty.
By some miracle this sequence sometimes works correctly. Actually it took me 3 databases to find one where the misbehaviour occurs. I've been testing always the same package; database version was the same too.
Edit: that miracle seems to be the reopening the package, PaoloM has described.
So it only happens with a body, not a spec?
I've not seen it with my own packages, so I need something to test with.
Yes, only body.
This is funny. It took me another 10 packages to reproduce it. Just keep trying.
I have the same behaviour:
drag&drop or open a "package.pkb" in the editor, only the package name is displayed in the Outline
If I modify the package (just inserting a space), the list of functions appears.
I've observed the same behavior on almost all the packages I load in EA2 and inserting a space makes the rest of the package show up in the quick outline. Reopening, compiling, nothing else, but just edit does the trick.
how are you opening the package bodies?
i've tried opening with the outline window already opened and with the outline closed - in both cases, opening from the database connection tree correctly parses and populates the outline panel
is everyone working this way?
>>drag&drop or open a "package.pkb" in the editor
Jeff, I've tried both, opening from file or opening from the database with the same results, with outline already open or closed with same results. It's not consistent either with how many items show up in the outline. Packages with less package level variables show just those but none of the functions/procs, but packages with lots of variables may show 90 of them when then are 100+ and no functions/procs. Also, it seems to be randomly deciding when to order by alpha vs order by the actual order in the package body. But you hit the space bar and click on outline and everything shows up.
Appreciate the info and background Jim.
There are some errors thrown into log when this happens.
Level Source Message SEVERE oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$1 node has no children at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:243) WARNING org.openide.windows.WindowManager
[Winsys] TopComponent com.oracle.jdeveloper.nbwindowsystem.NbEditorContainer throws runtime exception from its componentActivated() method.
Please repair it!
thanks for looking into this issue.