Bug editing views

Hi all.
Using 1.2.0.29.98 on Win XP and when I edit a view that has no ORDER BY clause, if I click on ORDER BY clause in the right panel I get the following exception:
java.lang.NullPointerException
     at oracle.ide.db.panels.sql.OrderByPanel.init(OrderByPanel.java:122)
     at oracle.ide.db.panels.sql.BaseSQLQueryBuilderPanel.onEntry(BaseSQLQueryBuilderPanel.java:158)
     at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:921)
     at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:894)
     at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:104)
     at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1343)
     at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
     at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
     at javax.swing.Timer.fireActionPerformed(Timer.java:271)
     at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
     at java.awt.Dialog$1.run(Dialog.java:515)
     at java.awt.Dialog.show(Dialog.java:536)
     at java.awt.Component.show(Component.java:1300)
     at java.awt.Component.setVisible(Component.java:1253)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
     at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
     at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
     at oracle.ide.db.dialogs.BaseDBEditorFactory.launchDialog(BaseDBEditorFactory.java:379)
     at oracle.ide.db.dialogs.BaseDBEditorFactory.editDBObject(BaseDBEditorFactory.java:237)
     at oracle.ide.db.dialogs.BaseDBEditorFactory.editDBObject(BaseDBEditorFactory.java:218)
     at oracle.dbtools.raptor.utils.UIUtils.editNodeWizard(UIUtils.java:202)
     at oracle.dbdev.oviewer.xmleditor.XMLBasedEditor.handleEvent(XMLBasedEditor.java:123)
     at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
     at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
     at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
     at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
     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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
     at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
     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)Alessandro

I'm closing this as no longer an issue. See SQL Developer 1.5
Sue

Similar Messages

  • Blog post : "Bug in Create/Edit View Criteria Wizard (JDeveloper 11g)"

    hi
    Using steps 1 to 13 from the blog post "Bug in Create/Edit View Criteria Wizard (JDeveloper 11g)" by Andrejus Baranovskis, I have been able to reproduce the issue he describes.
    see http://andrejusb.blogspot.com/2008/12/bug-in-createedit-view-criteria-wizard.html
    I the blog post comments he writes "... there was no time for me to fill bug in Metalink ...".
    Maybe someone from Oracle can pick it up from this forum post and file it as a bug if it is one (and if possible post the bug number here).
    many thanks
    Jan Vervecken

    The mechanism is to create a reproduceable test case, create a Service Request in metalink.oracle.com, post the test case, and convince the analyst to file it as a bug.
    It may be not efficient at some time, but this the way it is handled.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Unable to Edit View; Java Error then View is lost

    I need help understanding what might be going wrong and how to fix it, or file a bug and then work around the problem.
    Running SQL Developer 3.0.04,
    Java - should be using jdk 1.6.0_23, but I'm not sure how to verify this. I also don't know how to change which of the different Javas on my PC SQL Developer would use, if I gave the wrong answer when I installed SQL Develoeper.
    Windows 7 64-bit and 32-bit.
    DB is 9i, 9.2.0.6.0.
    Server is Linux 2.6.9-89.0.20.EL.xs5.6.0.58xenU.
    Problem does not occur on DB 11.1.0.7.0 running on same server.
    The problem occurs when I select a view, and click edit. Edit View panel opens. One easy change that causes the problem is to click the Select clause and simply reorder the columns, moving one column up. The syntax checks OK. The test query works OK. When I click the panel's OK button, I get a new window: Edit Object Error.
    An error was encountered:
    java.sql.SQLRecoverableException: No more data to read from socket
    The following SQL statement failed:
    [then there's a box with the CREATE FORCE VIEW statement.]
    I click OK acknowledging the error. I get another Edit Object Error window, with the same message about the socket, but this time the failing SQL statement is DROP VIEW PV_MYVIEW_NAME. After acknowledging this error by clicking OK, it reappears if I click OK for the Edit View panel. I am forced to click Cancel in the Edit View panel.
    The connection goes inactive. If I try to expand the tree of tables and views, the + signs go away. They don't expand. I need to disconnect and connect.
    My view is now gone.
    I tried lots of changes to the view, even adding a comment causes the failure.
    The Logging Page has entries like these:
    SEVERE     57     50     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     56     49     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     55     3637     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     54     2471     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     53     15997     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    SEVERE     52     451     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    SEVERE     51     3812     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    SEVERE     50     416189     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    Thanks,
    Skip

    Hi Anne,
    Well, given your OS configuration, suggestion (2) probably doesn't apply to you anyway. Sorry if I wasted your time on that one.
    As for suggestion (1), even if it didn't work, at least it seems to verify that this is a JDBC driver issue. So, as noted above, SQL Developer 3.0 is not certified on 9i. And Oracle 9i Extended Support ended the middle of last year. The ojdbc5.jar/ojdbc6.jar (11.1/11.2 drivers) files shipped with the 2.1/3.0 releases, respectively, can generally connect to any Oracle database back to 9.0.1, but perhaps the functionality is not completely stable when using the oldest database releases.
    The main question though, is which JDBC driver are you actually using? If you have an Oracle client installed, SQL Developer will look in the Oracle home first and use the driver there, not what comes with SQL Developer. If you do have an Oracle client installed, and everything else (Prod/Dev) is working, then I hesitate recommending that you change anything. Possibly if you have no client, or an older client, installing a 10.2 client might help but it's difficult to know.
    Best wishes,
    Gary

  • Bug in view link creation

    Here's an interesting bug in JDev 9.0.3.1, Win2k:
    I'm working with a view link using the Edit View Link dialog. It links two view objects, ViewA and ViewB, in a 1:* relationship. Entities EntityA and EntityB are the respective underliers of ViewA and ViewB. Under the View Link Properties node in the dialog, the only accessor generated is for the Destination view object.
    When I click OK, the column constants at the top of EntityA.java become messed up!!
    To be specific, all of the accessor column constants defined on the entity object are removed and then re-defined one line above the beginning of the column constants declaration section. They also are renumbered starting with zero, which causes them to have the same value as the first n column constant definitions. Naturally, this causes a "duplicate case label" compile error for the EntityA.java file.
    Even worse is if the column constant definitions start on the same line as the opening brace for the class, like so:
    public class EntityAImpl extends EntityImpl
    { protected static final int COLUMN_1 = 0;
    protected static final int COLUMN_2 = 1;
    // etc.
    The effect of clicking OK in the Edit View Link dialog is then to produce a ParseException error as the dialog is dismissed. Looking at the EntityA.java file, it's clear why:
    public class EntityAImpl extends EntityImpl
    protected static final int ACCESSOR_1 = 0;
    protected static final int ACCESSOR_2 = 1;
    // etc.
    { protected static final int COLUMN_1 = 0;
    protected static final int COLUMN_2 = 1;
    // etc.
    What puzzles me is:
    * Why is the entity object being affected at all, since the accessor was only supposed to be generated in ViewA?
    * Why are all the accessors being removed and re-added, even those that have nothing to do with the view link being edited?
    * Why, when the accessors are re-added, are the constant values duplicated?

    Please send a test case. I'm unable to reproduce this in a simple project in 9.0.3.1 or 9.0.3.2.
    Is there entity inheritance involved?
    Do your entity XML files mention _superAttr anywhere in them? If so, you might be hitting a known issue with 9.0.3 relating to entity inheritance at design time and the accessor attributes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Editable views with instead of triggers in Oracle 10G

    Hi,
    We are attempting to migrate our database application from Oracle 9i to Oracle 10G. We have found that we are getting the error [ORA-03113 end-of-file on communication channel] when we attempt to insert multiple rows into database tables using editable views equipped with INSTEAD OF triggers. When inserting multiple rows, we are using a single insert statement of the form insert into...select from. Strangely enough, when the select query within the insert statement returns a single row, the insert statement is successful. We also noticed that if we issue a commit right before executing the insert statement, the insert statement is successful regardless of the number of rows being inserted. But this is not a viable workaround as the current transaction contents needs to be maintained. We did not have these issues in Oracle 9i. Does Oracle 10G have any known issues with editable views equipped with INSTEAD OF triggers? Are there any settings in the INIT.ORA file that can resolve these issues? Thanks for your help.

    Confirmed. If you use 2D input, or change the Z dimensions so they are different, you will get the results you expect in 10g. Otherwise - a line.
    I'm not sure why, and can't see a bug report on that in support, but obviously it was recognized and fixed as you indicate.
    Try it with 2D input, and it will work:
    select sdo_aggr_mbr(
    SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 3),
    SDO_ORDINATE_ARRAY(-10, -10, 10, 10))
    from dual;
    Or with different Z values:
    select sdo_aggr_mbr(
    SDO_GEOMETRY(3003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 3),
    SDO_ORDINATE_ARRAY(-10, -10, 1, 10, 10, 11))
    from dual

  • Sql Developer 2.1 editing views

    One user reported that she has two separate schemas, each with their own connection. In one connection, user can open the "View" tree, right click on a view and select 'Edit' and things happen as you'd expect. In the other connection, however, right clicking does not show the 'Edit' item in the context menu, and when clicking on the view, the 'Edit' button is grayed out.
    I've verified that both users have identical grants and the views in question are definitely views in each respective schema, so I can't find a database or privilege reason that the user can't edit views in the second schema.
    As a side note, viewing the view DDL and copy/pasting the definition into a SQL Worksheet allows the user to change the view. Strange that the edit buttons aren't visible or clickable, though.
    Any thoughts? How do I submit an official bug report?

    No thoughts, but the only official site to report bugs is submitting a SR on Metalink/MOS. However you still might be lucky if someone from the team picks it up here.
    Regards,
    K.

  • LR3 Mac Bug - Survey View Flagging

    Bug: When viewing multiple photos in Survey view (N) you are unable to flag/rate/color just one photo. Instead, all photos get that rating.
    This would seem to render the Survey view useless for editing purposes. Previous releases of LR do not behave this way.
    Is ther a new setting I'm unaware of or is this a true bug?
    Cheers.

    Ah...
    Thanks.

  • I downloaded Firefox 3.6 and now my tool bar is gone. No back arrows, forward arrows, file, edit, view, history, bookmark, tools....how do I get my web browser to look like a regular browser again?

    I downloaded the new Mozilla web browser and I had a Bing homepage setting. I changed back to yahoo but I ever since downloading I dont have any back arrows, forward arrows, file, edit, view, history, bookmark, tools, address bar....how do I get my web browser to look like a regular browser again?

    For details of how to restore the menus see [https://support.mozilla.com/kb/menu+bar+is+missing]
    Once the menus are back, you can use the View menu, then select Toolbars and click on the names of the toolbars to toggle displaying them.

  • Page Forward & Reverse buttons do not work & are "grayed-out" after upgrading to, as is the Main-Menu Items such as File-Edit-view etc...

    After upgrading to Firefox 3.6.12 all functionality appeared to be intact. Then after a few days it lost the ability to "page forward" or to "page back" and are "grayed-out". Additionally, the Main menu items such as File, Edit, View, History, Bookmarks, Tools & Help are also grayed-out and non-functioning.
    Also, the "Search Window" does not search, Web Searches need to be performed from within the URL window instead, for some crazy reason. If the URL window is blank when I enter a search into the actual search window the following appears in the URL window, "Search Bookmarks and History", which makes no sense.
    I have noticed similar complaints in this Forum in the past but I have not seen any posted resolution to these issues. Is there a solution?

    Create a new profile as a test to check if your current profile is causing the problems.<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • File, edit, view, history, etc. will NOT open on menu bar how to fix

    The file, edit, view, history, bookmarks, tools, help options on the menu bar will not open. This started to happen, intermittently, in the last few hours . . . and, now, seems permanent. I suspect an update. There are, also, other options which will not open. I cannot use my address book on webmail because of this and am in dire need of a solution.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Ever since the latest update, my task bar (if it's called that - it's the one with "file,edit,view, etc") will "grey out" and I won't be able to type into any websites I visit. Only way to fix:either restart Firefox or reduce the window and open it again.

    Ever since the latest update, my task bar (if it's called that - it's the one with "file,edit,view, etc") will "grey out" and I won't be able to type into any websites I visit. Only way I can proceed is if either restart Firefox (very annoying) or reduce the window and open it again. Please help!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • I can't click on Firefox's "file edit view..." bar. It works for a few seconds right after opening Firefox, then stops. I have a mac, and can't think of anything I did that could have caused this.

    Other programs work fine while Firefox is open, but when I go back to the Firefox window, the problem starts again. I click on the "fiel edit view" buttons, but nothing at all happens. It's been like this for a few days.

    Try to remove the Firefox plist file (org.mozilla.firefox.plist).
    * http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results
    Go to "Library > Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist).
    Try to repair the disk permissions:
    * http://thexlab.com/faqs/repairprocess.html

  • How can i display a portlet in the Edit view only ?

    Dear All,
    I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?

    Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
    This is a function I use:
    FUNCTION inEditMode return boolean is
    bEdit boolean := false;
    begin
    if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
    bEdit := true;
    end if;
    return bEdit;
    end inEditMode;
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

  • On my laptop running windows 7 most of the information has disappeared from the window - headings (file, edit, view, etc), address bar and navigation buttons - all i can see is tabs - how do i get the missing items to display

    On my laptop running windows 7 all the info displayed at the top of the homepage window is missing. All headings, i. e. File, Edit View, etc. are gone. There is no address bar. There is no home button, refresh button, etc. My wife was using the machine when it happened so I don't know what she did. How do I restore these features?

    F11 did not work F10 did. ThaNK YOU FOR THE HELP

  • How do I get "File", "Edit", "View", etc. to show up on my toolbar rather than them all being consolidated into "Menu"?

    I don't want everything consolidated under "Menu", I want to see "File", "Edit", "View", etc. listed across my toolbar. I played around with it as much as possible, and I have searched Firefox Help to no avail. I can't believe this option would be non-existent. The consolidation may be visually pleasing, but functionally it's annoying and is slightly more time consuming. Please help, thank you very much. (^-^)/

    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.
    Go to "View > Toolbars" or right-click the "Menu Bar" to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * https://support.mozilla.com/kb/Menu+bar+is+missing

Maybe you are looking for

  • Template changes in editable region do not propagate to child pages??

    I have a website that was created using Dreamweaver CS4. I have copied the directory onto a machine running CS6 and set it up as a new site in DW. I want to make a change in the editable region of a template that feeds all the pages. However, when I

  • Elements 6 freezes

    Elements 6 keeps freezing up on me: CPU at 50% 92,248k memory usage. I just imported pictures from my Canon sd 600 the pictures loaded and I could see them in the organizer then elements froze and I had to close by alt F4. Then started elements again

  • Badi that trigger when opportunity created from lead

    Hi, I am looking for a Badi that trigger when opportunity created from lead.  I looked from Order_Save but i am unable to find the preceeding lead number for the opportunity as the link will be created after the opportunities saved. Kindly help me Th

  • Fee for synching songs from Cds to your Ipod touch??

    Hi I just got my first Ipod a few days back and just started using it. I was wondering if it is free to download songs from my CDs to my ipod touch?? Thanks, have a great day everyone.

  • Hiding a preview once video starts playing

    I am trying to hide a preview that I inserted with some AS3. The preview works and I use this code to create it. var preview:Loader = new Loader (); loadPreview (preview, "gotgame.png"); addChild(movie_flv); function loadPreview (loader:Loader, previ