SQL Developer Export hangs - version 3.2.20.09

Hi,
I installed SQL Developer Version 3.2.20.09 Build MAIN-09.87 and try to export a query into csv file,
it hangs after writing 100 rows, I don't see the file grows on OS, the progress-bar keeps saying 100 row
I also tried .xls format, the problem remains.
the downloaded file is sqldeveloper-3.2.20.09.87.zip (with JDK included)
Your help is appreciated.

I ran export for a different SQL, the .csv file was generated.
Not sure if the issue I encounter is data-related. I want to point out that some of the return data contains ASCII control characters:
This is the exact SQL for the hanged-export:
select c.email_addr,c.job_title, regexp_replace(c.job_title,'[[:cntrl:]]','#'),
t.job_title, regexp_replace(t.job_title,'[[:cntrl:]]','#')
from HZ_IMP_CONTACTS_T t, my_contact c
where t.batch_id=100002764150299
and t.REL_ORIG_SYSTEM_REFERENCE = c.pr_dept_ou_id || ':' || c.row_id
and rownum < 200
Hope you can reproduce this issue.
Thanks,
Wen

Similar Messages

  • SQL Developer 4 Hangs on Startup

    SQL Developer starts with the splash screen, then opens a larger window (leaving both open) and then hangs there.
    I've seen several threads like the following:
    https://community.oracle.com/message/11326869#11326869
    https://community.oracle.com/message/11127183#11127183
    I'm running Java 7:
    2014-01-29 13:54:55                                          
    D:\oracle\product\11.2.0\client_1\sqldeveloper               
    » java -version                                              
    java version "1.7.0_13"                                      
    Java(TM) SE Runtime Environment (build 1.7.0_13-b20)         
    Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
    2014-01-29 13:56:12                           
    D:\oracle\product\11.2.0\client_1\sqldeveloper
    » $(gcm java).Path                            
    C:\Program Files\Java\jdk1.7.0_13\bin\java.exe
    I've completely deleted my %USERPROFILE%\AppData\Roaming\{sqldeveloper|SQL Developer} directories.
    I'm running from my D:\ drive.
    I've modified the %USERPROFILE%\AppData\Roaming\sqldeveloper\product.conf and pointed it at various JDKs with various results - as expected Java 6 flat doesn't work. Older Java 7 doesn't open the blank screen but hangs.

    1.7.0_13-b20 is old, and is that a beta? We're testing and supporting with version 1.7u45 as a minimum.
    You don't need to update your JDK - just download the Windows copy of SQLDev 4 that includes the JDK and you should be good to go.
    The other thing you could try is to run it from your C:\ drive in case there's some weird write permissions issue going on.

  • SQL Developer Data Copy (version 1.5.5)

    I was trying to copy the data values from one table to another.(Across two schemas. But the tables are the same). I exported the data values as csv and imported in on the other schema. is this the only way to do on SQL developer?. This method seems to be inconsistent. It works only for a few tables. Doesn't work for all the tables. Does anyone have an alternative solution for this?. Or can anyone give me the exact picture of what could possibly be wrong with my method?

    Hi,
    Data Modeler 4.1 needs Java 1.8 to run successfully.
    If you try to run Data Modeler 4.1 with Java 1.7 it gets stuck in "Registering Extensions", and this error appears in the console log.
    When you try to start it with Java 1.7 it normally gives an "Unsupported JDK version" warning, which identifies the file that needs to be updated to refer to a Java 1.8 jdk.
    On Windows, this will normally be C:\Users\<your user>\AppData\Roaming\datamodeler\4.1.0.866\product.conf,
    but if you start it from the console using the datamodeler64.exe it will probably use the file
    C:\Users\<your user>\AppData\Roaming\datamodeler64\4.1.0.866\product.conf instead.
    You can edit this file.  Alternatively if you delete the file, it should display the dialog asking for the location of the JDK next time.
    David

  • SQL Developer export files not visible

    Hi All,
    I've started using SQL Developer recently and I am completely new to this tool.
    I've noticed a weird problem. All the export files and the folders I create from SQL Developer is not visible from the normal windows. Say I've executed a query and I need to export the output to a file. I right-click on the data grid; select Export Data -> xls/csv (anything) . I get a pop to mention the Location of the file. I click on Browse ; then select the location and then click on apply. I expect the file to be created. But when I go to that folder; I do not find any files.
    To add on to my suprise; If i click on open a file and navigate to the above mentioned path; the pop-up shows that the file is present in that folder. But it is not visible from Windows. This is of no use as I cannot use those files.
    BTW; version is 2.1.1.64
    Note: I've also enabled the option of viewing all hidden files and folders in Windows.
    Regards,
    Arun

    Hi Arun,
    If you are using Windows Vista, Windows 7, or higher, and writing to a directory (like C:\, C:\Windows\, C:\Program Files\) that Microsoft wishes to protect from malware or just simple clutter , then you are running afoul of a redirect feature in the OS that puts the unwanted file in a VirtualStore folder for your user name, specifically:
    C:\Users\<yourusername>\AppData\Local\VirtualStore\<full path where you think the file got stored>See the following for details:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-files/folder-redirect-in-windows-7/95218744-37e6-40cd-b890-2e647351df16
    I just ran across this myself for the case of C:\ and perhaps this applies to your situation also.
    Regards,
    Gary

  • Error Sql-developer EA3 hangs during startup

    Sql-developer 4 EA3 simply hangs while starting up in "startup pop-window" during task "Restoring Windows".
    I've even restartet my windows 7,  the problem still exists.
    Have to use an earlier version :-(
    regards Karsten

    Try finding the settings directory for 4EA3 in your application settings/roaming profiles directory and deleting it

  • The new SQL Developer keeps hanging!

    http://www.oracle.com/technology/software/products/sql/index.html
    SQL Developer give me a break!
    I installed this software for the ease of retreival of data from the database, but on the contrary it keeps hanging and has now become a nuisance to use it.
    It affects the productivity to a great extent since it keeps me waiting for too long while it fetches data.
    Before this I had used Toad(which is not used here anymore), and never had any such problems with it.
    In the SQL Developer, the records fetched are now editable. But I don't see that as a boon to us. Infact scrolling through the record to the end has now become a pain. Before to scroll throught a record all you needed to do was press the <-- or
    --> keys. Now thats not possible.
    Plus, it seems more unstable than the previous version. It just hangs more than before.

    -followup-
    Hi,
    Getting extra popup menuoptions in the navigator is really easy (thanks Kris Rice for the skeleton on http://esdev.sourceforge.net/)
    I'll try to rewrite some GeoRaptor code so the menu-options will work for SQL Developer 1.1.
    Does anyone know some docs/examples for submenus/icons in the navigator popup ?
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • SQL Developer Export to PDF

    Hi,
    How to export the ER diagram to an PDF or Word format, i have used SQL Developer tool Build
    Oracle IDE     3.1.07.42
    Java(TM) Platform     1.6.0_11
    Versioning Support     3.1.07.42
    Thanks!

    WRONG FORUM!
    >
    How to export the ER diagram to an PDF or Word format, i have used SQL Developer tool Build
    >
    Please mark this question ANSWERED and post it in the SQL Developer forum.
    SQL Developer
    Reverse Engineering Oracle Database Schema to ER Diagram
    http://techxploration.blogspot.com/2012/06/reverse-engineering-oracle-database.html
    >
    11) To print your ER diagram to image/PDF. Go to Data Modeler >> Print Diagram >> To Image File.

  • SQL Developer Export Issue

    I could export the query results to XLS by clicking the right mouse button from the results and the export window pops up with the flile name and works fine. However when I run certain queries and tries to export results by clicking the right mouse button and choosing XLS the export windows does not pop up and I am unable to export the data. The query results has about 15 columns displayed and I am using Ver 1.5.5. Any help appreciated.

    Hi,
    The 1.5.5 version is rather old. Best to upgrade to the latest 3.1 production version. If the same problem still occurs, provide specifics about the query that fails on export to xls.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Feb 24, 2012 8:54 AM
    I see this is a duplicate thread. A while back we were getting lots of system generated duplicates. I hope that is not starting to happen again!

  • SQL Developer export forgot to check to include semicolons in DDL

    Hi,
    I used the SQL Developers Export-function (select tables and right click on them, then select export) to backup tables.
    However, I forgot to set the 'Abschlusszeichen' (sorry for the german). That apparently means my create table statements are not finished by an ';', and they sinmply don't execute using the @script.sql method, or the sql developers import-function.
    One sql-file is 2 GB in size, so I currently have no idea how to edit it and add the semicolons manually. Is there any hope to rescue the data?
    I'm running sql developer 3.2.20.09, oracle Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production as well as Windows 8.1
    For clarification, this is how the create table part looks:
    --  Datei erstellt -Montag-September-30-2013  
    --  DDL for Table ZZ_BEN_0
      CREATE TABLE "PIERUSCHM"."ZZ_BEN_0"
       (    "BENUTZER_ID" NVARCHAR2(30),
        "NAME" NVARCHAR2(30),
        "GUELT_VON" NVARCHAR2(30),
        "GUELT_BIS" NVARCHAR2(30),
        "IST_KORREKTUR" NVARCHAR2(30),
        "IST_HALBTAGSKRAFT" NVARCHAR2(30),
        "LADE_DAT" DATE
    --  DDL for Table ZZ_BEN_1
      CREATE TABLE "PIERUSCHM"."ZZ_BEN_1"
       (    "BENUTZER_ID" NVARCHAR2(30),
        "NAME" NVARCHAR2(30),
        "GUELT_VON" NVARCHAR2(30),
        "GUELT_BIS" NVARCHAR2(30),
        "IST_KORREKTUR" NVARCHAR2(30),
        "IST_HALBTAGSKRAFT" NVARCHAR2(30),
        "LADE_DAT" DATE
    --  DDL for Table ZZ_BEN_10

    Also i'd like to add that the file begins with table definitions but then contains the actual (and randomly generated) data as well.
    You still need to have the file regenerated or you should expect to have problems with ANY method you use to try to automatically 'fix' the problem.
    1. No experienced developer that I have worked with would EVER try to execute such a monolithic script because there is virtually NO chance that a 2 GB script will EVER run successfully without an error of some sort. Objects have to be created in the proper order when dependencies exist between them. For example, you can't create an index if the table hasn't been created yet. There can even be circular references that will prevent all objects from being VALID even if they are created.
    2. There is virtually NO chance that ANY method you use will put terminators in EXACTLY the right place without causing a problem of some sort.
    3. When there is an error the script may continue to try to executed and that usually causes further errors. It also creates garbage objects that are not valid but will keep the script from working correctly the next time since the objects will already exist.
    You need to create a SET of scripts that are of manageable size so that you can control the process of executing them in the proper order.
    If you don't take the time to do that, up front, you are going to wasted a tremendous amount of time when the script fails trying to cut and paste the pieces you need out of that 'master' script.
    There are NO SHORTCUTS: take the time to do it right the first time.

  • SQL Developer Data Modeler - Version 3.0.0.665 - Open older project fail

    Hi,
    I just downloaded latest version of SQL Developer Data Modeler (3.0.0.665) and there is no "File" -> "Open" menu item. There is only "Save", "Save as", "Compare with" and "Exit".
    I try to drag`n`drop project file to the Data Modeler window. This operation leads to opening project file as XML. I got the same result when I try to open the file with windows context menu "Open with".
    How can I open older Data Modeler project? My previous version was 3.0.0 and project file was created there.
    Maybe I need disable "Start Page'? But how? I cann`t find appropriate param in Tools -> Preferences

    Hi,
    See this thread: Re: 30EA2 problem: Menu items not available
    Ivan

  • SQL Developer 2.1 version migration issue

    Hello Everyone,
    Since I was unable to find a similar topic on the forum, I'm posting now the problem I'm facing: I have downloaded release 2.1 for Windows 32 bit (without JDK) and I unzipped it in an empty 'sqldeveloper' folder on a Windows XP machine.
    Upon starting it up, there is no migration wizard popping up to allow me to import the existing settings from release 1.2.1 residing in a parallel folder 'sqldeveloper.1.2.1'. If it works, does it import anything more than connections?
    I tried to use the tools tab and explore various documentation sources (readme, help, forum, internet search) with no luck so far.
    I would guess there is something wrong in my deployment procedure since nobody else has complained of similar issues.
    Any hints or suggestions you may want to share would be greatly appreciated.
    Thank you,
    Dan

    The original poster mentioned that he was migrating from 1.2.1, a really old version. That version did/does not store user settings under "Application Data", but in "sqldeveloper/system" in its' own installation directory. Unfortunately, SQL Dev. 2.1 will (apparently) not let you import settings from anything prior to 1.5; at least I was not able to do it when I tried just now (I have all of my previous SQL Developer installations still on my hard drive). It looks to me like what he will have to do is first upgrade from 1.2.1 to 1.5.5 (which will allow him to import his old 1.2.1 settings), and then upgrade from 1.5.5 to 2.1.
    Ed. H.

  • Oracle SQL Developer Screen hangs up

    I am facing an unusual problem in Oracle SQL Developer. When I try to compile a store procedure it hangs up the Oracle SQL Developer Screen and I can't do any activity, except to kill the SQL developer instance and start again.
    But when i start he instance and try to compile it, i again get the same error.
    Anybody faced such problem? I am new to oracle.
    For one or two instance I waited for 5 to 10 min and got this error
    ORA-04021 timeout occurred while waiting to lock object
    But I am the only person working on this instance of Oracle

    That would indicate some other session is currently running the proc. Check out Tools - Monitor Sessions, or the Enterprise Manager. If necessary, you can kill the locking session from both.
    Hope that helps,
    K.

  • SQL Developer Export Limitation of CLOB columns

    Hello Everyone,
    Would anyone happen to know if there is a column size limitation when exporting data (excel, text, etc) from the results query results pane? There appears to be a 4000 byte limitation. Specifically, I am attempting to export sql results that contain clobs which are storing XML messages.
    Is this a known limitation and if so, is there any expectation of this being enhanced?
    I am using the following:
    Windows XP SP3
    SQL Developer 2.1.0.63 (also happens on the 1.5 branch)
    Oracle Server 10.2.0.4
    Oracle Client 10.2.0.1
    Thanks,
    Ronnie

    Yes, that's correct.
    If you want this enhanced, add a request at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • SQL Developer EA3 hangs after start up in MacOS

    Does anyone experience this issue?  After I install SQLDeveloper EA3 for Mac OS, when I click on the app to start.  SQLDeveloper starts up fine and it will present the start-up page.  But once it is in the Start-up page, then it hangs with a spinning wheel or hour glass in Windows term.  It looks like it is doing something.  But it just won't work and it hangs.  I have to force kill the job to get out of it.
    Does anyone know if there is any issue like this on the MacOS side?  I have Java JDK 1.7.45 on my Mac.  SQLDeveloper 3 works fine when I uninstall SQL Developer 4 EA3 and put the SQL Developer 3 back.  I don't think that this is a java related.  But it may be configuration related where SQL Developer appears to go to la la land after it starts up.
    So any idea will be greatly appreciated.  Thanks.

    I did run this from the terminal.  I run it from /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin and simply run it with ./sqldeveloper.
    I have also updated the sqldeveloper.conf to use debug.conf option.
    IncludeConfFile  sqldeveloper-debug.conf
    When I run it, I receive the following and then it hangs and the spinning wheel happens...
    Oracle SQL Developer
    Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
    Java asserts are enabled!
    LOAD TIME : 315
    The following lists the dump when I issued kill -3 <pid>:
    Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
    "status-0" prio=5 tid=0x00007ff974d84800 nid=0x13c0b waiting on condition [0x00000001150a6000]
       java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for  <0x00000007f68ee7a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
      at java.util.concurrent.DelayQueue.take(DelayQueue.java:209)
      at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:338)
      at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:300)
      at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    "IconOverlayTracker Timer: null-jdbcNodeInfoType" prio=5 tid=0x00007ff976848000 nid=0x13913 in Object.wait() [0x00000001200a4000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f69a1e80> (a java.util.TaskQueue)
      at java.lang.Object.wait(Object.java:503)
      at java.util.TimerThread.mainLoop(Timer.java:526)
      - locked <0x00000007f69a1e80> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Timer.java:505)
    "WaitCursor-Timer" prio=5 tid=0x00007ff974e0a000 nid=0x11d03 in Object.wait() [0x000000011bca5000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f670c360> (a java.util.TaskQueue)
      at java.lang.Object.wait(Object.java:503)
      at java.util.TimerThread.mainLoop(Timer.java:526)
      - locked <0x00000007f670c360> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Timer.java:505)
    "WeakDataReference polling" prio=5 tid=0x00007ff97b325800 nid=0x11b03 in Object.wait() [0x000000011bba2000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f674cd10> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      - locked <0x00000007f674cd10> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
      at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
      at java.lang.Thread.run(Thread.java:744)
    "pool-2-thread-1" prio=5 tid=0x00007ff97e1f6800 nid=0x11903 waiting on condition [0x000000011b18a000]
       java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for  <0x00000007f62b07d0> (a java.util.concurrent.SynchronousQueue$TransferStack)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
      at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
      at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:925)
      at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    "Scheduler" daemon prio=5 tid=0x00007ff97e621000 nid=0x11707 in Object.wait() [0x0000000117986000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f62f3f08> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
      at java.lang.Object.wait(Object.java:503)
      at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
      - locked <0x00000007f62f3f08> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
      at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:479)
    "DestroyJavaVM" prio=5 tid=0x00007ff9798c8000 nid=0x1903 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Thread-9" daemon prio=5 tid=0x00007ff97bac2000 nid=0x11303 in Object.wait() [0x000000011b087000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f5225358> (a java.util.LinkedList)
      at java.lang.Object.wait(Object.java:503)
      at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1476)
      - locked <0x00000007f5225358> (a java.util.LinkedList)
    "Log Poller" prio=5 tid=0x00007ff97b048800 nid=0x11007 waiting on condition [0x000000011a9ca000]
       java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for  <0x00000007f55b3160> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
      at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
      at oracle.ide.log.QueuedLoggingHandler.take(QueuedLoggingHandler.java:60)
      at oracle.ideimpl.log.TabbedLogManager$4.run(TabbedLogManager.java:321)
      at java.lang.Thread.run(Thread.java:744)
    "JarIndex Timer" daemon prio=5 tid=0x00007ff97b80d800 nid=0x10407 in Object.wait() [0x000000011b474000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f4aaf6f0> (a java.util.TaskQueue)
      at java.util.TimerThread.mainLoop(Timer.java:552)
      - locked <0x00000007f4aaf6f0> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Timer.java:505)
    "TimedCache-Timer" daemon prio=5 tid=0x00007ff97b099000 nid=0x1060b in Object.wait() [0x000000011af84000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f4891358> (a java.util.TaskQueue)
      at java.lang.Object.wait(Object.java:503)
      at java.util.TimerThread.mainLoop(Timer.java:526)
      - locked <0x00000007f4891358> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Timer.java:505)
    "Framework Event Dispatcher" daemon prio=5 tid=0x00007ff975b08800 nid=0x10203 in Object.wait() [0x0000000117f48000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f41f4ac0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      at java.lang.Object.wait(Object.java:503)
      at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
      - locked <0x00000007f41f4ac0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
    "Framework Active Thread" prio=5 tid=0x00007ff9741b6000 nid=0xfe17 in Object.wait() [0x0000000117d42000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f4059920> (a org.eclipse.osgi.framework.internal.core.Framework)
      at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1863)
      - locked <0x00000007f4059920> (a org.eclipse.osgi.framework.internal.core.Framework)
      at java.lang.Thread.run(Thread.java:744)
    "CLI Requests Server" daemon prio=5 tid=0x00007ff974975000 nid=0xf103 runnable [0x00000001168f9000]
       java.lang.Thread.State: RUNNABLE
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
      at java.net.ServerSocket.implAccept(ServerSocket.java:530)
      at java.net.ServerSocket.accept(ServerSocket.java:498)
      at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)
    "Active Reference Queue Daemon" daemon prio=5 tid=0x00007ff974974800 nid=0xef03 in Object.wait() [0x00000001165c5000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f3ea0180> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      - locked <0x00000007f3ea0180> (a java.lang.ref.ReferenceQueue$Lock)
      at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:180)
      - locked <0x00000007f3ea0180> (a java.lang.ref.ReferenceQueue$Lock)
    "TimerQueue" daemon prio=5 tid=0x00007ff9748c3800 nid=0xd703 waiting on condition [0x000000011220c000]
       java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for  <0x00000007f3f10eb8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
      at java.util.concurrent.DelayQueue.take(DelayQueue.java:209)
      at javax.swing.TimerQueue.run(TimerQueue.java:171)
      at java.lang.Thread.run(Thread.java:744)
    "Java2D Disposer" daemon prio=5 tid=0x00007ff97489a000 nid=0xd307 in Object.wait() [0x0000000111fc1000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f3f264b8> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      - locked <0x00000007f3f264b8> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
      at sun.java2d.Disposer.run(Disposer.java:145)
      at java.lang.Thread.run(Thread.java:744)
    "Java2D Queue Flusher" daemon prio=5 tid=0x00007ff975884000 nid=0xc207 in Object.wait() [0x0000000110cab000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f3e85998> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)
      at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:208)
      - locked <0x00000007f3e85998> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)
    "AWT-EventQueue-0" prio=5 tid=0x00007ff974883000 nid=0xbb03 waiting on condition [0x0000000110ba8000]
       java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for  <0x00000007f3f0f658> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
      at java.awt.EventQueue.getNextEvent(EventQueue.java:543)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    "AWT-Shutdown" prio=5 tid=0x00007ff975879000 nid=0x750b in Object.wait() [0x000000010e088000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f3f13b80> (a java.lang.Object)
      at java.lang.Object.wait(Object.java:503)
      at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
      - locked <0x00000007f3f13b80> (a java.lang.Object)
      at java.lang.Thread.run(Thread.java:744)
    "AppKit Thread" daemon prio=5 tid=0x00007ff975881800 nid=0x507 runnable [0x00007fff5c5bd000]
       java.lang.Thread.State: RUNNABLE
      at sun.lwawt.macosx.LWCToolkit.doAWTRunLoop(Native Method)
      at sun.lwawt.macosx.LWCToolkit.invokeAndWait(LWCToolkit.java:549)
      at sun.lwawt.macosx.LWCToolkit.invokeAndWait(LWCToolkit.java:489)
      at sun.lwawt.macosx.CAccessibility.invokeAndWait(CAccessibility.java:75)
      at sun.lwawt.macosx.CAccessibility.getFocusOwner(CAccessibility.java:521)
    "Service Thread" daemon prio=5 tid=0x00007ff97380e000 nid=0x5303 runnable [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread1" daemon prio=5 tid=0x00007ff975823800 nid=0x5103 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread0" daemon prio=5 tid=0x00007ff97401a000 nid=0x4f03 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=5 tid=0x00007ff97401f000 nid=0x4d03 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=5 tid=0x00007ff974843800 nid=0x3903 in Object.wait() [0x000000010bef2000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f3bdf128> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      - locked <0x00000007f3bdf128> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)
    "Reference Handler" daemon prio=5 tid=0x00007ff974010800 nid=0x3703 in Object.wait() [0x000000010bdef000]
       java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000007f3f24e00> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(Object.java:503)
      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
      - locked <0x00000007f3f24e00> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=5 tid=0x00007ff974843000 nid=0x3503 runnable
    "GC task thread#0 (ParallelGC)" prio=5 tid=0x00007ff974814800 nid=0x2503 runnable
    "GC task thread#1 (ParallelGC)" prio=5 tid=0x00007ff974815000 nid=0x2703 runnable
    "GC task thread#2 (ParallelGC)" prio=5 tid=0x00007ff974815800 nid=0x2903 runnable
    "GC task thread#3 (ParallelGC)" prio=5 tid=0x00007ff974816000 nid=0x2b03 runnable
    "GC task thread#4 (ParallelGC)" prio=5 tid=0x00007ff974817000 nid=0x2d03 runnable
    "GC task thread#5 (ParallelGC)" prio=5 tid=0x00007ff974817800 nid=0x2f03 runnable
    "GC task thread#6 (ParallelGC)" prio=5 tid=0x00007ff974818000 nid=0x3103 runnable
    "GC task thread#7 (ParallelGC)" prio=5 tid=0x00007ff974818800 nid=0x3303 runnable
    "VM Periodic Task Thread" prio=5 tid=0x00007ff975834800 nid=0x5503 waiting on condition
    JNI global references: 1152
    Heap
    PSYoungGen      total 46080K, used 17363K [0x00000007fbd00000, 0x0000000800000000, 0x0000000800000000)
      eden space 23552K, 42% used [0x00000007fbd00000,0x00000007fc6c8250,0x00000007fd400000)
      from space 22528K, 32% used [0x00000007fd400000,0x00000007fdb2caf8,0x00000007fea00000)
      to   space 22528K, 0% used [0x00000007fea00000,0x00000007fea00000,0x0000000800000000)
    ParOldGen       total 131584K, used 73062K [0x00000007f3800000, 0x00000007fb880000, 0x00000007fbd00000)
      object space 131584K, 55% used [0x00000007f3800000,0x00000007f7f59820,0x00000007fb880000)
    PSPermGen       total 92160K, used 67536K [0x00000007e3800000, 0x00000007e9200000, 0x00000007f3800000)
      object space 92160K, 73% used [0x00000007e3800000,0x00000007e79f40d0,0x00000007e9200000)

  • Statement terminator problems when exporting data with SQL Developer 3.2

    I've ran across what appears to be a bug with SQL Developer 3.2.20.09. If someone can let me know if this is indeed a bug, or just something I need to configure differently, please let me know.
    The problem is related to exporting a database as a SQL script, and terminator characters at the end of "create" statements, especially when columns have comments, and problems that occur when using SQLPlus to run the export script to create the tables. With the old SQL Developer 1.5.4, with the "Terminator" and "Pretty Print" options checked, statements like the following are generated:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    When I then run the script using SQLPlus, everything works fine. However, with SQL Developer 3.2.20.09, with the same options enabled, the same statements are generated like this:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    Notice all of the extra slashes in there. If a slash is not used as a statement terminator, SQLPlus treats slashes as a command to repeat the last SQL statement, which causes many errors about tables or sequences already existing. So, I tried removing the "Terminator" flag from the export options. This lead to statements that looked a bit more promising:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.'
    The big problem, though, is in the statement for the table with a comment. Notice that there are two statements, but there is not a semicolon after either of them. This unfortunately causes the "COMMENT" statement to be appended to the "CREATE TABLE" statement before being executed, which causes the table to not be created (which causes even more errors later on when the script attempts to populate the table with data).
    So, it would appear that this is a bug, but I'm not sure. Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    Thanks,
    -Bill

    >
    So, it would appear that this is a bug, but I'm not sure.
    >
    That would be a bug. Thanks for reporting it and providing the detailed example.
    >
    Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    >
    No.
    Leave the thread open. One of the developers for sql developer should be monitoring the forum and can provide more information.

Maybe you are looking for