Error inserting items into empty dock
OS: 2.1.0.1088
I emptied out the dock to reorganize my icons, and now the dock is unusable. Every time I try to insert something, the item I'm trying to insert disappears into the ether and I get a "array_insert invalid array index" notification.
Also, the browser was the first thing I tried to put into the empty dock, and its disappearance has left me no easy way to start the browser.
Thanks for your help.
reset or security wipe your playbook and then check out
Similar Messages
-
Error inserting data into database
Hello I am having error inserting data into database through a servlet.Please I am very new to Java Technology and need your immediate help. beloww is the codea nd the error
Apache Tomcat/4.0.3
ERROR: Problems with adding new entry
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6106)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6263)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2525)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:337)
at Register.insertIntoDB(Register.java:71)
at Register.doPost(Register.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:536)
COde:
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class Register extends HttpServlet
public static Statement statement;
private Connection DBConn;
public void init(ServletConfig config) throws ServletException
super.init(config);
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
DBConn=DriverManager.getConnection("jdbc:odbc:Challenge");
catch(Exception e) {
e.printStackTrace();
DBConn=null;
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
String user_id,FirstName,LastName, Email, Login, Password;
FirstName = req.getParameter("FirstName");
LastName = req.getParameter("LastName");
Email = req.getParameter("Email");
Login = req.getParameter("Login");
Password = req.getParameter("Password");
PrintWriter output = res.getWriter();
res.setContentType("text/html");
if (user_id.equals("")||
FirstName.equals("") ||
LastName.equals("") ||
Email.equals("") ||
Login.equals("") ||
Password.equals(""))
output.println("<H3>Please click back " + "button and fill in all " + "fileds.</H3>");
output.close();
return;
boolean success = insertIntoDB("'" + FirstName + "','" + LastName + "','" + Email + "','" + Login + "','" + Password + "'");
if (success)
output.print("<H2>Thank You " + FirstName + " for registering.</H2>");
res.sendRedirect("file:///Register.html");
else
output.print("<H2>An error occured. " + "Please try again later.</H2>");
output.close();
private boolean insertIntoDB(String stringtoinsert)
try
statement = DBConn.createStatement();
statement.execute("INSERT INTO Users(user_id,FirstName,LastName,Email,Login,Password) values (" + stringtoinsert + ");");
statement.close();
catch (Exception e)
System.err.println("ERROR: Problems with adding new entry");
e.printStackTrace();
return false;
return true;
public void destroy()
try
DBConn.close();
catch(Exception e)
System.err.println("Problem closing the database");
Your Help will be very much appreciate.I am using SQL Server databaseThe error concerns these two lines:
boolean success = insertIntoDB("'" + FirstName + "','" + LastName + "','" + Email + "','" + Login + "','" + Password + "'");
statement.execute("INSERT INTO Users(user_id,FirstName,LastName,Email,Login,Password) values (" + stringtoinsert + ");");
In the first line above, you have a string which represents the VALUES which you are inserting. There are 5 values. However in the second line above this is your actual SQL execution you are specifying 6 columns of data. If the column "user_id" is an identity or auto-incrementing field in the database, just remove it from this line. If not then you need to supply the "UserID" into the VALUES.
This should fix the problem. -
Error:Insert flow into I$ table
Hi,
While implementing scd2 type,I am getting an error"Insert flow into I$ table"
ODI-1228: Task int1 (Integration) fails on the target ORACLE connection twitter.
Caused By: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression.
Please help!!
Thanks.Hi,
code generated is:
insert /*+ APPEND */ into ODIWR.I$_EMP_SCD_TARGET
ENAME,
EMAIL,
PHNUM,
SALARY,
JOB_ID,
START_DATE,
IND_UPDATE
select *
from (
select
EMP_SCD_SRC.FIRST_NAME ENAME,
EMP_SCD_SRC.EMAIL EMAIL,
EMP_SCD_SRC.PHONE_NUMBER PHNUM,
EMP_SCD_SRC.SALARY SALARY,
EMP_SCD_SRC.JOB_ID JOB_ID,
SYSDATE START_DATE,
'I' IND_UPDATE
from ODIWR.EMP_SCD_SRC EMP_SCD_SRC
where (1=1)
) S
where NOT EXISTS (
select 'x'
from ODIWR.EMP_SCD_TARGET T
where
and ((S.ENAME = T.ENAME) or (S.ENAME IS NULL and T.ENAME IS NULL))
and ((S.EMAIL = T.EMAIL) or (S.EMAIL IS NULL and T.EMAIL IS NULL))
and ((S.PHNUM = T.PHNUM) or (S.PHNUM IS NULL and T.PHNUM IS NULL))
and ((S.SALARY = T.SALARY) or (S.SALARY IS NULL and T.SALARY IS NULL))
and ((S.JOB_ID = T.JOB_ID) or (S.JOB_ID IS NULL and T.JOB_ID IS NULL))
and CURRENT_FLAG = 1
and END_DATE = to_date ('01-01-2400', 'mm-dd-yyyy')
Ikm used is IKM Oracle Slowly Changing Dimension -
Cant insert item into DO eventhough MMBE got stock
Hi,
When I am trying to insert an item which still got stock in MMBE, I got an error and mentioned that 0 stock is available for that item. I had found the root cause where it is because of safety stock is maintained on that item. I am trying to find solution where I could insert the item into the DO without considering the safety stock figure by following this thread Want to use Safety Stock and still not able to go through it. May I know what should the next steps I should check on it?
Thanks.Pra,
I already maintain the Share of safety stock which can be used for planning in OPPR as 100% and assigned the MRP group into my material. I also set the service level% to 1%, however when I go to do DO, it allow me to use all the safety stock up. Let say I got 100pc and I set the service level as 1%, which mean I should only can create DO for 1 pc for that material, however it is not working, any idea to help me out?
Thanks. -
Inserting items into List on a JSP
I want to insert new items into a multiple select list from database
on selecting an item from an existing list in a JSP.
I am not sure how to do this.
thanksThis is basically performing partial page rendering. There is no way for HTML or JavaScript executing in a user's browser to communicate directly with Java or your database. You'll either have to "preseed" the values from the database into the HTML page using JavaScript, and then change the select list w/ JavaScript based on what the user selects (this is how it's usually done.)
Or, you could do something like using a hidden IFrame as a data conduit to your JSP which sends JavaScript back to the browser and updates the select list with the new values. A little more tricky, and doesn't work w/ all browsers, but it would work better if the data in question can be arbitrarily large.
Hope that helps. -
Files moving to NFS error folder - Could not insert message into duplicate check table
Hi Friends
Have anyone faced this error, could suggest me why.
The CSV Files failed on Sender Channel and moves to NFS error path and in the log it says as below.
Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not insert message into duplicate check table. Reason: com.ibm.db2.jcc.am.SqlTransactionRollbackException: DB2 SQL ErrorHi Uma - is that a duplicate file? have you enabled duplicate file check in sender channel?
please check if the below note is applicable
1979353 - Recurring TxRollbackException with MODE_STORE_ON_ERROR stage configuration -
Error by inserting data into a field of datatype LONG
Hi,
When inserting data into a field of datatype long in oracle8 database via SQL Plus or SQL worksheet there occurs the following error message: "field in data file exceeds the maximum length".
If I access to the database from a selve written program via odbc there is no problem when inserting the data by the same sql statement.
So what can I do?
Thanks in advance!
JuergenWhat does your SQL statement look like?
-
Error while Inserting data into flow table
Hi All,
I am very new to ODI, I am facing lot of problem in my 1st interface. So I have many questions here, please forgive me if it has irritated to you.
========================
I am developing a simple Project to load a data from an input source file (csv) file into a staging table.
My plan is to achieve this in 3 interfaces:
1. Interface-1 : Load the data from an input source (csv) file into a staging table (say Stg_1)
2. Interface-2 : Read the data from the staging table (stg_1) apply the business rules to it and copy the processed records into another staging table (say stg_2)
3. Interface-3 : Copy the data from staging table (stg_2) into the target table (say Target) in the target database.
Question-1 : Is this approach correct?
========================
I don't have any key columns in the staging table (stg_1). When I tried to execute the Flow Control of this I got an error:
Flow Control not possible if no Key is declared in your Target Datastore
With one of the response (the response was - "FLOW control requires a KEY in the target table") in this Forum I have introduced a column called "Record_ID" and made it a Primary Key column into my staging table (stg_1) and my problem has been resolved.
Question-2 : Is a Key column compulsary in the target table? I am working in BO Data Integrator, there is no such compulsion ... I am little confused.
========================
Next, I have defined one Project level sequence. I have mapped the newly introduced key column Record_Id (Primary Key) with the Project level sequence. Now I am got another error of "CKM not selected".
For this, I have inserted "Insert Check (CKM)" knowledge module in my Project. With this the above problem of "CKM not selected" has been resolved.
Question-3 : When is this CKM knowledge module required?
========================
After this, the flow/interface is failing while loading data into the intermediar ODI created flow table (I$)
1 - Loading - SS_0 - Drop work table
2 - Loading - SS_0 - Create work table
3 - Loading - SS_0 - Load data
5 - Integration - FTE Actual data to Staging table - Drop flow table
6 - Integration - FTE Actual data to Staging table - Create flow table I$
7 - Integration - FTE Actual data to Staging table - Delete target table
8 - Integration - FTE Actual data to Staging table - Insert flow into I$ table
The Error is at Step-8 above. When opened the "Execution" tab for this step I found the message - "Missing parameter Project_1.FTE_Actual_Data_seq_NEXTVAL RECORD_ID".
Question-4 : What/why is this error? Did I made any mistake while creating a sequence?Everyone is new and starts somewhere. And the community is there to help you.
1.) What is the idea of moving data from stg_1 and then to stg_2 ? Do you really need it for any other purpose other than move data from SourceFile to Target DB.
Otherwise, its simple to move data from SourceFile -> Target Table
2.) Does your Target table have a Key ?
3.) CKM (Check KM) is required when you want to do constraint validation (Checking) on your data. You can define constraints (business rules) on the target table and Flow Control will check the data that is flowing from Source File to Target table using the CKM. All the records that donot satisfy the constraint will be added to E$ (Error table) and will not be added to the Target table.
4.) Try to avoid ODI sequences. They are slow and arent scalable. Try to use Database sequence wherever possible. And use the DB sequence is target mapping as
<%=odiRef.getObjectName( "L" , "MY_DB_Sequence_Row" , "D" )%>.nextval
where MY_DB_Sequence_Row is the oracle sequence in the target schema.
HTH -
Error when cloning a AD connector (cannot insert NULL into ("OIMUSER"."OIU"
I am getting below error when trying to clone AD connector (new resource). I Imported/Exported AD resource Object, Process form and the dependent lookup tables.
I can see the new resource object, process definition, process forms and Recon rule, when i tried provision a the new resource i see this error in logs.
DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Importing ProcessAdministrator(XMLCREATED)
DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Object is being created
DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Creating data object
DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT],Creating data object with params: com.thortech.xl.dataobj.tcDataBase@14d388c,41,null,[B@9355bd
DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Resolving dependency to {UserGroup=SYSTEM ADMINISTRATORS}
DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Dependency resolved with key: 1
DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Saving data object
INFO,23 Dec 2010 02:34:46,256,[XELLERATE.DDM.STATS],Purging 6 prepared statements
ERROR,23 Dec 2010 02:35:52,663,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.insertImplementation(Unknown Source)
Please let me know if you have any idea..
Thanks..
Edited by: IDMuser19 on Dec 29, 2010 2:21 PMAfter Setting Database to DEBUG mode i see below errors in the log
DEBUG,27 Dec 2010 16:26:44,850,[XELLERATE.DATABASE],select ost_launch_dependent, ost_key, ost_status from ost ost, obi obi where ost.obj_key=obi.obj_key and obi.obi_key=181
INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
INFO,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],insert into oiu (OIU_KEY, OBI_KEY, USR_KEY, OIU_SERVICEACCOUNT, OIU_CREATE, OIU_CREATEBY, OIU_UPDATE, OIU_UPDATEBY, oiu_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select OIU_seq.nextval from dual
ERROR,27 Dec 2010 16:26:44,928,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
INFO,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
DEBUG,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
INFO,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
DEBUG,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
java.lang.Exception: Rollback Executed From
at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
Thanks .... Please reply if you have any idea.. -
I recently transferred some data from my external hard drive to my desktop, but there was an error transferring some of the files and it couldn't respond, and eventually i simply removed the external hard drive. However, the folder/files are still on my desktop, and when i try to move them or delete them, this error message appears:
“-folder/file name-” can’t be opened right now because it’s being used by another task, such as moving or copying an item or emptying the Trash. Try again when the current task is complete.
Since I removed the external hard drive before the files were finished transferring, there is no way for the current task to be completed. How can I resolve this and delete the folders/files from my desktop?I just managed to resolve this by going to the apple sign in the top left, choosing force quit (or you could do option+command+esc), then i chose finder, and i clicked relaunch. After relaunching finder, the error message doesn't appear anymore, and I could move these files/folders, and delete them just fine.
Hope this will help other people who encounter similar problems in the future! -
Inserting new line item into existing delivery using BAPI
Hi
can you send me the code for inserting new line item into existing delivery either using BAPI or
Function module.
We are using SAP 4.7 versionHi Sreekanth,
Refer to this links
New item for outbound delivery via FM/BAPI?
/message/3976349#3976349 [original link is broken]
BAPI_OUTB_DELIVERY_CHANGE Help - Add new line item
hope it is useful to you.
Regards! -
Error while inserting data into BFILE datatype
Dear Experts,
I am trying to insert data into resume table, but it is throwing error:
create table resume(resume blob);
declare
f_lob bfile;
b_lob blob;
begin
insert into resume(resume) values(empty_blob())
return documents into b_lob;
f_lob := bfilename( 'RESUME_SAVE', 'Pawan-resume.doc' );
dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
dbms_lob.loadfromfile
( b_lob, f_lob, dbms_lob.getlength(f_lob) );
dbms_lob.fileclose(f_lob);
commit;
end;
return documents into b_lob;
ERROR at line 8:
ORA-06550: line 8, column 10:
PL/SQL: ORA-00904: "DOCUMENTS": invalid identifier
ORA-06550: line 7, column 2:
PL/SQL: SQL Statement ignored
Please help
Regards
Sunil KumarThank you very much Mihael................... It works
But I think there is a mistake in oracle documentation, please check following link:
http://docs.oracle.com/cd/B10501_01/appdev.920/a96591/adl14cas.htm
Thanks & Regards
Sunil Kumar -
Error while inserting data into a table.
Hi All,
I created a table.While inserting data into the table i am getting an error.Its telling "Create data Processing Function Module".Can any one help me regarding this?
Thanx in advance
anirudhHi Anirudh,
Seems there is already an entry in the Table with the same Primary Key.
INSERT Statement will give short dump if you try to insert data with same key.
Why dont you use MODIFY statement to achieve the same.
Reward points if this Helps.
Manish -
Good day,
I am running EBS 11.5.10 with DB 10.2.0.4. I applied patch 7429271 following the steps in Doc Id. 233044.1.
After restarting the application, I got a "node id does not exist for the current application" when the forms started.
After purging fnd nodes (exec fnd_conc_clone.setup_clean) I ran autoconfig successfully on the dbtier but got the error below in the apps tier.
I also noticed that the contents of my dbc file has been erased and replaced with the template data (all values are default). I tried restoring it but it just got over written again with default data.
Hope my explanation was clear enough.
Any suggestions?
---error from adconfig.log-----------
Unique constraint error (00001) is OK if key already exists
java.sql.SQLException: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")
ORA-06512: at "APPS.FND_CONCURRENT", line 1504
ORA-06512: at "APPS.FND_APP_SERVER_PKG", line 163
ORA-06512: at line 1
- Database error modifying the serverLogs after autoconfig and services started - not connection attempted to the application yet.
-----access log--------
mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
----error log--------
[Fri Oct 25 13:28:59 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
----error log_pls----
[Fri Oct 25 13:29:00 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
Logs after a connection attempt to the application
-----access log-----
mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
192.168.50.80 - - [25/Oct/2013:13:34:32 -0500] "GET / HTTP/1.1" 200 2589 0
192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /apptitle.html HTTP/1.1" 200 1015 0
192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /applist.html HTTP/1.1" 200 1602 0
192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appdet.html HTTP/1.1" 200 1009 0
192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appsmed3.gif HTTP/1.1" 200 1981 0
192.168.50.80 - - [25/Oct/2013:13:34:36 -0500] "GET /aplogon.html HTTP/1.1" 200 1953 0
192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/US/ICXINDEX_PROD_mobay.htm HTTP/1.1" 200 417 0
192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/AppsLocalLogin.jsp HTTP/1.1" 200 411 0
**the error logs remain unchanged.
Regards,
Shridath. -
need help,am tryin to insert data into my database which contains date,
names,phone,address and deposit and it's giving this error message:
java.lang.ClassCastException:java.util.Date cannot be cast to java.sql.Date.
somebody help me please.thanks in advance.
code:
'\n'
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
import java.text.*;
public class NewCustomerRecord extends JFrame{
private JTextField firstnameF,othernameF,phoneF,addressF,depositF,currentF,dateF;
private JButton registerbutton;
private Connection con;
private Statement st;
private ResultSet set;
private PreparedStatement stat;
public NewCustomerRecord(){
//super(f,"",true);
JPanel panel = new JPanel();
panel.setLayout(null);
JLabel firstL = new JLabel("First Name:");
firstL.setBounds(5,15,80,20);
panel.add(firstL);
firstnameF = new JTextField();
firstnameF.setBounds(70,15,100,20);
panel.add(firstnameF);
JLabel otherL = new JLabel("Other Names:");
otherL.setBounds(175,15,80,20);
panel.add(otherL);
othernameF = new JTextField();
othernameF.setBounds(255,15,100,20);
panel.add(othernameF);
JLabel phoneL = new JLabel("Phone No.:");
phoneL.setBounds(5,40,80,20);
panel.add(phoneL);
phoneF = new JTextField();
phoneF.setBounds(70,40,100,20);
panel.add(phoneF);
JLabel addressL = new JLabel("Address:");
addressL.setBounds(185,40,80,20);
panel.add(addressL);
addressF = new JTextField();
addressF.setBounds(255,40,100,20);
panel.add(addressF);
JLabel depositL = new JLabel("Deposit:");
depositL.setBounds(5,65,60,20);
panel.add(depositL);
depositF = new JTextField();
depositF.setBounds(70,65,100,20);
panel.add(depositF);
/*JLabel currentL = new JLabel("Current Bill:");
currentL.setBounds(135,65,80,20);
panel.add(currentL);
currentF = new JTextField();
currentF.setBounds(205,65,50,20);
panel.add(currentF);*/
JLabel dateL = new JLabel("Date:");
dateL.setBounds(185,65,50,20);
panel.add(dateL);
dateF = new JTextField();
dateF.setBounds(255,65,100,20);
panel.add(dateF);
registerbutton = new JButton("Register Customer");
registerbutton.setBounds(115,100,145,20);
registerbutton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
insertRecord();
dispose();
registerbutton.setMinimumSize(new Dimension(50,20));
panel.add(registerbutton);
add(panel);
setSize(400,200);
setDefaultCloseOperation(EXIT_ON_CLOSE);
public void insertRecord(){
double bal=0.0;
String s=depositF.getText();
double dep = Double.parseDouble(s);
bal+=dep;
//String ss=dateF.getText();
//short dd=Short.parseShort(ss);
String ss=Double.toString(dep);
String bb=Double.toString(bal);
String fullName=firstnameF.getText()+"\t"+othernameF.getText();
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:sparkletransaction","","");
SimpleDateFormat sdf = new SimpleDateFormat("dd/mm/yy"); //added
Date d = (Date)sdf.parse(dateF.getText());
//java.sql.Date date = new java.sql.Date();
//date.setTime(d.getTime());
String insert="INSERT INTO personaltransaction(date,name,phone,addres,deposit,balance) VALUES(?,?,?,?,?,?)";
//insert=insert+;
stat=con.prepareStatement(insert);
stat.setDate(1,d);
stat.setString(2,fullName);
stat.setString(3,phoneF.getText());
stat.setString(4,addressF.getText());
stat.setString(5,ss);
stat.setString(6,bb);
stat.executeUpdate();
stat.close();
catch(Exception e){
System.out.println(e);
public static void main(String[] arg){
new NewCustomerRecord().setVisible(true);
}java.lang.ClassCastException:java.util.Date cannot be
cast to java.sql.Date.
Hint:
public static java.sql.Date convert2SqlDate(java.util.Date date) {
return new java.sql.Date(date.getTime());
}
Maybe you are looking for
-
Open/save dialog boxes disappear after leopard upgrade
hi, since upgrading to leopard, i cant open or save in logic. I can open existing documents from finder and they load ok, and i can create a new document but if i open or save from the file menu, no open/save window appears. The options in the logic
-
What is happening with Multimedia players in Firefox 8?
Is there some big problem here? Since Firefox 8 I have been struggling to get Multimedia and Flash content on websites, including BBC and Facebook, to work right. I have re-installed Adobe Flash player and Shockwave flash players on several occasions
-
Can my ipad 3 be used as a hot spot?
can my ipad 3 be used as a hot spot?
-
I have Word 2011 on Mac 10.6.8. I write my papers and save them as .docx I submit them to my school online but every time My professor opens them he says the margins are set wrong. He said to save them as a Word-Pc format. How do I do this? Do I
-
Photoshop elements 12 no funciona (editor)
Todo son problemas tras tener que contactar con servicio tecnico por culpa de un problema de activacion, ahora resulta que activado el producto en cuanto lo inicio (editor de elements 12, el organizador funciona sin problema) y selecciono en la panta