Learn the cause and how to resolve the ORA-01723 error message in Oracle.
Description
When you encounter an ORA-01723 error, the following error message will appear:
- ORA-01723: zero-length columns are not allowed
Cause
You tried to create a table, but you specified a column as either CHAR(0) or VARCHAR2(0).
Resolution
The option(s) to resolve this Oracle error are:
Option #1
Try modifying your CREATE TABLE statement so that the VARCHAR2 and CHAR columns are at least 1 character in length.
For example, if you tried to create the following table:
CREATE TABLE supplier ( supplier_id numeric(10) not null, supplier_name varchar2(50) not null, contact_name varchar2(0) );
You would receive the following error message:
You could correct this error by defining the contact_name column as a VARCHAR2 column that is at least 1 character in length:
CREATE TABLE supplier ( supplier_id numeric(10) not null, supplier_name varchar2(50) not null, contact_name varchar2(75) );
What a timely question and answer! I was stuck with the same problem, posted to the forum site and was directed here (thanks Eunsil_YOON). The new version of the Achilles R package worked to a point, but after completing the Achilles results, it moved on to the Concept Hierarchy creation, producing the familiar zero-length error:
Executing SQL took 0.563 secs
Done. Achilles results can now be found in schema mark
Executing Concept Hierarchy creation. This could take a while
Connecting using Oracle driver
- using THIN to connect
| | 0%Error: Error executing SQL:
java.sql.SQLSyntaxErrorException: ORA-01723: zero-length columns are not allowed
Below is the output of the error report showing the familiar uncasted null column
«null as concept_hierarchy_type,»
👍
DBMS:
oracle
Error:
java.sql.SQLSyntaxErrorException: ORA-01723: zero-length columns are not allowed
SQL:
—HINT DISTRIBUTE_ON_KEY(concept_id)
CREATE TABLE suj9wqrzs_tmpach_ch_condition
AS
SELECT
snomed.concept_id,
snomed.concept_name AS concept_name,
‘Condition’ AS treemap,
null as concept_hierarchy_type,
pt_to_hlt.pt_concept_name as level1_concept_name,
hlt_to_hlgt.hlt_concept_name as level2_concept_name,
hlgt_to_soc.hlgt_concept_name as level3_concept_name,
soc.concept_name AS level4_concept_name
FROM
(SELECT concept_id,
concept_name
FROM mark.concept
WHERE domain_id = ‘Condition’
) snomed
LEFT JOIN
(SELECT c1.concept_id AS snomed_concept_id,
max(c2.concept_id) AS pt_concept_id
FROM mark.concept c1
INNER JOIN
mark.concept_ancestor ca1
ON c1.concept_id = ca1.descendant_concept_id
AND c1.domain_id = ‘Condition’
AND ca1.min_levels_of_separation = 1
INNER JOIN
mark.concept c2
ON ca1.ancestor_concept_id = c2.concept_id
AND c2.vocabulary_id = ‘MedDRA’
GROUP BY c1.concept_id
) snomed_to_pt
ON snomed.concept_id = snomed_to_pt.snomed_concept_id
LEFT JOIN
(SELECT c1.concept_id AS pt_concept_id,
c1.concept_name AS pt_concept_name,
max(c2.concept_id) AS hlt_concept_id
FROM mark.concept c1
INNER JOIN
mark.concept_ancestor ca1
ON c1.concept_id = ca1.descendant_concept_id
AND c1.vocabulary_id = 'MedDRA'
AND ca1.min_levels_of_separation = 1
INNER JOIN
mark.concept c2
ON ca1.ancestor_concept_id = c2.concept_id
AND c2.vocabulary_id = 'MedDRA'
GROUP BY c1.concept_id, c1.concept_name
) pt_to_hlt
ON snomed_to_pt.pt_concept_id = pt_to_hlt.pt_concept_id
LEFT JOIN
(SELECT c1.concept_id AS hlt_concept_id,
c1.concept_name AS hlt_concept_name,
max(c2.concept_id) AS hlgt_concept_id
FROM mark.concept c1
INNER JOIN
mark.concept_ancestor ca1
ON c1.concept_id = ca1.descendant_concept_id
AND c1.vocabulary_id = 'MedDRA'
AND ca1.min_levels_of_separation = 1
INNER JOIN
mark.concept c2
ON ca1.ancestor_concept_id = c2.concept_id
AND c2.vocabulary_id = 'MedDRA'
GROUP BY c1.concept_id, c1.concept_name
) hlt_to_hlgt
ON pt_to_hlt.hlt_concept_id = hlt_to_hlgt.hlt_concept_id
LEFT JOIN
(SELECT c1.concept_id AS hlgt_concept_id,
c1.concept_name AS hlgt_concept_name,
max(c2.concept_id) AS soc_concept_id
FROM mark.concept c1
INNER JOIN
mark.concept_ancestor ca1
ON c1.concept_id = ca1.descendant_concept_id
AND c1.vocabulary_id = 'MedDRA'
AND ca1.min_levels_of_separation = 1
INNER JOIN
mark.concept c2
ON ca1.ancestor_concept_id = c2.concept_id
AND c2.vocabulary_id = 'MedDRA'
GROUP BY c1.concept_id, c1.concept_name
) hlgt_to_soc
ON hlt_to_hlgt.hlgt_concept_id = hlgt_to_soc.hlgt_concept_id
LEFT JOIN mark.concept soc
ON hlgt_to_soc.soc_concept_id = soc.concept_id
R version:
R version 3.5.1 (2018-07-02)
Platform:
x86_64-w64-mingw32
Attached base packages:
- stats
- graphics
- grDevices
- utils
- datasets
- methods
- base
Other attached packages:
- Achilles (1.6)
- OhdsiRTools (1.5.5)
- httr (1.3.1)
- openxlsx (4.1.0)
- rjson (0.2.20)
- DatabaseConnector (2.2.0)
- SqlRender (1.5.2)
- devtools (1.13.6)
| Error Number: | Error 1723 | |
| Error Name: | Java Error 1723 | |
| Error Description: | Error 1723: Java has encountered a problem and needs to close. We are sorry for the inconvenience. | |
| Developer: | Oracle Corporation | |
| Software: | Java | |
| Applies to: | Windows XP, Vista, 7, 8, 10, 11 |
Java Error 1723 Background
Java Error 1723 is often called as runtime error (bug). Programmers work through different levels of debugging in attempt to make sure that Java is as close to error-free as possible. Sadly, many errors can be missed, resulting in problems like those with error 1723.
Error 1723 might be faced by Java users if they are using the program regularly, also seen as «Java Error 1723». After error 1723 is encountered, the software user has the ability to inform the developer of this issue. The developer will then be able to rectify its source code and release an update in the market. Consequently, the developer will use a Java update package to resolve error 1723 and any other reported error messages.
Why Does Runtime Error 1723 Happen?
Java Error 1723 can most often occur when Java is being loaded up. The following three most significant causes of error 1723 runtime errors include:
Error 1723 Crash — Error 1723 will stop the machine from performing a regular program operation. This occurs a lot when the product (Java) or computer is unable to handle the unique input data.
Java Error 1723 Memory Leak — The consequences of a Java memory leak involve a malfunctioning operating system. Potential triggers may be «infinite loop», or when the program performs a «loop» or repetition over and over again.
Error 1723 Logic Error — The computer system creates incorrect information or produces a different result even though the data that is input is accurate. The culprit in this case is usually a flaw in Oracle Corporation source code that handles the input incorrectly.
Oracle Corporation problems with Java Error 1723 most often stem from a corrupt or missing Java file. As a first troubleshootiong step, most PC professionals will attempt to replace the applicable version of the Oracle Corporation file. Additionally, some Java Error 1723 errors can be due to incorrect registry references, so we recommend conducting a registry scan to clean up any invalid entries.
Common Java Error 1723 Issues
Partial List of Java Error 1723 Java Errors:
- «Java Error 1723 Error.»
- «Win32 Software Error: Java Error 1723»
- «Sorry, Java Error 1723 encountered a problem.»
- «Cannot find Java Error 1723.»
- «Java Error 1723 can’t be found.»
- «Problem starting application: Java Error 1723.»
- «Java Error 1723 not executing.»
- «Java Error 1723 quit.»
- «Software Path Fault: Java Error 1723.»
Java Java Error 1723 issues occur with installation, while Java Error 1723-related software runs, during shutdown or startup, or less-likely during operating system updates. Documenting Java Error 1723 problem occasions in Java is key to determine cause of the Windows problems, and reporting them to Oracle Corporation.
Causes of Java Error 1723 Errors
Malware infestation, invalid Java registry entries, or missing / corrupt Java Error 1723 files can create these Java Error 1723 errors.
More precisely, Java Error 1723 errors created from:
- Corrupt Windows registry keys associated with Java Error 1723 / Java.
- Malware infestation corrupted Java Error 1723 file.
- Java Error 1723 mistakenly deleted or maliciously by software unrelated to the Java application.
- Another software application in conflict with Java Error 1723.
- Incomplete or corrupt Java (Java Error 1723) from download or installation.
Product by Solvusoft
Download Now
WinThruster 2022 — Scan your PC for computer errors.
Compatible with Windows 11, 10, 8, 7, Vista, XP and 2000
Optional Offer for WinThruster by Solvusoft | EULA | Privacy Policy | Terms | Uninstall
How to fix the Runtime Code 1723 Java Error 1723
This article features error number Code 1723, commonly known as Java Error 1723 described as Error 1723: Java has encountered a problem and needs to close. We are sorry for the inconvenience.
About Runtime Code 1723
Runtime Code 1723 happens when Java fails or crashes whilst it’s running, hence its name. It doesn’t necessarily mean that the code was corrupt in some way, but just that it did not work during its run-time. This kind of error will appear as an annoying notification on your screen unless handled and corrected. Here are symptoms, causes and ways to troubleshoot the problem.
Definitions (Beta)
Here we list some definitions for the words contained in your error, in an attempt to help you understand your problem. This is a work in progress, so sometimes we might define the word incorrectly, so feel free to skip this section!
- Java — Java not to be confused with JavaScript or JScript is a general-purpose object-oriented programming language designed to be used in conjunction with the Java Virtual Machine JVM
Symptoms of Code 1723 — Java Error 1723
Runtime errors happen without warning. The error message can come up the screen anytime Java is run. In fact, the error message or some other dialogue box can come up again and again if not addressed early on.
There may be instances of files deletion or new files appearing. Though this symptom is largely due to virus infection, it can be attributed as a symptom for runtime error, as virus infection is one of the causes for runtime error. User may also experience a sudden drop in internet connection speed, yet again, this is not always the case.
(For illustrative purposes only)
Causes of Java Error 1723 — Code 1723
During software design, programmers code anticipating the occurrence of errors. However, there are no perfect designs, as errors can be expected even with the best program design. Glitches can happen during runtime if a certain error is not experienced and addressed during design and testing.
Runtime errors are generally caused by incompatible programs running at the same time. It may also occur because of memory problem, a bad graphics driver or virus infection. Whatever the case may be, the problem must be resolved immediately to avoid further problems. Here are ways to remedy the error.
Repair Methods
Runtime errors may be annoying and persistent, but it is not totally hopeless, repairs are available. Here are ways to do it.
If a repair method works for you, please click the upvote button to the left of the answer, this will let other users know which repair method is currently working the best.
Please note: Neither ErrorVault.com nor it’s writers claim responsibility for the results of the actions taken from employing any of the repair methods listed on this page — you complete these steps at your own risk.
Method 1 — Close Conflicting Programs
When you get a runtime error, keep in mind that it is happening due to programs that are conflicting with each other. The first thing you can do to resolve the problem is to stop these conflicting programs.
- Open Task Manager by clicking Ctrl-Alt-Del at the same time. This will let you see the list of programs currently running.
- Go to the Processes tab and stop the programs one by one by highlighting each program and clicking the End Process buttom.
- You will need to observe if the error message will reoccur each time you stop a process.
- Once you get to identify which program is causing the error, you may go ahead with the next troubleshooting step, reinstalling the application.
Method 2 — Update / Reinstall Conflicting Programs
Using Control Panel
- For Windows 7, click the Start Button, then click Control panel, then Uninstall a program
- For Windows 8, click the Start Button, then scroll down and click More Settings, then click Control panel > Uninstall a program.
- For Windows 10, just type Control Panel on the search box and click the result, then click Uninstall a program
- Once inside Programs and Features, click the problem program and click Update or Uninstall.
- If you chose to update, then you will just need to follow the prompt to complete the process, however if you chose to Uninstall, you will follow the prompt to uninstall and then re-download or use the application’s installation disk to reinstall the program.
Using Other Methods
- For Windows 7, you may find the list of all installed programs when you click Start and scroll your mouse over the list that appear on the tab. You may see on that list utility for uninstalling the program. You may go ahead and uninstall using utilities available in this tab.
- For Windows 10, you may click Start, then Settings, then choose Apps.
- Scroll down to see the list of Apps and features installed in your computer.
- Click the Program which is causing the runtime error, then you may choose to uninstall or click Advanced options to reset the application.
Method 3 — Update your Virus protection program or download and install the latest Windows Update
Virus infection causing runtime error on your computer must immediately be prevented, quarantined or deleted. Make sure you update your virus program and run a thorough scan of the computer or, run Windows update so you can get the latest virus definition and fix.
Method 4 — Re-install Runtime Libraries
You might be getting the error because of an update, like the MS Visual C++ package which might not be installed properly or completely. What you can do then is to uninstall the current package and install a fresh copy.
- Uninstall the package by going to Programs and Features, find and highlight the Microsoft Visual C++ Redistributable Package.
- Click Uninstall on top of the list, and when it is done, reboot your computer.
- Download the latest redistributable package from Microsoft then install it.
Method 5 — Run Disk Cleanup
You might also be experiencing runtime error because of a very low free space on your computer.
- You should consider backing up your files and freeing up space on your hard drive
- You can also clear your cache and reboot your computer
- You can also run Disk Cleanup, open your explorer window and right click your main directory (this is usually C: )
- Click Properties and then click Disk Cleanup
Method 6 — Reinstall Your Graphics Driver
If the error is related to a bad graphics driver, then you may do the following:
- Open your Device Manager, locate the graphics driver
- Right click the video card driver then click uninstall, then restart your computer
Method 7 — IE related Runtime Error
If the error you are getting is related to the Internet Explorer, you may do the following:
- Reset your browser.
- For Windows 7, you may click Start, go to Control Panel, then click Internet Options on the left side. Then you can click Advanced tab then click the Reset button.
- For Windows 8 and 10, you may click search and type Internet Options, then go to Advanced tab and click Reset.
- Disable script debugging and error notifications.
- On the same Internet Options window, you may go to Advanced tab and look for Disable script debugging
- Put a check mark on the radio button
- At the same time, uncheck the «Display a Notification about every Script Error» item and then click Apply and OK, then reboot your computer.
If these quick fixes do not work, you can always backup files and run repair reinstall on your computer. However, you can do that later when the solutions listed here did not do the job.
Other languages:
Wie beheben Fehler 1723 (Java-Fehler 1723) — Fehler 1723: Java hat ein Problem festgestellt und muss geschlossen werden. Wir entschuldigen uns für die Unannehmlichkeiten.
Come fissare Errore 1723 (Errore Java 1723) — Errore 1723: Java ha riscontrato un problema e deve essere chiuso. Ci scusiamo per l’inconveniente.
Hoe maak je Fout 1723 (Java-fout 1723) — Fout 1723: Java heeft een probleem ondervonden en moet worden afgesloten. Excuses voor het ongemak.
Comment réparer Erreur 1723 (Erreur Java 1723) — Erreur 1723 : Java a rencontré un problème et doit se fermer. Nous sommes désolés du dérangement.
어떻게 고치는 지 오류 1723 (자바 오류 1723) — 오류 1723: Java에 문제가 발생해 닫아야 합니다. 불편을 끼쳐드려 죄송합니다.
Como corrigir o Erro 1723 (Erro Java 1723) — Erro 1723: O Java encontrou um problema e precisa fechar. Lamentamos o inconveniente.
Hur man åtgärdar Fel 1723 (Java-fel 1723) — Fel 1723: Java har stött på ett problem och måste avslutas. Vi är ledsna för besväret.
Как исправить Ошибка 1723 (Ошибка Java 1723) — Ошибка 1723: Возникла ошибка в приложении Java. Приложение будет закрыто. Приносим свои извинения за неудобства.
Jak naprawić Błąd 1723 (Błąd Javy 1723) — Błąd 1723: Java napotkała problem i musi zostać zamknięta. Przepraszamy za niedogodności.
Cómo arreglar Error 1723 (Error de Java 1723) — Error 1723: Java ha detectado un problema y debe cerrarse. Lamentamos las molestias.
About The Author: Phil Hart has been a Microsoft Community Contributor since 2010. With a current point score over 100,000, they’ve contributed more than 3000 answers in the Microsoft Support forums and have created almost 200 new help articles in the Technet Wiki.
Follow Us:
This repair tool can fix common computer problems such as blue screens, crashes and freezes, missing DLL files, as well as repair malware/virus damage and more by replacing damaged and missing system files.
STEP 1:
Click Here to Download and install the Windows repair tool.
STEP 2:
Click on Start Scan and let it analyze your device.
STEP 3:
Click on Repair All to fix all of the issues it detected.
DOWNLOAD NOW
Compatibility
Requirements
1 Ghz CPU, 512 MB RAM, 40 GB HDD
This download offers unlimited scans of your Windows PC for free. Full system repairs start at $19.95.
Article ID: ACX05429EN
Applies To: Windows 10, Windows 8.1, Windows 7, Windows Vista, Windows XP, Windows 2000
Speed Up Tip #73
Use Alternative Software:
It is likely that you can get a faster alternative for the software that you use every day. For instance, Google Chrome is much faster and lighter as compared to Internet Explorer. And, Paint.NET can accomplish similar tasks you can do in Adobe Photoshop.
Click Here for another way to speed up your Windows PC
ORA-01723: zero-length columns are not allowed
Cause: Columns with zero length were not allowed.
Action: Correct the use of the column.
Example to reproduce ORA-01723 —
SQL> Create table mytable as
select
ename,
null age,
null doj,
null mgrname
from
scott.emp ;
null age
*
ERROR at line 4:
ORA-01723: zero-length columns are not allowed
Solution to avoid ORA-01723 exception use cast:
SQL> Create table mytable as
select
ename,
cast(null as number) age,
cast(null as date) doj,
cast(null as varchar2(10)) mgrname
from
scott.emp ;
Table created.
SQL> desc mytable
Name Null? Type
----------------------------------------- -------- ----------------------------
ENAME VARCHAR2(10)
AGE NUMBER
DOJ DATE
MGRNAME VARCHAR2(10)
_____________________________________________________________________________________________________________________

Error Description:
Oracle Create As Select Command (CTAS) failed with following error.
SQL> create table emp as select name, null age from candidate;
create table emp as select name, null age from candidate
*
ERROR at line 1:
ORA-01723: zero-length columns are not allowed
Oracle Materialized View creation Fails with same error.
SQL> create materialized view my_objects as select name, null age from candidate;
create materialized view my_objects as select name, null age from candidate
*
ERROR at line 1:
ORA-01723: zero-length columns are not allowed
Solution Description:
You have to use cast function to solve this error. See some examples on Oracle CAST function.
SQL> select length (cast (null as number(30))) from dual;
LENGTH(CAST(NULLASNUMBER(30)))
——————————
SQL> select cast (null as char(25)) from dual;
CAST(NULLASCHAR(25))
————————-
SQL> select length (cast (3*4 as char(25))) from dual;
LENGTH(CAST(3*4ASCHAR(25)))
—————————
25
SQL> select cast (3*4 as char(25)) from dual;
CAST(3*4ASCHAR(25))
————————-
12
Cast Function Mappings
|
TO |
FROM |
|||||
|
char, varchar2 |
number |
datetime / interval |
raw |
rowid, urowid |
nchar, nvarchar2 |
|
|
char, varchar2 |
X |
X |
X |
X |
X |
|
|
number |
X |
X |
||||
|
datetime / interval |
X |
X |
||||
|
raw |
X |
X |
||||
|
rowid, urowid |
X |
X |
||||
|
nchar, nvarchar2 |
X |
X |
X |
X |
X |
You have to create the table or materialized view in following method.
SQL> create table emp as select name, cast (null as number) age from candidate;
Table created.
SQL> select * from emp;
NAME AGE
———- ———-
James
Scott
SQL> create materialized view emp as select name, cast (null as number) age from candidate;
Materialized view created.
Another Method is using NVL function. Which is not exact correct for this situation anyways…
SQL> create table emp as select name, nvl(null,’ ‘ ) age from candidate;
Table created.
SQL> desc emp
Name Null? Type
—————————————————————— ——— ———————————————
NAME VARCHAR2(10)
AGE VARCHAR2(1)
_____________________________________________________________________________________________________________________
Website Stats





