web stats
Error when importing Global Scripts - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2019, 12:01 AM
Stacyx Stacyx is offline
What's HL7?
 
Join Date: Sep 2018
Posts: 5
Stacyx is on a distinguished road
Default Error when importing Global Scripts

The following error pops up when I am trying to import script for Mirth Connect 3.2.1.7650.

Any idea how to overcome it?

An unexpected error has occurred.
com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (KTPHMIRTH.SYS_C00341324) violated ### The error may involve Script.insertScript-Inline ### The error occurred while setting parameters ### SQL: INSERT INTO SCRIPT (GROUP_ID, ID, SCRIPT) VALUES (?, ?, ?) ### Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (KTPHMIRTH.SYS_C00341324) violated
com.mirth.connect.client.core.ServerConnection.exe cutePostMethod(ServerConnection.java:140)
com.mirth.connect.client.core.Client.setGlobalScri pts(Client.java:997)
com.mirth.connect.client.ui.GlobalScriptsPanel.sav e(GlobalScriptsPanel.java:76)
com.mirth.connect.client.ui.Frame$11.doInBackgroun d(Frame.java:2234)
com.mirth.connect.client.ui.Frame$11.doInBackgroun d(Frame.java:2231)
javax.swing.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
javax.swing.SwingWorker.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
java.lang.Thread.run(Unknown Source
Reply With Quote
  #2  
Old 05-13-2019, 06:51 AM
cory_cole cory_cole is offline
Mirth Guru
 
Join Date: Mar 2012
Posts: 1,242
cory_cole is on a distinguished road
Default

SQLIntegrityConstraintViolationException: ORA-00001: unique constraint

You are trying to add something that is already there. You can either try to update it instead, or delete it and recreate it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:26 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation