Difren between Error and Exception
Hi
What is the defrence between Error and Exception in the Java and Why I till now just faced with Execptions not with any Error or Error Subclasses
and thanks
Hi,
From an article:
Errors and exceptions both inherit from Throwable, but they differ in these ways:
Exceptions:-
Can be checked or unchecked
Indicate an error caused by the programmer
Should be handled at the application level
Errors:-
Are always unchecked
Usually indicate a system error or a problem with a low-level resource
Should be handled at the system level, if possible
-Amol
Similar Messages
-
Difference Between Errors and Exception?
I want to know what is the difference between Error and Exception?
Everything is sadly enough catchable as Throwable but
you should never catch Errors. They are an indication
that something has gone wrong in the JVM and they are
not recoverable.Although it is clear that Sun recommends against catching Errors (".. indicates
serious problems that a reasonable application should not try to catch.. etc.."), sometimes, it makes sense to catch some type of Errors.
There was that Java editor (I forgot the name) which would catch OutOfMemoryErrors when the user would try to open a file that was too large.
So instead of crashing, the application would recover from the Error, and I personnally thought that was an interesting feature. At least, a better alternative than the whole application failing. -
Difference between Error and Exception
Can anyone tell me the difference between error and exception
ThanzErrors and Exceptions, in a Nutshell
Errors and exceptions both inherit from Throwable, but they differ in these ways:
Exceptions
Can be checked or unchecked
Indicate an error caused by the programmer
Should be handled at the application level
Errors
Are always unchecked
Usually indicate a system error or a problem with a low-level resource
Should be handled at the system level, if possible
pretty much exceptions cause abnormal flow of the program, errors stop it, least thats my idea, it can get pretty complicated, below is a really good link for htat, also, Google it.
http://www.fawcette.com/javapro/2002_09/online/errors_jstreet_09_13_02/
really good site
-brian -
What is exact diffrence between Error and Exception
what is exact diffrence between Error and Exception....and also give me
definitions.....i would very thank full to given answer to me.Error may or may not be handled by the compiler or JVM there are many errors like Assertion error,stack over flow error out of memory error etc..
Exception is the abnormal condition and these may be handled by the compiler.There r many exceptions like clone not supported, interrupted exception,i/o exceptions...Exception can be handled by using try catch blocks. -
Hi,
Could you please tell me "What is difference between Runtime Error and Exceptions"
Thanks & Regards,
Krushna BiswalIf you would like to handle and navigate based on the exception type, this code would help you. btw I'm not familiar with portlet though.
http://sourceforge.net/projects/optionzero
http://sourceforge.net/forum/forum.php?forum_id=666191
You can declare exception type and navigation in faces-config.xml in declarative manner like Struts global exception notion.
Please let me know it's useful or not.
thanks, -
Web service hangs without any errors and exceptions
hi all,
We have a ejb application web service that is binded with shedular bc to trigger for every 2 hours
and it runs for one and half hours making continous transactions with database..
In the web service a outer for loop will be iterated by fetching list of data from database. And this list will be iterated in the inner for loop.
This logic works fine for sometime, but suddenly after some random period of time without any errors and exceptions the outer for loop gets no list from database
and the inner for loop is never executed and the web service completes processing.
This i can able to see form my log files.
i dont understand why the list is not fetched from the database, is the problem with hibernate or it lost the connection with database,
either case it has to throw exception but the service is not.
otherwise does this is garbage collector issue.
Thanks in advance,
ByeWithout any code to see what's going on we'd be flying blind trying to answer this one.
-
Can any one explain me the difference between an Error and an Exception.
An Error is an abnormal condition that should not occur, and a reasonable application should not try to catch.
An Exception indicates a condition that a reasonable application might want to catch and process. -
How to see the portal runtime errors and exception
Hi friends,
I am new to the EP. Can you plz let me know how to see the logs of the error occurs during the runtime.
I have got the following error "Error occurs during the rendering of jsp component"
But I am not able to see the logs.
can you plz tell me the exact path to see the error logs
Thanks and regards,
Kuldeep VermaHI Kuldeep
Yoiu can check the portal Logs and traces in link as the bellow.
http://your_url:portno/nwa
The JSP logs you can trace there.
Just follow the following path after loged in to NWA.
Monitoring -> Logs and Traces ->
Then in the dropdown menu select the Default Trace
Cheers
Chinmaya
Reward for helpful answers -
Errors and exceptions in writing large binary data on sockets!!! urgent
hi
I am trying to write large binary data in the form of byte arrays on sockets.
Data is as large as 512KB(== 524288bytes) So i store the data (actually read from a file through FileInputStream ) and then write on the socket with lines like this
DataOutputStream dos =
new DataOutputStream(new BufferedOutputStream(sock.getOutputStream()));
dos.write(b);
/* suppose b is the arrayreference in which data is stored. sometimes i write with that offset + len function*/
dos.flush();
dos.close();
sock.close();
but the program is not stable: sometimes the whole 512KB is read on other side and sometimes less usually 64KB.
The program is unthreaded.
There is another problem : one side(reading or writing) sometimes gives error :
java.net.SocketException: Software caused connection abort: socket write error
please reply and reply soon and give ur suggestions
thankshi
I am trying to write large binary data in theform
of byte arrays on sockets.
Data is as large as 512KB(== 524288bytes) So istore
the data (actually read from a file through
FileInputStream ) and then write on the socketwith
lines like this
DataOutputStream dos =
new DataOutputStream(new
BufferedOutputStream(sock.getOutputStream()));
dos.write(b);
/* suppose b is the arrayreference in which datais
stored. sometimes i write with that offset + len
function*/
dos.flush();
dos.close();
sock.close();
but the program is not stable: sometimes the whole
512KB is read on other side and sometimes less
usually 64KB.
The program is unthreaded.
There is another problem : one side(reading or
writing) sometimes gives error :
java.net.SocketException: Software caused
connection abort: socket write error
please reply and reply soon and give ursuggestions
thanksUmm how are you reading the data on the other side?
some of your code snippet might help. Your writing
code seems ok. I've written a file transfer program
in a similar fashion and have successfully testing on
different platforms (AIX, AS400, Solaris, Windows,
etc) without any problems and without needing to set
the buffer sizes with files as large as 600MB and you
said you're testing this on the loopback?
Point here is you should never need to reset any of the default TCP options to get program correctness. The options are more for optimizations and fine tuning. If indeed you need to change the options to get your program to work, then you program wont be able to scale under different load. -
The issue is the code is not inserting the good records into the MIE table. This is becasue of the error 'OtherError GFSTM_INS_SNURK_NEW_TABLES_PA.gfstm_ins_asn_journal_pr:ORA-01841: (full) year must be between -4713 and +9999, and not be 0' This error is throwing out because of space issue in dt_asn_shipped.
My requirement is to log error if any if not get the next record in the loop and insert it in the table if it has no error. The issue is good records are not getting inserted. The snurk_cmms_crct018_asn_journl in the cursor is a synonym which uses dblionk to connect to the remote db. The dt_asn_shipped data type is char(6) and the format is YYMMDD.
declare
CURSOR cur_asn_journal IS
SELECT NVL(TRIM(cd_asn_plant),' ') cd_asn_plant,
NVL(TRIM(no_journal),0) no_journal,
NVL(TRIM(cd_ship_from),' ') cd_ship_from,
TRIM(no_asn) no_asn,
DECODE(LENGTH(dt_asn_shipped),6, to_date(to_char(to_date(trim(dt_asn_shipped),'YYMMDD'),
'DD-MON-YY'),'DD-MON-YY'), '') dt_asn_shipped,
TRIM(dt_processed) dt_processed,
TRIM(in_manual) in_manual,
TRIM(ts_last_update) ts_last_update
FROM snurk_cmms_crct018_asn_journl;
BEGIN
FOR l_rec_asn_journal IN cur_asn_journal LOOP
BEGIN
INSERT INTO gfstmie_st_cmms_asn_journal
gsdb_site_code ,
journal_num,
gsdb_site_from_code,
adv_shipping_notice_cnum,
adv_sn_shipping_date,
processed_date,
manual_in_code,
cmms_last_update_cdate,
create_userid,
create_dts,
update_userid,
update_dts
) VALUES
l_rec_asn_journal.cd_asn_plant,
l_rec_asn_journal.no_journal,
l_rec_asn_journal.cd_ship_from,
l_rec_asn_journal.no_asn,
l_rec_asn_journal.dt_asn_shipped,
l_rec_asn_journal.dt_processed,
l_rec_asn_journal.in_manual,
l_rec_asn_journal.ts_last_update,
g_con_user_id,
l_dts_current_gmt,
g_con_user_id,
l_dts_current_gmt
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('l_num_exception_pt_7');
--To assign value to error attributes
l_str_email_body := GFSTU_MSG_CONTEXT_STACKER_PA.gfstu_add_msg_context_fn(
SQLERRM || l_str_process_track,
g_con_package_name || l_con_proc_name,
g_con_string_null);
l_rec_apm_error_attributes.job_run_sakey := l_num_job_run_id;
l_rec_apm_error_attributes.proj_acronym_code := GFSTM_PARM_SPECIFICATION_PA.g_con_proj_acronym_code_ta;
l_rec_apm_error_attributes.module_code := l_con_module_code;
l_rec_apm_error_attributes.notes_text := l_str_email_body;
l_rec_apm_error_attributes.msg_id := GFSTM_PARM_SPECIFICATION_PA.g_con_msg_id_invalid_date;
--Calling procedure to log and notify subscribers of transaction
--related errors and informational messages
GFSTM_COMMON_UTL_PA.gfstm_log_message_pr(
SUBSTR(l_str_email_body,1,2000),
g_con_string_null,
g_con_string_null,
SUBSTR(l_str_email_body,1,2000),
l_rec_apm_error_attributes,
g_con_string_null,
l_num_wait_time,
l_num_wait_interval_time,
l_str_msg_action_code,
l_num_oracle_error_code,
l_str_oracle_msg,
l_num_return_code,
l_num_status);
END;
END LOOP;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('l_num_exception_pt_12');
DBMS_OUTPUT.PUT_LINE('l_num_exception_pt_2 '||l_str_procg_mode_code);
--Rollback uncommitted transactions
ROLLBACK;
--Assigning failure status
o_num_status := g_con_status_failure;
--Assigning procedure end time in GMT
l_dts_end_time := GFSTU_DATETIME_UTILITIES_PA.gfstu_to_gmt_fn;
--To assign value to error attributes
l_str_email_body := GFSTU_MSG_CONTEXT_STACKER_PA.gfstu_add_msg_context_fn(
SQLERRM || l_str_process_track,
g_con_package_name || l_con_proc_name,
g_con_string_null);
l_rec_apm_error_attributes.job_run_sakey := l_num_job_run_id;
l_rec_apm_error_attributes.proj_acronym_code := GFSTM_PARM_SPECIFICATION_PA.g_con_proj_acronym_code_ta;
l_rec_apm_error_attributes.module_code := l_con_module_code;
l_rec_apm_error_attributes.notes_text := l_str_email_body;
l_rec_apm_error_attributes.msg_id := GFSTM_PARM_SPECIFICATION_PA.g_con_msg_id_oracle;
--Calling procedure to log and notify subscribers of transaction
--related errors and informational messages
GFSTM_COMMON_UTL_PA.gfstm_log_message_pr(
SUBSTR(l_str_email_body,1,2000),
g_con_string_null,
g_con_string_null,
SUBSTR(l_str_email_body,1,2000),
l_rec_apm_error_attributes,
g_con_string_null,
l_num_wait_time,
l_num_wait_interval_time,
l_str_msg_action_code,
l_num_oracle_error_code,
l_str_oracle_msg,
l_num_return_code,
l_num_status);
--Calling procedure to update the job status
GFSTM_COMMON_UTL_PA.gfstm_update_job_status_pr(
l_num_job_run_id,
GFSTM_PARM_SPECIFICATION_PA.g_con_process_abort,
l_dts_end_time,
g_con_perf_metric_code,
g_con_zero,
g_con_n,
l_num_oracle_error_code,
l_str_oracle_msg,
l_num_return_code,
l_num_status);
END ;
Thanks,
VinodhHi,
Could you not have reduced your question to what is relevant?
You seem to be saying that this is your problem:
SELECT DECODE ( LENGTH (dt_asn_shipped),
6,
TO_DATE ( TO_CHAR ( TO_DATE ( TRIM (dt_asn_shipped), 'YYMMDD'), 'DD-MON-YY'), 'DD-MON-YY'),
dt_asn_shipped
FROM snurk_cmms_crct018_asn_journl;As far as I can see, problem might be that you decode on UNTRIMMED length.
Also, you could get rid of some the to_date(to_char(to_date), which is nothing more than simply to_date()
Try something like
SELECT CASE LENGTH (TRIM (dt_asn_shipped))
WHEN 6 THEN TO_DATE ( TRIM (dt_asn_shipped), 'YYMMDD')
END
dt_asn_shipped
FROM snurk_cmms_crct018_asn_journl;Regards
Peter -
Error: ORA-01847: day of month must be between 1 and last day of month
Hi,
I am getting this ORA-01847: day of month must be between 1 and last day of month type of error but I have checked my data all are correct.
I am inserting the data in the merge query. It is giving the above error.
but when i insert the data like that
insert into dt(start_date) select TO_DATE (tariff_start_date, 'DD/MM/RRRR') from ext_zpp0a871;
It does not give any error.
Please find the below code
DECLARE
l_sv_error_msg VARCHAR2 (1000);
BEGIN
FOR i IN (SELECT condition_type, sales_org, division_channel, division,
price_list, ean_upc, amount, unit_of_measure1,
tariff_start_date, tariff_end_date
FROM ext_zpp0a871--This is external table
WHERE condition_type = 'ZPP0' AND ROWNUM < 200)
LOOP
BEGIN
MERGE INTO sap_tariff st
USING (SELECT i.price_list pl, i.ean_upc upc,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR') tsd,
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR') ted
FROM DUAL) du
ON (st.prod_ean_cuni = du.upc
AND st.pricelist = du.pl
AND st.tariff_start_date = du.tsd
AND st.tariff_end_date = du.ted)
WHEN MATCHED THEN
UPDATE
SET st.condition_type = i.condition_type,
st.sales_org = i.sales_org,
st.division_channel = i.division_channel,
st.division = i.division,
st.amount =
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
st.uom = i.unit_of_measure1
WHEN NOT MATCHED THEN
INSERT (condition_type, sales_org, division_channel, division,
pricelist, prod_ean_cuni, amount, uom,
tariff_start_date, tariff_end_date)
VALUES (i.condition_type, i.sales_org, i.division_channel,
i.division, i.price_list, i.ean_upc,
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
i.unit_of_measure1,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR'),
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR'));
/*INSERT INTO sap_tariff
(condition_type, sales_org, division_channel,
division, pricelist, prod_ean_cuni,
amount,
uom,
tariff_start_date,
tariff_end_date
VALUES (i.condition_type, i.sales_org, i.division_channel,
i.division, i.price_list, i.ean_upc,
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
i.unit_of_measure1,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR'),
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR')
EXCEPTION
WHEN DUP_VAL_ON_INDEX
THEN
UPDATE sap_tariff
SET condition_type = i.condition_type,
sales_org = i.sales_org,
division_channel = i.division_channel,
division = i.division,
amount =
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
uom = i.unit_of_measure1;
WHEN OTHERS
THEN
l_sv_error_msg := SQLERRM (SQLCODE);
INSERT INTO sap_tariff_log
(date_of_load, condition_type, sales_org,
division_channel, division, price_list,
prod_ean_cuni, amount, uom,
tariff_start_date, tariff_end_date,
rejection_reason
VALUES (SYSDATE, i.condition_type, i.sales_org,
i.division_channel, i.division, i.price_list,
i.ean_upc, i.amount, i.unit_of_measure1,
i.tariff_start_date, i.tariff_end_date,
l_sv_error_msg
END;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
l_sv_error_msg := SQLERRM (SQLCODE);
neo_pro_log ('Others Error', l_sv_error_msg);
END;user13400510 wrote:
but when i insert the data like that
insert into dt(start_date) select TO_DATE (tariff_start_date, 'DD/MM/RRRR') from ext_zpp0a871;
It does not give any error.Maybe the error is on tariff_end_date instead of tariff_start_date ?
What are the datatypes of tariff_start_date and tariff_end_date ? If they are already dates, and you to_date them (and depending on what your nls_date_xxxxx params are) you can have such errors :SQL> sho parameter nls_date_format
NAME_COL_PLUS_SHOW_PARAM TYPE VALUE_COL_PLUS_SHOW_PARAM
nls_date_format string DD/MM/YYYY
SQL> select to_date(sysdate,'Day dd Mon RRRR') from dual;
select to_date(sysdate,'Day dd Mon RRRR') from dual
ERROR at line 1:
ORA-01846: not a valid day of the week
SQL> select to_date(sysdate,'hh24:mi:ss dd/mm/rrrr') from dual;
select to_date(sysdate,'hh24:mi:ss dd/mm/rrrr') from dual
ERROR at line 1:
ORA-01850: hour must be between 0 and 23 -
Difference between ERROR_LOGGING and SAVED EXCEPTION
Hi All,
greetings for the day.
i would like to know the difference between SAVED EXCEPTION and ERROR_LOGGING.
my requirement is like without interrupting the main procedure flow (although we got BAD file during the bulk collection, bulk insert )..?
what should i proceed for this scenario?
version is 10g..
thanks in advance>
i would like to know the difference between SAVED EXCEPTION and ERROR_LOGGING.
my requirement is like without interrupting the main procedure flow (although we got BAD file during the bulk collection, bulk insert )..?
what should i proceed for this scenario?
>
As already mentioned one is SQL the other is PL/SQL.
So the first decision to make is whether you need PL/SQL to do what you are doing. Use SQL whenever possible.
If you are using SQL then you can't use SAVE EXCEPTIONS so the choice between that and LOG ERRORS is made for you.
There are some major difference between the two:
1. SAVE EXCEPTIONS will work for all datatypes whereas the use of a log table has restrictions.
2. SAVE EXCEPTIONS will not provide ANY indication (other than the error code) of which column(s) caused the exception. A log table can be used to check for problems in a user-specified list of columns
3. SAVE EXCEPTIONS will not providing the offending value whereas a log table will log the offending value so you can examine it.
4. SAVE EXCEPTIONS will not save any of the offending data you must save it yourself if you want it. The log table will save all of the offending data but you must then manage/delete it yourself.
5. SAVE EXCEPTIONS will trap ALL errors whereas dml logging will not.
See 'Error Logging Restrictions and Caveats' in the DBA guide
http://docs.oracle.com/cd/B28359_01/server.111/b28310/tables004.htm
>
Some errors are not logged, and cause the DML operation to terminate and roll back. For a list of these errors and for other DML logging restrictions, see the discussion of the error_logging_clause in the INSERT section of Oracle Database SQL Language Reference.
>
And see Restrictions on DML Error Logging in the SQL doc
http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9014.htm#SQLRF01604
One use of logging tables is in ETL and data cleansing processes. For example incoming data might be 'dirty': values out of range (i.e. CHECK contraint violations), null data when it must be NOT NULL and the like. If a log table is used this data can be filtered out and saved in the log table where it can be examined and/or fixed.
If I have 5 columns that might be 'dirty' an error in ANY of the five can cause all five values to be recorded in the log table. Only one of the values actually CAUSED the error (the exception is raised as soon as there is an error) but the other four values will be recorded. Then when I examine the log table I check all five values to determine which ones are 'dirty'. I can then take appropriate action.
If I were using SAVE EXCEPTIONS I would need to have code that identifies and saves the original source data so I can examine it later. -
Hi All,
I am loading a COPA cube from a DSO.
There are about 15million records to be loaded. every time i try loading the data, 1 or 2 Data packages gets stuck and finally it leads to a runtime error DBIF_RSQL_SQL_ERROR with exception CX_SY_OPEN_SQL_DB.
When i checked in SM21 transaction code, i got the following message
10:41:52 BTC 018 500 AMRUKV BY O Deadlock occurred
10:41:53 BTC 018 500 AMRUKV BY 4 Database error 60 at INS access to table /BIC/FCSDV
10:41:53 BTC 018 500 AMRUKV BY 0 > ORA-00060: deadlock detected while waiting for resource
10:41:54 BTC 018 500 AMRUKV AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred
10:41:58 BTC 018 500 AMRUKV AB 1 > Short dump "080818 104154 s0173bel PB100 " generated
10:41:58 BTC 018 500 AMRUKV D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080818104154s0173bel_PB1_00 AMRUKV 500 )
In transaction code ST22 i got the following message:
Runtime Errors DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Date and Time 18.08.2008 10:41:54
Short text
SQL error in the database when accessing a table.
What happened?
The database system detected a deadlock and avoided it by rolling back
your transaction.
What can you do?
If possible (and necessary), repeat the last database transaction in the
hope that locking the object will not result in another deadlock.
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in procedure "WRITE_ICFACT" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The database system recognized that your last operation on the database
would have led to a deadlock.
Therefore, your transaction was rolled back
to avoid this.
ORACLE always terminates any transaction that would result in deadlock.
The other transactions involved in this potential deadlock
are not affected by the termination.
How to correct the error
Database error text........: "ORA-00060: deadlock detected while waiting for
resource"
Internal call code.........: "[RSQL/INSR//BIC/FCSDVD_C02 ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"GPD3UMZD6V4YAKZAIWAOCYLV07Y" or "GPD3UMZD6V4YAKZAIWAOCYLV07Y"
"WRITE_ICFACT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"WRITE_ICFACT" "(FORM)", or its possible occurrence must be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
Can anybody suggest on what can be done?
Thanks in Advance,
Regards
A.THi ,
This is a table space issue....
u will be getting a Dump...as DBIF_RSQL_SQL_ERROR check in ST22. in this DUMP if u scroll down u will find the table for which this is failing. Actually this is like some of the table related to the DSO is not having sufficient space to cary out the transaction. hence it is failing.
U can also see in DB02--> Deadlock....u will see that there is a deadlock for this table. So find the table from ST22 and ask ur basis team to increase the space for this table....
This can be solved only by increasing the space of the table...no other solution....ask help from ur basis team.
Thanks
Sandeep -
SPP Error - No valid transportation lane between Supplier and LOC1
Hi
While running the EOQ and SFT planning service, we get the following error
"No valid transportation lane between Supplier and LOC1". LOC1 is the entry location for our BOD.
We have not created any procurement relationships as we are working on a standalone SCM trialbox.
Appreciate any help/suggestions to resolve this issue.
Thanks & Best Regds
MiteshHi Mitesh,
You need to have valid transportation lanes from the supplier. Maintain it manually. If I remember correctly it is possible to have External Procurement Relationships in APO only (type 4) and not just contracts, purchasing inforecords or scheduling agreements CIFed from ECC.
Hope this helps.
Thanks,
Somnath -
Errors when saving contacts locally and syncing them between MacBook and iCloud
Last night I detected that the synchronisation of contacts between my MacBookPro (Yosemite, 13" Retina, late 2013) and iCloud is no longer working. Sync between iCloud and iOS devices (with iOS 8.1) works fine.
The problem effects the exchange of information from MBP to iCloud as well as the other way around. However, the issues are slightly different.
No matter what changes (changing existing contacts, creating new ones or creating/changing groups) I do directly in iCloud (which I usually don't do – I was just testing), none of them get synced to my MBP (though they do sync to all iOS devices).
If I do work on my MBP the situation is a bit different:
If I change any existing contact, those changes are not synced.
If I create a new contact in the "all contacts" group, it syncs to iCloud. If I make changes to that newly created contact, they are again not synced.
If I create a new contact in any other group, the contact does not sync.
If I create a new group, that group is displayed in iCloud as "new group", i.e. the name I gave it is lost on the way... If I add contacts to this group (again on the MPB), they do not sync.
If I create a new group using the option "create group from selected contacts" those contacts are synced to iCloud but the name of the group is again only "new group". Contacts added later to that group also don't sync.
Worst of all, everything that does not sync to iCloud, is lost once I close the Contacts app, meaning this information is not even stored on my MPB. OS X does not display any error messages. However, looking into the console, I found this message repeatedly whenever I was making changes to contacts etc (not only upon closing the app):
21.10.14 17:12:46,786 Contacts[532]: Error saving address book: Error Domain=NSCocoaErrorDomain Code=1560 "Bei der Überprüfung sind mehrere Fehler aufgetreten." [TRANSLATION: "Multiple errors occurred during verification"] UserInfo=0x600002e75500 {NSDetailedErrors=(
"Error Domain=NSCocoaErrorDomain Code=1570 \"originalLine ist ein erforderlicher Wert.\" [TRANSLATION: "originalLine is a required value"] UserInfo=0x600003072180 {NSValidationErrorKey=originalLine, NSLocalizedDescription=originalLine ist ein erforderlicher Wert., [TRANSLATION: NSLocalizedDescription=originalLine is a required value.] NSValidationErrorObject=<NSManagedObject: 0x600000ab6ec0> (entity: ABCDUnknownProperty; id: 0x60000102b9e0 <x-coredata:///ABCDUnknownProperty/tFFBA3874-332E-45E1-AD9D-C743B61BD9148226> ; data: {\n originalLine = nil;\n owner = \"0x56b4002ab <x-coredata://606A6059-A9DE-42A2-91C2-BBCDADB20C77/ABCDContact/p5549>\";\n propertyName = \"X-MS-OL-DESIGN\";\n})}",
"Error Domain=NSCocoaErrorDomain Code=1570 \"originalLine ist ein erforderlicher Wert.\" [TRANSLATION: "originalLine is a required value"] UserInfo=0x600003462f40 {NSValidationErrorKey=originalLine, NSLocalizedDescription=originalLine ist ein erforderlicher Wert., [TRANSLATION: NSLocalizedDescription=originalLine is a required value.] NSValidationErrorObject=<NSManagedObject: 0x6000006bede0> (entity: ABCDUnknownProperty; id: 0x600000c3d300 <x-coredata:///ABCDUnknownProperty/tFFBA3874-332E-45E1-AD9D-C743B61BD9148152> ; data: {\n originalLine = nil;\n owner = \"0x56a0002ab <x-coredata://606A6059-A9DE-42A2-91C2-BBCDADB20C77/ABCDContact/p5544>\";\n propertyName = \"X-MS-OL-DESIGN\";\n})}"
21.10.14 17:12:46,788 Contacts[532]: -[ABAddressBook save] failed. (<ABAddressBook: 0x6080020c4130>)
21.10.14 17:12:46,788 Contacts[532]: [CardDAVPlugin-ERROR] -doSyncWithServer: [syncAddressBook(<ABAddressBook: 0x6080020c4130>) save] FAILED
Does anyone have an idea how to fix this?
I am not sure about the relevance of these error messages but I found them as well in the console:
21.10.14 17:46:36,619 uxipm_ui[745]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.0 instead of 10.10.0. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
21.10.14 17:46:36,619 uxipm_ui[745]: 0 CarbonCore 0x00007fff934f2dc3 ___Gestalt_SystemVersion_block_invoke + 113
21.10.14 17:46:36,620 uxipm_ui[745]: 1 libdispatch.dylib 0x00007fff92302c13 _dispatch_client_callout + 8
21.10.14 17:46:36,620 uxipm_ui[745]: 2 libdispatch.dylib 0x00007fff92302b26 dispatch_once_f + 117
21.10.14 17:46:36,620 uxipm_ui[745]: 3 CarbonCore 0x00007fff9349b4da _Gestalt_SystemVersion + 987
21.10.14 17:46:36,620 uxipm_ui[745]: 4 CarbonCore 0x00007fff9349b0c7 Gestalt + 144
21.10.14 17:46:36,620 uxipm_ui[745]: 5 QtCore 0x000000010c089496 _ZN9QInternal16registerCallbackENS_8CallbackEPFbPPvE + 194
21.10.14 17:46:36,620 uxipm_ui[745]: 6 ??? 0x00007fff64845ceb 0x0 + 140734879784171
And also this one:
21.10.14 17:46:35,098 CoreServicesUIAgent[322]: unexpected message <OS_xpc_error: <error: 0x7fff79579c60> { count = 1, contents =
"XPCErrorDescription" => <string: 0x7fff79579f70> { length = 18, contents = "Connection invalid" }
}>
And this one:
21.10.14 17:42:42,115 com.apple.iCloudHelper[737]: objc[737]: Class FALogging is implemented in both /System/Library/PrivateFrameworks/FamilyCircle.framework/Versions/A/FamilyCircl e and /System/Library/PrivateFrameworks/FamilyNotification.framework/Versions/A/Famil yNotification. One of the two will be used. Which one is undefined.
21.10.14 17:42:42,121 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
I have tried the troubleshooting listed here: Get help using iCloud Contacts (i.e. disabled and reenabled the sycn through iCloud in Preferences > iCloud and checked the login information etc)
And I also do not exceed any of the limits for contacts listed here: iCloud: Limits for Contacts, Calendars, Reminders, and Bookmarks
Any help is greatly appreciated!I don't know if this is applicable for you, but this solved it for me.
My initial situation was the following, Ipad, Iphone and iMac where syncing well. But not my Macbook Pro. So I did this Get help using iCloud Contacts - Apple Support and this Sync Services: Advanced troubleshooting for contact and calendar syncing - Apple Support . As result all my contacts, even the view I had where gone on my macbook. I tried rebooting and restartting but nothing helped.
Then I did the following. I backuped all the cards from contacts on my imac (by moving them into a folder) and backuped them by export as archive.
Afterwards I disconnected from icloud on my imac, then reconected and deleted all contacts from the addressbook. I double checked if they where gone on icloud.com too. Afterwards I just moved them back from the folder to the address book. again double checked on icloud.com and the my macbook started syncing properly.
Which of the things I finally solved it, I don't know for sure. But I assume it was the one with deleting and restoring everything on another machine.
Maybe you are looking for
-
F4 is not working in my system.
Hi, F4 help is not working in my system,its working fine in all other system.functional peopel are getting problem in f4 help.i checked the settings all are fine.Guide me for the same how to resolve this. Thanku
-
Can somebody help me with this Panic Report:
Thu Mar 21 11:38:18 2013 Panic(CPU 3): Unresponsive processor (this CPU did not acknowledge interrupts) TLB state:0x0 RAX: 0x00000000ffffffff, RBX: 0x0000000000002710, RCX: 0x0000000000007000, RDX: 0xffffff80eb84d078 RSP: 0xffffff80eb7dbc1c, RBP: 0xf
-
Photoshop CS6.1 Cannot save file as .tif-program insists on .pdf
On Mac Pro using OS X attempt to save completed file as .tif. Photoshop insists on saving it as a .pdf. None of the format shown in "Format" field link up with actual extension.
-
I deleted the facetime button how do i get it back
when I fisrt got my phone I didnt think I would ever use facetime so I deleted the button ... now I want to use it but you cannot download it from the app store
-
Cannot find the tab option on Safari
I want to have the option to just click on a new tab anytime, however the option is not there for me to do so, how do i get to it? I went to edit>preferences>tabs but the option is not there. Whenever i want a new tab i have to click on an existing l