Why SQL Developer randomly at the end sometimes introduced the special strings?
I noticed that the SQL Developer has some problems with string manipulation in its code.
SQL Developer 3.2 when generate us scripts of our efforts using SQL Developer data modeling we often have problems with 'archiving' scripts generated in our SVN repository because he complains about the inconsistency with line endings, and some generated lines have apparently invisible special characters (non-ascii) to the end. The solution is to open the scripts using MS WordPad and save the files immediately, as this text editor would be to filter all characters (not ascii) invisible. So, it wasn't a big deal...
But now as we explore the SQL Developer 4, we have noticed that we have added to the names of columns during dismantling of 'Table or restore line' operations, special characters effectively corrupted tables (table definitions in the dictionary) that we use in the corresponding unit tests.
The team SQL developers aware of the problem and if so is there any workaround?
Please advise...
Thank you
Val
Just a quick update:
Has obtained another definition of 'corruption' in Toad table after running a unit test in SQL Developer (with the process of disassembly of the table or restore the line) and there seems to be a bug in Toad, not in SQL Developer. The special characters shown in Toad have nothing to do with the actual table definition in the dictionary. After you restart the Toad, the table definition looks good again. Probably a matter of caching in Toad...
Thank you
Val
Tags: Database
Similar Questions
-
Having problems with SQL Developer connection to the database on a LINUX machine
Having problems with SQL Developer connection to the database on a LINUX machine
Hello
I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
Status: Failed - Test has failed: the network adapter could not establish the connection
on Linux
and TNSPINGLSNRCTL> status Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production Start Date 03-APR-2013 16:13:13 Uptime 7 days 22 hr. 16 min. 41 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Service "orc11g" has 1 instance(s). Instance "orc11g", status READY, has 1 handler(s) for this service... Service "orc11gXDB" has 1 instance(s). Instance "orc11g", status READY, has 1 handler(s) for this service... Service "orc11g_XPT" has 1 instance(s). Instance "orc11g", status READY, has 1 handler(s) for this service... The command completed successfully LSNRCTL>
Tnsnames.ora on Linux,tnsping 172.x.x.x TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17 Copyright (c) 1997, 2005, Oracle. All rights reserved. Used parameter files: /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora Used EZCONNECT adapter to resolve the alias Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521))) OK (0 msec) [oracle@ltebilling ~]$
Listner on Linux,ORC11G = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc11g) ) )
hosts/ect/Linux,SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1) (PROGRAM = extproc) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521)) ) )
and there is no problem to ping linux from windows# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 172.x.x.x LTEBilling
Published by: user11309581 on April 11, 2013 15:16user11309581 wrote:
as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
tatus: failed - Test has failed: the network adapter could not establish the connectionIt's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.
This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with
c:\ telnet 172.x.x.x 1521
-
How to get the query of the region "PL/SQL function body returns the query string"?
Hello
is it possible to get the query string from the region of type "PL/SQL function body returns the query string"?
I can get the definition of the region as a PL/SQL procedure, but I am interested in the returned query. I tried to write something like
< pre > v_return_query: = «...» » ;
: P49_QUERY: = v_return_query;
Return v_return_query; < / pre >
to save the return on hidden item P49_QUERY string, but it does not work. I get the error message: ERR-1002 cannot find the item for the "P49_QUERY" element ID in the application '4000 '.
Kind regards
PrzemekIf you need to make reference to a page element in the block then you can use this type of control to avoid having to use generic column names:
if apex_application.get_current_flow_sgid(:APP_ID) = apex_application.get_sgid then-- runtime :P9_SQL := vSQL;else-- design time null;end if;
But if all you want to do is capture the SQL debugging you can take all the references element in the block and use the insert statement (in a debug table) as I showed earlier.
Scott
-
SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.
Hello
You can use REGEXP_SUBSTR Oracle/PLSQL: REGEXP_SUBSTR function
Select the function double REGEXP_SUBSTR('PUBLIC RELATION REPRESENTATIVE ','[^]+',1,2);
Do you have any value of the column as no 2nd string?
-
Script SQL Developer runs all the lines
I have a group of scripts that I want to execute in the order since a main script. I created a file referencing these scripts as follows below. My problem is that when I run this script (via F5 or another script referencing it), it runs only the first line and stops. I have excluded questions with my references to file by changing the order - always the first runs and stops. I have tried such as displayed below and with a semicolon; to separate each command. I have scoured the web and can not find any reason why it does not work. Each of the scripts listed below contains multiple statements separated by a; that wraps a file to a NAS where he is picked up by our external file transfer program. It all works properly - the only thing that I have problems with using 1 script to call several files and run them in order.
Any help is greatly appreciated!
@EMSTATUS.sql
@EMPLOYEE.sql
@HREMPUSF.sql
@HRHISTORY.sql
@HRSUPER.sql
@JOBCLASS.sql
@JOBCODE.sql
@PAACTREAS.sql
@PAEMPLOYEE.sql
@PAEMPPOS.sql
@PCODES.sql
@PCODESDTL.sql
@PERSACTHST.sql
@PRDISTRIB.sql
@PRPAYCODE.sql
@PSGRELATE.sql
@REVIEW.sql
Hello
Note You can place in the path: Tools-> preferences-> database-> spreadsheet-> "path select default to search scripts"
I tried the following:
c:\tmp\calltwoscripts. SQL
set echo on
@zone.sql
@ztwo.sql
Select 'done' double.
c:\tmp\zone. SQL:
Select 'one' double;
c:\tmp\ztwo. SQL:
Select 'two' SQL;
executed in a worksheet:
@c:/tmp/calltwoscripts.sql
Output:
> @zone.sql
> select "one" of the double
'A '.
-----
one
> @ztwo.sql
> Select "both" of the double
"TWO".
-----
two
> select 'done' double
'DONE '.
----------
Finish
The things that could go wrong:
Your scripts could end with "quit".
Paths can mingle: try (not @) and full of paths.
You could hit a code issue, the spreadsheet does not recover-in which case you should get the output on the command line and or Page logging of messages in the view.
Turloch
SQLDeveloper - team
http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-Debug-Info-for-Oracle-SQL-Developer/
http://totierne.blogspot.co.UK/2013/07/user-check-on-sqldeveloper-worksheet.html
-
Reset preferences in SQL Developer 4 using the older version of EA
SQL Developer (Version 4.0.0.13 - main build 13.80) and RDBMS 11 GR 2
I used the version (s) EA of SQLDEV4 for the past few months. Yesterday, I downloaded and installed the new version of SQLDEV 4 production. Unfortunately, when the installer asked if I would like to "see" my preferences from an earlier version of SQLDEV new SQLDEV4, I chose the wrong version of EA.
Is there a way to reset the preferences in new SQLDEV4 to get preferences from a previous version of (EA) or am I stuck trying to remember all the preferences, I put the last few months. I am tired of the reinstall, but preference 'Report' question never asked again.
Thanks in advance.
John
Close SQL Developer. Go to your application under user settings directory - this being windows mobile - blow the directory for this install v4.
Re-run the EXE file, it prompts you to new to the thread.
-
Randomly generate the special characters
I want to generate random password which should include at least one special character that could be any special character except @. dbms_random. String ('p', 1) will give 1 printable character that could be all in uppercase or lowercase, or any numeric value too. But how can I generate just 1 special character (with the exception of the @)?
Thank you
Published by: user5406804 on November 4, 2009 05:50Hello
Welcome to the forum!
You can do something like this:
SELECT SUBSTR ( '!#$%^*:;,.' -- list all special characters here , dbms_random.value (1, 11) -- 11 = 1 + number of special characters , 1 ) AS special_char FROM scott.emp ;
-
What is ways on the special string «...» » ?
who knows the chain special «...» "in the console of the OAM?Hi Alan,
If used in a resource, it is actually a wild-card for all levels of directory. A /protected/.../* resource protects all levels of directories and files under/protected. See http://docs.oracle.com/cd/E14571_01/doc.1111/e15478/app_domn.htm#BABHCEEC
Kind regards
Colin -
How and why I get lowered note version 4.1 to 3.2 SQL Developer?
First of all, I must say that I am a newbie. I know a little SQL to use it on my own over the years to build queries and reports outside the overview of the it Department. I'm at halfway through the first book Fundamentals SQL for Oracle Database 12 c Certification in the end.
A week ago when I started this journey, I downloaded Oracle 12 c and later SQL Developer 4.1 and was using SQL Developer 4.1 successfully. But when I tried to follow the examples of OE and HR in the book of preparation review making simple queries, I had to download the "examples of database" oracle.com/downloads. I downloaded the zip and run the setup.exe file. Now, I'm going to open the same exact shortcut, which I had used for SQL Developer 4.1 and it now opens instead of the SQL Developer 3.2! Why the hell should I suddenly have SQL Developer 3.2 an older version? Has anyone else got a happen to them? Do you know why it happened to me? And above all, it won't hurt anything if I returned to oracle.com/downloads and re - download SQL Developer 4.1 the latest version? Or do I somehow the old version of the SQL Developer to use the HR and OE schemas, tables, and data?
Thanks for any idea you may have in this weird situation.
Heather
You can install as many versions of SQL Developer you want, simply unpack each in its own empty directory.
"Examples of database" download & install must have diverted your shortcut. Probably version 4.1 is still installed and you just create a new shortcut. Better yet, 2 shortcuts: one for version 3.2 and one for version 4.1, as in the names of shortcut 'SQLDev32' and 'SQLDev41 '.
Edit: Using 3.2 for the examples in the book preparation will be easier because the SQL Developer can change from one version to another and no longer exactly correspond with them.
-
Role of the user of "SQL Developer" rESTful services
Hello
I am following the tutorial ""REST Data Services Installation, Configuration and Development Guide " "
But it seems that I can't create a user with the role of "Developer SQL". I am running the below command, I specify the password. Then called the credentials file is created.
But I can not yet connect SQL Developer using development REST with this credential.
java-jar ords.war user test_developer "SQL Developer"
There is no such role when I manually search for in the database. How can I create it?
Maybe I should create a thread separate, but my second question is, why I need for RESTful to work services have both apex_al.xml and apex_rt.xml conf files?
For what I understand, it is not necessary to have installed to use the services of APEX RESTful?
dmdamiyo wrote:
I am following the tutorial 'REST Data Services Installation, Configuration and Development Guide.
But it seems that I can't create a user with the role of "Developer SQL". I am running the below command, I specify the password. Then called the credentials file is created.
But I can not yet connect SQL Developer using development REST with this credential.
java-jar ords.war user test_developer "SQL Developer"
There is no such role when I manually search for in the database. How can I create it?
As mentioned by rwendel is not an Oracle database user / role you create, but it is specific to ADR.
You can share the link in the documentation where you follow this step?
If you want to install ADR using Oracle SQL Developer and use the various functions of the ADR 3.0, you can watch the following for quick information on ADR 3.0 sessions:
- https://www.YouTube.com/watch?v=vigcbPTekIs (ADR 3.0 installation using Oracle SQL Developer)
- Oracle REST data services learn more (ADR 3.0 - Quick information sessions)
Maybe I should create a thread separate, but my second question is, why I need for RESTful to work services have both apex_al.xml and apex_rt.xml conf files?
For what I understand, it is not necessary to have installed to use the services of APEX RESTful?
Yes, Oracle APEX is not necessary for the accommodation of RESTful Web Services with ADR 3.0, it was necessary in pre ADR 3.0 versions.
Reference:
The 'apex_al.xml' is the configuration user DB APEX_LISTENER and 'apex_rt.xml' matches the configuration of the APEX_REST_PUBLIC_USER DB user. You don't have to configure these users (if you do not want to use Oracle APEX). These users are necessary only if you want to use the RESTful Services with Oracle APEX.
Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#BABHAJDE
If you do not want to use Oracle APEX, then just configure the users ORDS_PUBLIC_USER and ORDS_METADATA.
Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#CHDGACJC
Kind regards
Kiran
-
Column with the default (to_date()) - failure on SQL Developer
Hello
I will you run the following statement:
ALTER TABLE PERIOD
ADD
(
PP_START_DATE DATE default to_date ('19000101', 'YYYYMMDD') NOT NULL,
PP_END_DATE DATE default to_date ('19000101', 'YYYYMMDD') NOT NULL
);This works very well and as planned. Existing entries in the table will win by default - that day.
Now, when I open SQL Developer and go on the columns tab and then click on the small button edit below that an editor window opens showing me all the columns and their specifications.
Here, I am able to modify change data. I notice that, in the columns of default_value for my two new columns, the value is ' to_date ('19000101', 'YYYYMMDD').Well I wonder about this but can SQL Developer, due to the use of a function, knows not what is calculated it and it can depends on somtething like Sysdate so that the SQL Developer must keep this dynamic statement.
-> Ok so far.
But when I (no matter if I change something or not) not to click OK, I get an error as follows:=========================================================
Column validation failure
---------------------------------------------------------
Invalid expression ' to_date ('19000101', 'YYYYMMDD').
DATE or TIMESTAMP expression expected.
=========================================================The question I have is: why is a failure and can do I do something wrong?
I can still edit the table using SQL, so this isn't the problem. But I wonder if it's an allusion to a bigger mistake.
If possible: is there a way to get SQL Developer working with it without losing the default dynamic value?Thanks for the replies.
This seems to be the same "not a bug" that has been reported here a few days ago:
-
Refresh the table data blocks SQL Developer
Hello
I am facing a problem with SQL Developer Version 3.2.20.09 build HAND - 09.87 (we run it on OEL 6.4).
When I click on the Refresh button in the tab "Data" from a table, SQL Developer crashes with the following stack.
Sometimes it works but sometimes it crashes... and the table contains only 5 lines. Any ideas?
Exception occurred during the transmission of the event:
Impossible
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAtImpl(Container.java:2515)
at java.awt.Container.findComponentAt(Container.java:2480)
at java.awt.Container.findComponentAt(Container.java:2463)
at sun.awt.X11.XGlobalCursorManager.findComponentAt(XGlobalCursorManager.java:159)
at sun.awt.GlobalCursorManager._updateCursor(GlobalCursorManager.java:193)
at sun.awt.GlobalCursorManager.updateCursorImmediately(GlobalCursorManager.java:95)
at sun.awt.X11.XComponentPeer.updateCursorImmediately(XComponentPeer.java:795)
at java.awt.Component.updateCursorImmediately(Component.java:3032)
at java.awt.Container.validate(Container.java:1494)
at java.awt.Window.dispatchEventImpl(Window.java:2516)
at java.awt.Component.dispatchEvent(Component.java:4576)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
to java.awt.EventQueue.access$ 400 (EventQueue.java:96)
in java.awt.EventQueue$ 2.run(EventQueue.java:631)
in java.awt.EventQueue$ 2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:116)
in java.awt.EventQueue$ 3.run(EventQueue.java:645)
in java.awt.EventQueue$ 3.run(EventQueue.java:643)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
in java.awt.Dialog$ 1.run(Dialog.java:1073)
in java.awt.Dialog$ 3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1672)
at java.awt.Component.setVisible(Component.java:1624)
at java.awt.Window.setVisible(Window.java:882)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
to java.awt.EventQueue.access$ 400 (EventQueue.java:96)
in java.awt.EventQueue$ 2.run(EventQueue.java:631)
in java.awt.EventQueue$ 2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
in java.awt.Dialog$ 1.run(Dialog.java:1073)
in java.awt.Dialog$ 3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1672)
at java.awt.Component.setVisible(Component.java:1624)
at java.awt.Window.setVisible(Window.java:882)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
to java.awt.EventQueue.access$ 400 (EventQueue.java:96)
in java.awt.EventQueue$ 2.run(EventQueue.java:631)
in java.awt.EventQueue$ 2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
in java.awt.Dialog$ 1.run(Dialog.java:1073)
in java.awt.Dialog$ 3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1672)
at java.awt.Component.setVisible(Component.java:1624)
at java.awt.Window.setVisible(Window.java:882)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
to java.awt.EventQueue.access$ 400 (EventQueue.java:96)
in java.awt.EventQueue$ 2.run(EventQueue.java:631)
in java.awt.EventQueue$ 2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
in java.awt.Dialog$ 1.run(Dialog.java:1073)
in java.awt.Dialog$ 3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1672)
at java.awt.Component.setVisible(Component.java:1624)
at java.awt.Window.setVisible(Window.java:882)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
to java.awt.EventQueue.access$ 400 (EventQueue.java:96)
in java.awt.EventQueue$ 2.run(EventQueue.java:631)
in java.awt.EventQueue$ 2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
in java.awt.Dialog$ 1.run(Dialog.java:1073)
in java.awt.Dialog$ 3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1672)
at java.awt.Component.setVisible(Component.java:1624)
at java.awt.Window.setVisible(Window.java:882)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
to java.awt.EventQueue.access$ 400 (EventQueue.java:96)
in java.awt.EventQueue$ 2.run(EventQueue.java:631)
in java.awt.EventQueue$ 2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
in java.awt.Dialog$ 1.run(Dialog.java:1073)
in java.awt.Dialog$ 3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1672)
at java.awt.Component.setVisible(Component.java:1624)
at java.awt.Window.setVisible(Window.java:882)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)
to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) [...]
Kind regards
Sébastien
Laurent,
Thanks for the update - to be able to point the finger at something specific to the environment is always useful. As noted above, the TaskDialog.showDelayedDialog has been rewritten to 4.0. In addition, 4.0 requires jdk.1.7, so between the two of them maybe behaviour will improve without the need to limit the way in which the o/s assigns tasks to processors. It is unclear if a particular flavor of the o/s may be more prone to this condition of StackOverflowError, or maybe just 64 - bit o/s in general.
Anyway, no matter what output 4.0 comes out, at least we are two weeks closer to her now.
Thank you
Gary
-
Unusual behavior with the debugger of the SQL Developer
Hello everyone,
I've recently updated to Developer SQL 3.2.10.09 and I noticed unusual behavior during debugging. I can't confirm that this behavior started because of the update, but that's just a guess at the moment. I'll explain what's going on...
I have a package and spec (both compiled for debugging) I want to scroll. I make a point to stop where I want to put an end to the execution and everything stops as expected at this time there... or what it looks like. The performance indicator is actually the line after where the process stopped in fact. Here is an example.
Say I put the breakpoint on line 3 of the code above. The execution point watch line three has been highlighted to indicate that it is the next line should be run, but when I mouse over ndxNewFac in both, he line shows its value to null. Then I switch to line 4 and ndxNewFac is now list 1, but ndxAdid is null.ndxEmpl PLS_INTEGER := 1; ndxNewFac PLS_INTEGER := 1; ndxAdid PLS_INTEGER := 1; ndxStdn PLS_INTEGER := 1; ndxNonComp PLS_INTEGER := 1;
It is really interesting when you arrive if statements or many transport returns in the code, because the execution point will actually bring out a blank line when execution is still a stingray above.
I reinstalled the JDK from my office and used previous versions of SQL Developer all with the same results in the end. I also used the computers of some colleagues on the same package and their debugging behaves normally. I have not tried the debugger on an anonymous block or another package yet, but I thought I'd throw this question here. I will reply with my findings.
Everyone has experienced identical to this behavior? I'll capture some screenshots if the scenario above is not clear.
Published by: gort_industries on Sep 28, 2012 08:28
Published by: gort_industries on Sep 28, 2012 10:44There was an old problem where the debug line numbers didn't explain correctly additional "create or replace" added to the top. I thought that this had been fixed some time ago.
-
While developer version 4.0.1.14 sql connection I get the error message
Set of süden today morning when connecting sql developer, I get the following error
To perform the requested operation, an error has occurred:
() oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber I have
0 vendor ID
Help, please
Problem was the automatic change of type tns connection. Somehow, she had moved from network alias to connect identified and because of that, I was getting error. I changed to alias network and gave the names of tns and it worked.
-
Queue in sql developer does not take into account the VALUE ECHO OFF
I am a developer SQL 3.1.07.42 Windows 7 64 bit with java 1.7
I have the following script very simple just to show the problem:
If I run into a FROG 10.6.0.42 it creates the file withSET ECHO OFF; SET FEEDBACK OFF; SET SERVEROUTPUT ON; SET VERIFY OFF; SET PAGES 0; SET HEAD OFF; SPOOL c:\test.sql SELECT 1, 2, 3 FROM DUAL; SPOOL OFF; /
This is as expected (by me)1 2 3
If I run the same exact query in SQL Developer 3.1.07.42, it creates the file with:
(the < above is actually ">" but software formatting CODE is screwing ' > ')< SELECT 1, 2, 3 FROM DUAL 1 2 3
but I don't want the ECHOed command to be wound. For the life of me, I can't find a way to turn off the ECHO of the queue in sql developer.
Tried the same thing in 3.0.4 and 2.1.1 with the same (bad) result (more a few warning on some unsupported SET commands).
Am I missing something obvious? Cause like that, control of the coil cannot be used in sql developer to generate a CSV file, for example, due to the echo command. And windows does not come with default SED so it's on. (more than my original script is integrated into a whole much broader and complex scripts and the main script, their use is run from Developer SQL as a company policy (so that everyone uses the same tool and the code runs the same for everyone))
Any ideas/suggestions are welcome
Thank you.Hello
If you save your code
SET ECHO OFF; SET FEEDBACK OFF; SET SERVEROUTPUT ON; SET VERIFY OFF; SET PAGES 0; SET HEAD OFF; SPOOL c:\testscript.log SELECT 1, 2, 3 FROM DUAL; SPOOL OFF;
as a script, say C:\testscript.sql, then run from a worksheet like
@\testscript.sql
the output in C:\testscript.log will be
1 2 3
Kind regards
Gary
SQL development team
Maybe you are looking for
-
always complete storage... even can not take fb apic or open Messenger... I have phone 6 s
-
NB200-10Z - error when opening recovery disk creator
I try to use the "recovery disk creator" to create a recovery on a USB disk rather than to burn CD/DVD (don't have an available CD drive). I think it's supposed to be achievable, see http://forums.computers.toshiba-europe.com/forums/thread.jspa?messa
-
PC will not boot past the home screen with USB HDD connected?
Please read the entire post before suggesting a solution. Mobo: ASUS P8Z68-V LX, on the latest version of the BIOS. Eight USB 2.0 ports, two USB 3.0 ports. Intel i5 CPU. 8 GB of DDR3 RAM. Graphics card is NVIDIA GTS 8800 512, and I have a GTX 960 F
-
Why Microsoft is still leave innocent people am scam using the name of Microsoft
After my Parents has been scammed on a £90 by am I was vary wary. I received calls weekily of them trying to access my PC by declaring that there is a fault/virus/malware on it. On eachoccation they stated that they wrer working on behalf of Microso
-
How can I restore crlt-alt-del? for my master?
How can I restore crlt-alt-del? for my master?