SQL Developer 3.2.09 (Build MAIN-09.23) Disconnected Worksheet bug

If you disconnect from a database, the SQL Worksheet that was using that connection loses its connection as shown in the drop-down at the top-right. (ok)
If you then click on the drop-down to re-connect, you can choose a database and a modal popup appears for you to enter the password - but if you have other connections already open, the focus moves from the password to the OK button and you can't enter the password. Since it's a modal popup, you're now stuck and have to kill SQL Developer (very annoying if you have many sql worksheets open with lots of sql in).
Am I doing something wrong and/or is there a workaround until this is fixed?
Thanks,
Mark

Hi Mark,
Thanks for reporting this. A couple of possibilities for a workaround:
1. Tools | Preferences | Database | Worksheet | Close all worksheets on disconnect.
2. Store/Save your password in the Connection define (may not be desirable for security / may not work anyway)
We see something similar in this situation (switching connections in a worksheet without any disconnects) ...
Change database connection in SQL-Worksheet to a not connected db
where an obvious deadlock occurs. In your case, a full thread dump does not clearly state the deadlock, but there is probably one to be found upon closer examination.
Regards,
Gary
SQL Developer Team

Similar Messages

  • File- Print not working from SQL Developer 1.2.1 Build MAIN-32.13

    File->Print not working from SQL Developer 1.2.1 Build MAIN-32.13.
    I downloaded sqldeveloper-1.2.1.3213.ZIP and extract to a local directory. From the extracted directory I ran ..\sqldeveloper\sqldeveloper.exe from Windows XP sp2. The program itself seems to run just fine but File-Print doesn't do anything. In Help-About, Java Platform is reported as 1.5.0_06 and Oracle IDE is 1.2.1.3213. I'm not sure where to look for what is causing the problem.
    Thanks

    I hadn't tried CTRL-P before but I did today. On the first attempt, I saw a small jump in the memory usage for sqldeveloper.exe as reported in Windows Task Manager. Otherwise, there was no change. A second CTRL-P in the same session produced a further bump but subsequent attempts in the same session produced no further change in CPU or Memory Usage.
    Using Task Manager to monitor this further, I tried File->Print again and saw that sqldeveloper would periodically climb to 1 or 2 percent CPU and consume a little more memory. After a minute or so, though, all activity stops again.
    I do not get a print dialog box from SQLDeveloper using either CTRL-P or File->Print

  • Unit Test in SQL Developer 2.1: Automated Builds

    Hi,
    I am interested to know if the new Unit Testing framework can be accessed via API so the test execution is initiated from automated build process.
    Regards,
    Vadim

    I am having a problem with the unit testing command line.
    I am attempting to run the unit testing using the command line interface.
    I can connect to UNIT_TEST_REPOS schema in SQL developer.
    I am successfully running units test and suites in SQL developer.
    UNIT_TEST_REPOS, RCSV1 and DEVER users are granted on the UT_REPO_USER role and UNIT_TEST_REPOS and DEVER on the UT_REPO_ADMINISTRATOR.
    The following commands result in an error box saying "No Repository was found on the selected connection, you need to create a repository." (The HELP button apparently does nothing. The OK button closes the box.)
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -exp -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo unit_test_repos -file c:\ut_xml\test.xml
    Unable to open repository
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -run -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo unit_test_repos -db dever
    Unable to open repository
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -run -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo dever -db dever
    Unable to open repository
    I would guess that I am not supplying the correct connection info.
    My last comment triggered an idea. It turns out that the connection names required are those connections named in SQL developer. In my case, they are not the same as the schema names. The following command worked as advertised.
    C:\Program Files\sqldeveloper\sqldeveloper\bin>UtUtil -run -test -name RCSV1_RCS_SECURITY.GET_LDAP_BASE -repo UNIT_TEST -db DeverLocal
    The ANT target is
    <target name="UnitTests">
    <exec executable="cmd" dir="${sqldev.bin.dir}">
    <arg value="/c"/>
    <arg value="UtUtil -run -suite -name RCSV1 -repo UNIT_TEST -db DeverLocal"/>
    </exec>
    </target>
    Regards,
    Bill

  • SQL Developer replacement for Query Builder?

    Our developers use query builder to quickly develop sql code w/conditions, joins, where clauses, etc. I just installed release 2 of SQL Developer and am trying to figure out if this is a viable replacement for query builder. Is there a graphical "query builder" component as part of SQL Developer?

    Barry, I would agree that it should be clean and easy to use. I started using Data Browser 2.0 and migrated to Query Builder 6.0.7.1.0 and while Query Builder is no longer it's own product it's integrated into Reports Developer 10g. The basic layout and operation has been consistent thru the life cycle and I would think you'd keep the "look and feel" consistent with what's currently available. (might simplify integrating it too). My biggest complaint with Query Builder 6.0.7 (se don't use the 10g version) is that it errors when opening a schema with more than 8192 objects. As an E-Business Suite 11.5.10 customer this is an issue for our developers when logging in as the standard APPS user.
    So here would be my "wish list"
    1. consistent look and feel with "older" versions of Browser/Query Builder
    2. removal of 8192 object limitation
    3. ability to open older .brw format files
    Certainly more improvements would be possible by integrating with SQL Developer and would be welcomed - this wish list is coming from a user who has MANY .brw files in the older 6.0.7 format.

  • SQL Developer 1.1 Query Builder does not display connection tree

    I have installed SQL Developer 1.1 on a PC running Windows XP SP2. I am connecting to Oracle 9.2.0.7.0.
    After connecting to the database, I right click in the SQL Worksheet and select Query Builder and when the new window is displayed, there are no tables to select from.
    What is causing this?

    Hi Antony,
    Upgrading from SP7 to SP9 fixed a lot of problems for me! It's worth trying.
    Problems solved for me:
    Page requests take about 2 minutes to display page (now within a few seconds)
    KM SQL logging (30-50Mb per minute) problem fixed.
    There are some problems upgrading to SP9, but searching this forum will help you in finding some solutions for this
    Regards,
    Noel

  • SQL Developer 3.0 Query Builder Issue

    When compiling a query within the Query Builder I cannot execute the query - the RUN statement button is disabled. There also appears some "lagging" when building the query.
    Is this a bug within the SQL Developer 3.0?
    This has the potential to be an excellent tool. I am pleased that this version now gives you function to amend views.
    Edited by: user13116583 on Mar 31, 2011 2:48 PM

    Hi Marc -
    With respect to the "lagging" see Re: 30EA2 - Query Builder locks up when I select the tab. on design trade offs made during the 3.0 early adopter cycle.
    The run button should be enabled as soon as you type anything in the Worksheet or drag/drop anything on the Query Builder. Can you give me more detail on what you are doing/seeing?
    Brian Jeffries
    SQL Developer Team

  • Bug SQL Dev 1.5.4 Build MAIN-5940 Exporting count(*) query results

    when trying to export query results containing an analytic count the export dialog fails to open:
    When running the following query
    select count(*) over (partition by dummy order by rownum) xx
      from dual;right clicking on the results grid and selecting export->xls (or any other format) fails to open the export dialog box.
    changing the asterisk (*) to another value e.g. 1 or dummy corrects this issue for this particular query as does changing the analytic fuction to an aggregate function.
    Edited by: Sentinel on Aug 12, 2009 11:05 AM

    I get the same error when exporting the same statement - however, there is a known problem with 1.5.4 and failing on exports of certain statements (see 1.5.3 - Export results to XLS ORA-00936 which talks about there still being problems in 1.5.4 although the thread is titled 1.5.3).
    theFurryOne

  • Engineer to Logical Model in SQL Developer EA4 causes problems

    I'm working with SQL Developer 3.0 EA4 (Build MAIN-03.97)
    Unfortunately I fond out, that it would be impossible to use the function " Engineer to Logical Model" any more after I change the relational model. In datamodeler.log I got the error message line "[AWT-EventQueue-0] ERROR MDBAction - java.lang.NullPointerException" for each time I use the function "Engineer to Logical Model". I try it out with the sample model "sh_cre_all.sql" and with following steps:
    1) Import via DDL File – no problem
    2) Engineer to Logical Model – no problem
    3) Change some attributes in the relational model – no problem
    4) Again Engineer to Logical Model – no problem
    5) Save, Exit an Open the sample – no problem
    6) Again Step 3 and 4 – no problem
    7) Add a table via drag&drop from an oracle schema – no problem
    8) Save, Exit an Open the sample – no problem
    9) Engineer to Logical Model no longer possible!!!
    Bernd

    I have experienced similar problems with 'Engineer to Logical model'.
    The scenario was following:
    Creating Logical model using 'Engineer to Logical model' from existing Relational model.
    Modifying the Relational model and 'Engineer to Logical model' again. No exception occured but the Logical model wasn't updated accordingly.
    Removing all entities from the Logical model.
    Trying to 'Engineer to Logical model' again. No entities were created in the Logical model (even after few tries).
    So I got to situation where I was unable to generate a Logical model, which was quite frustrating.
    The workaround was to create new Data Modeller project and import to it from the original project - the 'Engineer to Logical model' worked again.

  • BUG: SQL Developer 1.5.4 attempting to connect to non-existent local DB.

    For some time now I've been seeing SQL Developer 1.5.4 creating a "sqlnet.log" file in "sqldeveloper\sqldeveloper\bin" every time I used it. I've just done some testing and found that it is trying to connect to an XE instance on "localhost" after I close my last open connection. Here are the contents of the "sqlnet.log" file:
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\Documents and Settings\ehillma\My Documents\sqldeveloper-154\sqldeveloper\sqldeveloper.exe)(HOST=LMIT-4635)(USER=ehillma))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 15-APR-2009 08:58:41
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    This is in SQL Developer 1.5.4, Build MAIN-5940, using Java(TM) Platform 1.5.0_17, on Windows XP SP2.
    Ed. H.

    Hi Frank
    This message means that the driver code is unable to locate a DLL to load up and use. Looking at the message I suspect that the DLL in question <jtds-dist>\SSO\ntlmauth.dll .
    There are a couple of ways of making the Java VM locate the DLL, assuming you are using windows then the easiest would be to add the directory <jtds-dist>\SSO to you path environment (replacing <jtds-dist> with the actual path to your JTDS distribution).
    Regards
    Rob Cooper

  • SQL Developer with Data Modeler, No Design Menu Option

    Using SQL Developer 3.0.04 Build MAIN-04.34 with Data Modeler. I have created a logical design and wish to forward engineer this to a relational model.
    I cannot seem to find the Design Menu option to use the >> Engineer to Relational Model option which is available under the Design Menu on the Stand Alone version of SQL Developer Data Modeler.
    Have checked the following locations:
    Tools -> Data Modeler
    View -> Data Modeler
    File -> Data Modeler
    Right Click on my Logical Design
    I have ensure that all my entities have the Engineer To property set to a valid Relational Model.
    Is this a bug or am I missing a menu option / configuration setting?
    Thanks in advance for any help
    John

    Hi John,
    you can find ">> Engineer to Relational Mode" button among other buttons for logical diagram.
    Philip

  • Unable Update SQL Developer with Times Ten in-Memory DB Extension 1.2.1.1.0

    SQL Developer 1.2.1 Build MAIN 32.13 (Windows XP)
    We can't Update SQL Developer with Times Ten in-Memory DB Extension 1.2.1.1.0 :-((
    We did the same actions as described in tutorial
    http://www.oracle.com/technology/products/timesten/viewlets/tt703_sqldev_install_ext_viewlet_swf.html
    In addition to tutorial we have "Log In" window
    "To download Oracle Times Ten in-Memory Database Extension
    you must enter your Oracle Web Account user name and password"
    This window was not displayed in tutorial...
    We try to use three our OTN accounts and the result
    was the same - we was asked with "User name" and "Password"
    again, again, again and again,,, :-(
    Is it a bug or a feature?
    Mayby we didn't understand something or did something wrong?

    Hi Simon,
    I found cause of update failure! It was the HTTP proxy setting.
    I turned off "Use HTTP proxy server" checkbox in SQL Developer -> Tools -> Preferences -> Web Browser and Proxy.
    After this action SQL Developer was successfully updated with Times Ten Extension.
    Valery Yourinsky

  • SQL Developer starts every time as if first time and ingores preferences

    Every time I launch SQL Developer, it offers me to configure file type associations. Also, many preferences, such as tab settings for editor, while preserved between sessions, have no effect. Other settings, such as the interface style, work normally.
    Windows Vista Business 32bit
    SQL Developer 1.2.1 Build MAIN-32.13

    The file associations thing means you don't have access to the registry to associate file types. Probably connected to the Vista security model. Try registering the filetypes for use by sqldeveloper through explorer.
    This other problems generally means you don't have write access to the sqldeveloper system directory.

  • "Invalid column index: getValidColumnIndex" in SQL Developer 1.5.4

    The error given in the "Subject" line occurred when clicking the "Commit" button in a table grid after changing one value. I also get it when clicking the "Rollback" button, but I also get "Rollback successful" as well and when I refresh the data is as it was before I changed it.
    Is this a bug?
    As noted this is SQL Developer 1.5.4 (Build MAIN-5940) on Windows XP SP2 using JDK 1.5.0_17.
    Thanks.
    Ed. H.

    Heres the DDL (less comments, storage clauses, and a foreign key constraint to another table):
    CREATE TABLE "ET_MAINTENANCE_TYPE_REF"
    (     "MTR_SEQ" NUMBER(4,0) NOT NULL ENABLE,
         "NAME" VARCHAR2(100 CHAR) NOT NULL ENABLE,
         "CURRENT_IND" CHAR(1 CHAR) DEFAULT 'Y' NOT NULL ENABLE,
         "DESCRIPTION" VARCHAR2(255 CHAR),
         "CREATE_USER_ID" VARCHAR2(50 CHAR) NOT NULL ENABLE,
         "CREATE_TS" DATE NOT NULL ENABLE,
         "UPDATE_USER_ID" VARCHAR2(50 CHAR),
         "UPDATE_TS" DATE,
         "VERSION" NUMBER(10,0) DEFAULT 0 NOT NULL ENABLE,
         "FK_REF_ET_MAINT_TYPE_GRP_SEQ" NUMBER(4,0),
         "DN_MAINT_TYPE_GRP_CODE" VARCHAR2(10 CHAR)
    ALTER TABLE "ET_MAINTENANCE_TYPE_REF" ADD CONSTRAINT "CK_YES_NO_INDICATOR30" CHECK (Current_Ind IN ('Y', 'N')) ENABLE;
    ALTER TABLE "ET_MAINTENANCE_TYPE_REF" ADD CONSTRAINT "PK_ET_MAINTENANCE_TYPE_REF" PRIMARY KEY ("MTR_SEQ") ENABLE ;
    And here's some data:
    REM INSERTING into ET_MAINTENANCE_TYPE_REF
    Insert into ET_MAINTENANCE_TYPE_REF (MTR_SEQ,NAME,CURRENT_IND,DESCRIPTION,CREATE_USER_ID,CREATE_TS,UPDATE_USER_ID,UPDATE_TS,VERSION,FK_REF_ET_MAINT_TYPE_GRP_SEQ,DN_MAINT_TYPE_GRP_CODE) values (40,'Quick Start-up Operations Check','Y','Maint. type','EMP v4 Modifications',to_date('AD 2008-04-29 18:16:35','BC YYYY-MM-DD HH24:MI:SS'),'MAINTGRP',to_date('AD 2007-12-07 16:44:11','BC YYYY-MM-DD HH24:MI:SS'),1,3,'CHKNG');
    Insert into ET_MAINTENANCE_TYPE_REF (MTR_SEQ,NAME,CURRENT_IND,DESCRIPTION,CREATE_USER_ID,CREATE_TS,UPDATE_USER_ID,UPDATE_TS,VERSION,FK_REF_ET_MAINT_TYPE_GRP_SEQ,DN_MAINT_TYPE_GRP_CODE) values (41,'RAD Wipe Sample','Y','Maint. type','EMP v4 Modifications',to_date('AD 2008-04-29 18:16:35','BC YYYY-MM-DD HH24:MI:SS'),'EMP v6 DB mods.',to_date('AD 2009-03-04 16:17:21','BC YYYY-MM-DD HH24:MI:SS'),4,5,'MISC');
    Insert into ET_MAINTENANCE_TYPE_REF (MTR_SEQ,NAME,CURRENT_IND,DESCRIPTION,CREATE_USER_ID,CREATE_TS,UPDATE_USER_ID,UPDATE_TS,VERSION,FK_REF_ET_MAINT_TYPE_GRP_SEQ,DN_MAINT_TYPE_GRP_CODE) values (42,'Sensor Change','Y','Maint. type','EMP v4 Modifications',to_date('AD 2008-04-29 18:16:35','BC YYYY-MM-DD HH24:MI:SS'),'MAINTGRP',to_date('AD 2007-12-07 16:44:11','BC YYYY-MM-DD HH24:MI:SS'),1,7,'REPLCMNT');
    Insert into ET_MAINTENANCE_TYPE_REF (MTR_SEQ,NAME,CURRENT_IND,DESCRIPTION,CREATE_USER_ID,CREATE_TS,UPDATE_USER_ID,UPDATE_TS,VERSION,FK_REF_ET_MAINT_TYPE_GRP_SEQ,DN_MAINT_TYPE_GRP_CODE) values (43,'Sensor Replacement','Y','Maint. type','EMP v4 Modifications',to_date('AD 2008-04-29 18:16:35','BC YYYY-MM-DD HH24:MI:SS'),'MAINTGRP',to_date('AD 2007-12-07 16:44:11','BC YYYY-MM-DD HH24:MI:SS'),1,7,'REPLCMNT');
    Insert into ET_MAINTENANCE_TYPE_REF (MTR_SEQ,NAME,CURRENT_IND,DESCRIPTION,CREATE_USER_ID,CREATE_TS,UPDATE_USER_ID,UPDATE_TS,VERSION,FK_REF_ET_MAINT_TYPE_GRP_SEQ,DN_MAINT_TYPE_GRP_CODE) values (44,'Source Inventory','Y','Maint. type','EMP v4 Modifications',to_date('AD 2008-04-29 18:16:35','BC YYYY-MM-DD HH24:MI:SS'),'MAINTGRP',to_date('AD 2007-12-07 16:44:11','BC YYYY-MM-DD HH24:MI:SS'),1,5,'MISC');
    Insert into ET_MAINTENANCE_TYPE_REF (MTR_SEQ,NAME,CURRENT_IND,DESCRIPTION,CREATE_USER_ID,CREATE_TS,UPDATE_USER_ID,UPDATE_TS,VERSION,FK_REF_ET_MAINT_TYPE_GRP_SEQ,DN_MAINT_TYPE_GRP_CODE) values (45,'Vehicle Maintenance','Y','Maint. type','EMP v4 Modifications',to_date('AD 2008-04-29 18:16:35','BC YYYY-MM-DD HH24:MI:SS'),'MAINTGRP',to_date('AD 2007-12-07 16:44:12','BC YYYY-MM-DD HH24:MI:SS'),1,8,'SEVRCNG');
    I had deleted the value of DN_MAINT_TYPE_GRP_CODE in the record with MTR_SEQ of 41 and was commiting the record so I could test a script to replace NULL values in DN_MAINT_TYPE_GRP_CODE in a production database.
    Ed. H.

  • Linux x86_64 : Alt-Gr key not responding in SQL developer 1.5.4

    SQL Developer 1.5.4 Build MAIN-5940
    uname -a
    Linux mosselin-pc 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
    /usr/lib/jvm/jdk1.6.0_13# bin/java -version
    java version "1.6.0_13"
    Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
    cat ~/.sqldeveloper/jdk
    /usr/lib/jvm/jdk1.6.0_13
    In sqldeveloper the Alt-Gr Key is dead
    the keyboard works perfectly
    on a french keyboard, this key is used for the "~#{[|`\^@]}" symbols
    these are quite useful for coding
    the only workaround I have is to type the text using the gedit tool and cut/paste the code
    Am I alone with this issue ?

    Found : I just had to MODIFY the sqldeveloper.sh
    #!/bin/bash
    export LANG=C
    export NLS_LANG=American_AMERICA.UTF8
    cd "`dirname $0`"/sqldeveloper/bin && bash sqldeveloper $*
    The French Linux machines have
    LANG=fr_FR.UTF8
    and NLS_LANG is unset by default
    issue solved

  • Can't find Extention for TT in SQL Developer Auto Update

    Just downloaded the new Version of SQL Developer(1.2.1 build main:32.13)
    from the TimesTen SQL Developer page.
    http://www.oracle.com/technology/products/timesten/timesten_sqldeveloper.html
    Tried searching for updates as shown in 'How to Install the TimesTen Extension' viewlet, but found no TimesTen Extention.
    Would someone please verify the extention is available?

    The TimesTen extension is now available via 'Check for Updates'.
    Please make sure you are using SQL Developer 1.2.1 Build 32.13. As with all SQL developer extensions you need to provide your OTN login id and password to download the files.
    Simon

Maybe you are looking for

  • PO could not be creating using the Enjoy-BAPI

    Hi expersts. I have a problem with BAPI function module BAPI_PO_CREATE1. When program will generate orders for several suppliers for one supplier "PO could not be creating using the Enjoy-BAPI" and "Purchase order item 00010 still contains faulty sch

  • TS4062 I've just 'upgraded' my ipod and now my G5 can no longer talk to my ipod.

    I've just 'upgraded' my ipod and now my G5 can no longer talk to my ipod. Why can I not just transfer my ipod (music, movies etc) info to my other macbooks?   This service stinks.

  • Inserting a LONG to a BLOB in the same table

    I have a table with a LONG column and would like to concatenate all existing columns into a new column in the same table and define it as a BLOB. I'm trying to figure out a way to do this. I tried the following and got error message insert into cma_s

  • Weblogic DB connection pool load balancing problem

    hi all, here is a strange issue. We have a clustered weblogic environment with2 servers. And the application is deployed to cluster. But strangely when we check the active connections for the connection pool that is being used by the application, we

  • Alignment problems in Muse

    Hi guys, Need help with this, This is my page: http://8aug2013-224528-8.businesscatalyst.com/index.html I have one master.  Applied to both pages. Use the two links at the top right to toggle between the two language pages.  Why do the bottom element