Getting run time error when accessing the file from frontend server using F4.....?
Category ABAP Programming Error
Runtime Errors CONVT_NO_NUMBER
Except. CX_SY_CONVERSION_NO_NUMBER
ABAP Program ZMM_MIGO_GOODS_ISSUE
Application Component Not assigned
Date and Time 26.05.2014 14:28:30
Short Text
"C:\Users\SAP\Desktop\MIGO\MIGO.xlsx" cannot be interpreted as a number
What happened?
Error in the ABAP Application Program
The current ABAP program "ZMM_MIGO_GOODS_ISSUE" had to be terminated because
it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception has occurred which is explained in more detail below. The
exception is assigned to class 'CX_SY_CONVERSION_NO_NUMBER' and was not caught
in procedure
"%_SEL_SCREEN_P_FNAME_V" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated this
HI CHIRUI,
I have changed and tried but still i a getting the same thing..
otherwise please check this i am using some class method i am not getting short dump,but excel file is not getting uploaded.
REPORT ZMM_MIGO_GOODS_ISSUE NO STANDARD PAGE HEADING.
DATA : BEGIN OF IT_DATA OCCURS 0,
ID(10),
BLDAT(10), " Document Date
BUDAT(10), " Posting Date
REF_DOC_NO(16), " Material Slip No
DEL_NOTE(16), " delivery note
MATNR TYPE MSEG-MATNR, " Material Number
ERFMG(13) TYPE C, " Quantity
BWART TYPE RM07M-BWARTWA, " Movement Type
SOBKZ(1), " Special Stock
WERKS TYPE RM07M-WERKS, " Plant
LGORT TYPE RM07M-LGORT, " Storage Location
PS_POSID TYPE PS_POSID, " WBS Element
COST_CENTER TYPE KOSTL, " cost center
ORDER TYPE AUFNR, " order number
SERNR TYPE RIPW0-SERNR, " Serial Number
END OF IT_DATA,
BEGIN OF IT_HEAD OCCURS 0,
ID(10),
BLDAT(10), " Document Date
BUDAT(10), " Posting Date
REF_DOC_NO(16), " Reference document number
"HEADER_TXT(25), " Header Text
BWART TYPE RM07M-BWARTWA, " Movement Type
END OF IT_HEAD,
BEGIN OF IT_ITEM OCCURS 0,
ID(10),
"ID1(10),
WERKS TYPE RM07M-WERKS, " Plant
LGORT TYPE RM07M-LGORT, " Storage Location
VAL_TYPE TYPE BWTAR_D,
MATNR TYPE MSEG-MATNR, " Material Number
ERFMG(13) TYPE C, " Quantity
CHARG TYPE MSEG-CHARG, " Batch
BWTAR TYPE BWTAR_D,
PS_POSID TYPE PS_POSID, " WBS Element
ERFME TYPE MSEG-ERFME, " Unit
COST_CENTER TYPE KOSTL, " cost center
ORDER TYPE AUFNR, " order number
CUSTOMER TYPE EKUNN, " Account Number of Customer
SERNR TYPE RIPW0-SERNR, " Serial Number
AMOUNT_LC TYPE BAPI_EXBWR,
SOBKZ(1),
END OF IT_ITEM,
HEADER LIKE BAPI2017_GM_HEAD_01,
CODE LIKE BAPI2017_GM_CODE,
ITEMS LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0 WITH HEADER LINE,
SERIAL LIKE BAPI2017_GM_SERIALNUMBER OCCURS 0 WITH HEADER LINE,
RETURN LIKE BAPI2017_GM_HEAD_RET,
RET LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
TESTRUN LIKE BAPI2017_GM_GEN-TESTRUN,
IT_TAB TYPE FILETABLE,
GD_SUBRC TYPE I,
L_FILE TYPE RLGRAP-FILENAME,
IT_RAW TYPE TRUXS_T_TEXT_DATA,
COUNT(2) TYPE N,
TEXT_C(30).
DATA: DATA LIKE TABLE OF IT_ITEM WITH HEADER LINE.
DATA: IT_TEMP LIKE TABLE OF IT_ITEM WITH HEADER LINE.
DATA: IT_TEMP1 LIKE TABLE OF IT_ITEM WITH HEADER LINE.
DATA: IT_ITEM1 LIKE TABLE OF IT_ITEM WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_FILE TYPE RLGRAP-FILENAME.
* p_test AS CHECKBOX.
SELECTION-SCREEN: END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
EXPORTING
WINDOW_TITLE = 'SELECT FILE'
CHANGING
FILE_TABLE = IT_TAB
RC = GD_SUBRC.
READ TABLE IT_TAB INTO P_FILE INDEX 1.
START-OF-SELECTION.
PERFORM GET_EXCEL_DATA.
PERFORM GET_HEADER_ITEM.
PERFORM UPDATE_DATA.
*& Form GET_EXCEL_DATA
* text
* --> p1 text
* <-- p2 text
FORM GET_EXCEL_DATA .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = P_FILE
IMPORTING
OUTPUT = L_FILE.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = IT_RAW
I_FILENAME = L_FILE
TABLES
I_TAB_CONVERTED_DATA = IT_DATA
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " GET_EXCEL_DATA
*& Form GET_HEADER_ITEM
* text
* --> p1 text
* <-- p2 text
FORM GET_HEADER_ITEM .
DATA : FLAG(1).
LOOP AT IT_DATA.
CLEAR FLAG.
IF IT_DATA-ID IS NOT INITIAL.
AT NEW ID.
FLAG = 'X'.
ENDAT.
ENDIF.
IF FLAG = 'X'.
MOVE-CORRESPONDING IT_DATA TO IT_HEAD.
APPEND IT_HEAD.
ENDIF.
MOVE-CORRESPONDING IT_DATA TO IT_ITEM.
APPEND IT_ITEM.
ENDLOOP.
DATA[] = IT_ITEM[].
IT_TEMP[] = IT_ITEM[].
IT_TEMP1[] = IT_ITEM[].
ENDFORM. " GET_HEADER_ITEM
*& Form UPDATE_DATA
* text
* --> p1 text
* <-- p2 text
FORM UPDATE_DATA .
DATA : COUNT1(10),
L_QTY TYPE I,
DAT(10).
CONCATENATE SY-DATUM+6(2) '.' SY-DATUM+4(2) '.' SY-DATUM(4) INTO DAT.
LOOP AT IT_HEAD.
ON CHANGE OF IT_HEAD-ID.
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = IT_HEAD-BUDAT
ACCEPT_INITIAL_DATE = 'X'
IMPORTING
DATE_INTERNAL = HEADER-PSTNG_DATE.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = IT_HEAD-BLDAT
ACCEPT_INITIAL_DATE = 'X'
IMPORTING
DATE_INTERNAL = HEADER-DOC_DATE.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE : '2' TO HEADER-VER_GR_GI_SLIP,
'X' TO HEADER-VER_GR_GI_SLIPX.
* IF r1 EQ 'X'.
MOVE '05' TO CODE-GM_CODE.
HEADER-REF_DOC_NO = IT_HEAD-REF_DOC_NO.
"HEADER-HEADER_TXT = IT_HEAD-HEADER_TXT.
* ELSEIF r2 EQ 'X'.
* MOVE '04' TO code-gm_code.
* ELSEIF r3 EQ 'X'.
* MOVE '04' TO code-gm_code.
* ENDIF.
* IF p_test = 'X'.
* MOVE 'X' TO testrun.
* ENDIF.
ENDON.
IT_ITEM1[] = IT_ITEM[].
*delete it_item[] where werks = '' and id = it_head-id.
DELETE ADJACENT DUPLICATES FROM IT_ITEM COMPARING ID MATNR.
LOOP AT IT_ITEM WHERE ID = IT_HEAD-ID.
* ON CHANGE OF it_item-id1.
COUNT1 = COUNT1 + 1.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = IT_ITEM-MATNR
IMPORTING
OUTPUT = ITEMS-MATERIAL.
MOVE : IT_ITEM-WERKS TO ITEMS-PLANT,
IT_ITEM-LGORT TO ITEMS-STGE_LOC,
* it_item-lgort1 TO items-move_stloc,
IT_ITEM-CHARG TO ITEMS-BATCH,
* IT_ITEM-VAL_TYPE TO ITEMS-VAL_TYPE,
'FRESH' TO ITEMS-VAL_TYPE,
IT_HEAD-BWART TO ITEMS-MOVE_TYPE,
IT_ITEM-SOBKZ TO ITEMS-SPEC_STOCK,
IT_ITEM-ERFMG TO ITEMS-ENTRY_QNT,
IT_ITEM-ERFMG TO ITEMS-ENTRY_QNT,
* it_item-erfme TO items-entry_uom,
* it_item-sgtxt TO items-item_text,
* it_item-exbwr TO items-amount_lc,
IT_ITEM-PS_POSID TO ITEMS-WBS_ELEM,
IT_ITEM-PS_POSID TO ITEMS-VAL_WBS_ELEM,
"IT_ITEM-CUSTOMER TO ITEMS-CUSTOMER,
IT_ITEM-ERFMG TO L_QTY,
IT_ITEM-AMOUNT_LC TO ITEMS-AMOUNT_LC,
IT_ITEM-COST_CENTER TO ITEMS-COSTCENTER,
IT_ITEM-ORDER TO ITEMS-ORDERID.
* items-SPEC_MVMT = 'R'.
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_INPUT'
EXPORTING
INPUT = ITEMS-WBS_ELEM
IMPORTING
OUTPUT = ITEMS-WBS_ELEM.
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_INPUT'
EXPORTING
INPUT = ITEMS-VAL_WBS_ELEM
IMPORTING
OUTPUT = ITEMS-VAL_WBS_ELEM.
* CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
* EXPORTING
* input = it_item-lifnr
* IMPORTING
* output = items-vendor.
APPEND ITEMS.
* ENDON.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM IT_TEMP COMPARING ID MATNR.
DELETE IT_TEMP1 WHERE ID <> IT_HEAD-ID.
DELETE IT_TEMP WHERE ID <> IT_HEAD-ID.
DATA: MAT_ITM TYPE MBLPO,
SERNP TYPE SERAIL.
MAT_ITM = '0001'.
LOOP AT IT_TEMP.
SELECT SINGLE SERNP FROM MARC INTO SERNP WHERE MATNR = IT_TEMP-MATNR.
IF SERNP IS NOT INITIAL.
LOOP AT IT_TEMP1 WHERE ID = IT_TEMP-ID AND MATNR = IT_TEMP-MATNR.
* MOVE : it_item1-id TO serial-matdoc_itm,
* MOVE : mat_itm TO serial-matdoc_itm,
SERIAL-MATDOC_ITM = MAT_ITM .
SERIAL-SERIALNO = IT_TEMP1-SERNR.
APPEND SERIAL.
CLEAR IT_ITEM1.
ENDLOOP.
MAT_ITM = MAT_ITM + 1.
ENDIF.
CLEAR IT_TEMP.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = HEADER
GOODSMVT_CODE = CODE
TESTRUN = TESTRUN
* GOODSMVT_REF_EWM =
IMPORTING
GOODSMVT_HEADRET = RETURN
* MATERIALDOCUMENT =
* MATDOCUMENTYEAR =
TABLES
GOODSMVT_ITEM = ITEMS
GOODSMVT_SERIALNUMBER = SERIAL
RETURN = RET
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
* IMPORTING
* RETURN =
IF NOT RETURN IS INITIAL.
WRITE :/ 'Material Document Number Generated: ' ,RETURN-MAT_DOC,RETURN-DOC_YEAR.
ELSE.
LOOP AT RET.
WRITE : RET-TYPE, RET-MESSAGE.
* log-index = sy-index.
* log-matnr = header-material.
* log-message = ret1-message.
* APPEND log.
ENDLOOP.
ENDIF.
REFRESH : ITEMS,RET.
CLEAR : HEADER,RETURN.
CLEAR: TESTRUN ,
RETURN,
ITEMS[],
SERIAL[],
RET[],
HEADER,
IT_TEMP[] ,
IT_TEMP1[].
IT_TEMP[] = DATA[].
IT_TEMP1[] = DATA[].
ENDLOOP.
ENDFORM. " UPDATE_DATA
Regards,
Suresh bheema
Similar Messages
-
ABAP Run time error when display the Customs Export declarations
Hi,
I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
While debugging we found that Primary Key of the below structures are not the same
lt_corpar type /sapsll/corpar_t
lt_corpar_ht type /sapsll/corpar_k02_ht
Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
Error message short details
Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
"/SAPSLL/CUHD_LOAD_SELECTION".
The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
In the source code you have the termination point in line 144
of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
Regards,
Pradeep MaddiHi,
I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
Proforma Invoice not transferred to GTS
After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
Error details
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program /SAPSLL/SAPLCUHD_SELECTION
Application Component SLL-LEG
You tried to insert an entry into table "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
Regards,
Pradeep -
Error in Reading the file from Application Server
Hi,
This Error is regarding one of my interface, the issue is that , the interface reads data from file in bunch suppose 100 records at a time , then processes those records and once finished go for next 100 records .
Noe the error is that , the process takes place till 500 records correctly but when it went to fetch for next 100 i.e fom 501 to 600 it selects only 501 to 583 .
this records has been processed successfully but the job finished there only
but the file contains 788 records
When the same file has been run in other server it ran successfully without such error .
Can you please suggest how to resolve the issueHi,
Try to manually download the file from application server using standard transactions, and than check how many records are you able to download from app. server.
I guess there might be something wrong with the format of 583rd record, which makes sap assume that the file has come to an end.
Hope this will help you.
Regards,
Vinit... -
Run Time Error When opening PDF File on Computer
I am getting a run time error when I try to open up PDF's on my computer. The error message reads, "The application has requested the runtime to terminate in an unusual way. When I click ok the error box I get a message that says adobe reader has stopped working and the program has been closed. FYI I am using the latest version of adobe reader
Operating system is Windows Vista Home Premium..
Version of Adobe Reader is 10.1.13.
Any thoughts on what the issue is? -
Getting run time errors while executing the copied SAP programs
Hi folks,
i want to copy an sap program.after coping i need to change some coding there.then i have to create a new transaction for that.
i am just copying the sap program RQEEAL10(transaction-QA32) to Z_RQEEAL10. it has 4 include programs.i am copying them to z programs like
RQ00MF10 copied to z_RQ00MF10
RQALVF14 copied to z_RQALVF14
RQALVF16 copied to z_RQALVF16
RQALVTOP copied to z_RQALVTOP.
now i am executing that program Z_RQEEAL10.but i am getting run time errors as given below.
<b>runtime error---</b>
The termination occurred in the ABAP program "Z_RQEEAL10" in
"SELECT_FIELDS_MANIP2_F16".
The main program was "Z_RQEEAL10 ".
The termination occurred in line 257 of the source code of the (Include)
program "RQALVF16"
of the source code of program "RQALVF16" (when calling the editor 2570).
--Error in ABAP statement when processing an internal table.
--When changing or deleting one or more lines of the internal table
"\PROGRAM=Z_RQEEAL10\DATA=SELECT_FIELDS" or when inserting in the table
"\PROGRAM=Z_RQEEAL10\DATA=SELECT_FIELDS", 0 was used as
the line index. An index less than or equal to zero is not
allowed.
The error can occur when using the following options:
1. "INDEX idx" for specifying the line number in the table
"\PROGRAM=Z_RQEEAL10\DATA=SELECT_FIELDS"
where you want to change, insert or delete.
2. "FROM idx" for specifying the start index when deleting a line
area from or inserting a line area into the table
"\PROGRAM=Z_RQEEAL10\DATA=SELECT_FIELDS".
3. "TO idx" for specifying the end index when deleting a line
area from or inserting a line area into the table
"\PROGRAM=Z_RQEEAL10\DATA=SELECT_FIELDS".
When the program terminated, the table had 2 lines.
these r the runtime errors what i am getting.where is the problem?i have activated all interface & includes.plz advice.
Thanks & regardsHi Madhu,
I will give you one more check point where you have to give your concentration while copying the standard programs....
Call Customer-Function (Function Exists) if any in the Program when copied will not get executed. Instead you need to call the FM Directly.
one more is also here
You are likely to have some problems with the text-elements and translation that may have been maintained for the original report.
~~Guduri -
Run time error when loding the WEB clint
Dear
All
I am in sap ides 4.0 I am trying to login the web Clint thru the BSP application in the se80 t code I got in to that code select the BSP application after that cic_ic and F8.
New internet explore opened and asked for user id password after that. The page is loding after that no action but I refresh the page it is saying that ending the section.
I find that i am getting two types of run time errors when page loding i find this thru st22 list of run time errors.
that are 20.10.2008
1.09:26:15 gopinath SAPUSER 800 C SYNTAX_ERROR CRM_MKTTG_PROC_TG_FEXP_BATCH 1
2.18.10.2008 14:05:55 gopinath 000 C DBIF_RSQL_INVALID_REQUEST SAPMSYST 1
and i check in event viewer also in that it is showing that.
SAP-Basis System: Transaction Canceled 00 671 ( SYNTAX_ERROR 20081020092615gopinath SAPUSER 8001 )
with Regards,
Prakesh.Hi
I would suggest you to create a OSS request using service.sap.com and ask SAP to help on this
Regards
Madhan -
Error while uploading the file from Allpcation server in LSMW-7th step
Hi Experts,
what should be the specific CODE PAGE should be maintained while uploading the file from application server in LSMW-7th Step
Thanks in advance,
KSRHi
I mean that there is any seperate CODE PAGE which comes at the bottom of screen while uploading the file from the application server in 7th step.
Is there any specific CODE PAGE to be maintained...
Thanks in advance
Oarsk -
Getting Run time error when trying to open WAD
I get the following message when opening WAD either from Business Explorer or from the start menu of the window.
run time error '438'.
Object does not support this property or method.
Any Insights? I was able to do this earlier.
Thanks
Amit.Stefan,
What is your front end patch level ? to find out , open the Logon pad ad right click on the icon on the status bar and select about , you will know the patch level for the same , that might give you some idea , what you have to possibly do is implement a front end patch.
Arun -
Getting run time error when executing stanard SAP transaction
Hi experts,
I am trying to run the standard SAP report transaction S_ALR_87013557. but it is giving the run time error "LOAD_PROGRAM_NOT_FOUND". i also check the program name that appears in the short dump with SE38. it gives the message that no program exist.
but when i try to run other S_ALR_ trasactions, they are running correctly.
So can just help me in this regards.Check if this program GPA8PD2X83M8PML7SBUU3COEFIK exist in your system.
if yes then see which transaction it is attached.
if that transaction is executing properly, then functional person can tell if that's the report they are looking for.
if no u can execute this prog from se38 & check. if that works, then you can create z transaction & attach that program.
This will be workaround, ideally you should raise OSS ticket. SAP may release new Note . -
Get an error when accessing the entry from the Backing Map directly
We are using some sample code from Oracle to access Objects associated via KeyAssociation directly from the Backing Map.
Occasionally we get the error posted below. Can someone shed light on what this error means ?
I'm doing a Get on the Backing Map directly.
Thanks,
J
An entry was inserted into the backing map for the partitioned cache "Customerl" that is not owned by this member; the entry will be removed.
ReadWriteBackingMap$5{ReadWriteBackingMap inserted: key=Binary(length=75, value=0x---binary key data removed ----), value=Binary(length=691, value=0x---binary value data removed---)), synthetic}
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.onBackingMapEvent(DistributedCache.CDB:152)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage$PrimaryListener.entryInserted(DistributedCache.CDB:1)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:164)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
at com.tangosol.net.cache.ReadWriteBackingMap$InternalMapListener.dispatch(ReadWriteBackingMap.java:2064)
at com.tangosol.net.cache.ReadWriteBackingMap$InternalMapListener.entryInserted(ReadWriteBackingMap.java:1903)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:164)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
at com.tangosol.net.cache.OldCache.dispatchEvent(OldCache.java:1718)
at com.tangosol.net.cache.OldCache$Entry.onAdd(OldCache.java:1786)
at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
at com.tangosol.net.cache.OldCache.put(OldCache.java:253)
at com.tangosol.net.cache.OldCache.put(OldCache.java:221)
at com.tangosol.net.cache.ReadWriteBackingMap.get(ReadWriteBackingMap.java:721)
atHere is the sample we adapted. We have adapted the code below to our specific Cache. I have highlighted the line that throws the exception, this exception doesnt occur all the time, saw it about 10 times yesterday and 2 times today.
import com.tangosol.net.BackingMapManagerContext;
import com.tangosol.net.CacheFactory;
import com.tangosol.net.CacheService;
import com.tangosol.net.DefaultConfigurableCacheFactory;
import com.tangosol.net.NamedCache;
import com.tangosol.util.Binary;
import com.tangosol.util.ClassHelper;
import com.tangosol.util.InvocableMap;
import com.tangosol.util.processor.AbstractProcessor;
import java.io.Serializable;
import java.util.Map;
* dimitri
public class Main extends AbstractProcessor
public static class Foo implements Serializable
String m_sFoo;
public String getFoo()
return m_sFoo;
public void setFoo(String sFoo)
m_sFoo = sFoo;
public String toString()
return "Foo[foo=" + m_sFoo + "]";
public static class Bar implements Serializable
String m_sBar;
public String getBar()
return m_sBar;
public void setBar(String sBar)
m_sBar = sBar;
public String toString()
return "Bar[bar=" + m_sBar + "]";
public Object process(InvocableMap.Entry entry)
try
// We are invoked on foo - update it.
Foo foo = (Foo) entry.getValue();
foo.setFoo(foo.getFoo() + " updated");
entry.setValue(foo);
// Now update Bar
Object oStorage = ClassHelper.invoke(entry, "getStorage", null);
CacheService service = (CacheService) ClassHelper.invoke(oStorage, "getService", null);
DefaultConfigurableCacheFactory.Manager bmm =
(DefaultConfigurableCacheFactory.Manager) service.getBackingMapManager();
BackingMapManagerContext ctx = bmm.getContext();
Map mapBack = bmm.getBackingMap("bar");
// Assume that the key is still the same - "test"
Binary binKey = (Binary) ctx.getKeyToInternalConverter().convert(entry.getKey());
Binary binValue = (Binary) mapBack.get(binKey);
// convert value from internal and update
Bar bar = (Bar) ctx.getValueFromInternalConverter().convert(binValue);
bar.setBar(bar.getBar() + " updated");
// update backing map
binValue = (Binary) ctx.getValueToInternalConverter().convert(bar);
mapBack.put(binKey, binValue);
catch (Throwable oops)
throw ensureRuntimeException(oops);
return null;
public static void main(String[] asArg)
try
NamedCache cacheFoo = CacheFactory.getCache("foo");
NamedCache cacheBar = CacheFactory.getCache("bar");
Foo foo = new Foo();
foo.setFoo("initial foo");
cacheFoo.put("test", foo);
Bar bar = new Bar();
bar.setBar("initial bar");
cacheBar.put("test", bar);
System.out.println(cacheFoo.get("test"));
System.out.println(cacheBar.get("test"));
cacheFoo.invoke("test", new Main());
System.out.println(cacheFoo.get("test"));
System.out.println(cacheBar.get("test"));
catch (Throwable oops)
err(oops);
finally
CacheFactory.shutdown();
} -
Getting a java error when accessing the /nwa url
Hi.
We've recently updated our netweaver portal and application server from SPS19 to SPS21.
Now we receive an error message when try to open the url http://<server>/nwa. After entering the credentials we get
500 Internal Server Error
SAP J2EE Engine/7.00
Application error occurred during request processing.
Details: java.lang.NoSuchMethodError: com/sap/security/core/util/imp/LogonUtils.decryptURL(Ljava/lang/String;)Ljava/lang/String;
Exception id: [000D600ADD7B003400000283000D007A000484CF7CDC6E88]
Any suggestions?
Thanks.
Ralph.Hi.
The installation worked without any problems. No error messages during the update process.
The default trace gives
application [logon] Processing HTTP request to servlet [LogonServlet] finished with error. The error is: java.lang.NoSuchMethodError: com/sap/security/core/util/imp/LogonUtils.decryptURL(Ljava/lang/String;)Ljava/lang/String;
at com.sap.security.core.logonadmin.ServletAccessToLogic.sendRedirect(ServletAccessToLogic.java:242)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.doLogon(SAPMLogonLogic.java:916)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.uidPasswordLogon(SAPMLogonLogic.java:578)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:158)
at com.sap.security.core.sapmimp.logon.SAPMLogonServlet.doPost(SAPMLogonServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Any suggestions on this?
Thanks.
Ralph. -
Get 400 error when accessing the Source from MySite sharepoint 2013
we retrieving the recent news feed from my site .Sometimes we are getting 400 bad request error.we have used rest json method toretrieve the item from my site?any idea to resolve this issue?
I'm not very familiar with Tuxedo unfortunately.
I recommend that you post here:
Could not get TuxedoConnectionFactory, setting up AP's incorrectly?
You could also start with the code here:
Where to Download weblogic.wtc.jatmi Library/Package
And follow the instructions here:
http://download.oracle.com/docs/cd/E21764_01/web.1111/e13756.pdf -
Hi.
One of my users are having problem with old accounting files in Excel 2003 when opening Excel 2010.
The user experience that linked information is not being updated properly.
And suspects that it something do with Universal Data Connection .
How can an Excel 2003 spread sheet be converted to Excel 2010 spread sheet and still contain active links?
When the user is opening and converting the file as mention in your suggestion, on the common share on a common domain, the links "breaks".
we are not using SharePoint on our domain.
But when doing it on a local machine, the links does not "breaks".
Looking forward to get solved to this problem.
Thank you in advance.
Rgdsit sounds link, the links changed from relative paths to absolute path. You need to use absolute path in original file.
KR -
To access pdf files from application server using web.show_document
Hello!
If my pdf file is copied in Oracle_home/forms90/java directory.Then using web.show_document i can access the pdf file.But I can't copy all the pdf files in /forms90/java directory.We have lacs of pdf files which I want to keep in my own directory.But my requirement is if my pdf file is in /home2/docs directory in (Linux application server) ie in my own directory where I store all the pdf files.Then web.show_document does not open the pdf file.It says page cannot be displayed.For that I think we have to configure the directory /home2/docs directory as a webserver.From otn I got something like forms90.conf file in application server where we have to set virtual directory mapping etc.If the pdf is in local machine then in orion-web.xml file we have to mention real path and save the file and shutdown oc4j instance and restart it again.I tried it.But it is not working.Can u give me step by step instructions to solve this problem.I found a few links in discussion forum.But is doesn't work out.My pdf file is in /home2/docs directory in Linux application server.Please treat it as urgent.
Regards
JayashreeHi Sandeepmsandy,
There is no available code sample for this scenario. You may write your own.
Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
Step 2: Use some special classes to get file from serer.
HttpWebRequest can help download small pdf files. For more information to see
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
Getting Run-time error when using Client ADI with Office 2010
Hi,
We are unable to import journals from Client ADI when using Office 2010.
Please let me know how to resolve this issue.
Thanks,
PoojaDuplicate post -- Client ADI display A runtime error in Office 2010
Maybe you are looking for
-
I am trying to discover if I am eligible to TRY Adobe Illustrator. I have the monthly subscription for Photoshop. There are no problems with it just that I have been learning from sources that the images from Photoshop are raster not vector and I n
-
Adding Management Console After Solaris 10 Install
What packages must be installed to add Sun Managment Console to a base Solaris 10? I've added SUNWmccom (and the SUNWj3dev package it depends on); but, this does not install the Management Console's binary, /usr/sbin/smc. Thank you.
-
what code would i enter and were, to center the following video. here is the site page www.owendawsonpga.com ( towards the bottom of page) thank you owen <div id='mediaspace2'>This text will be replaced</div> <script type='text/javascript'>
-
Revision: 9892 Author: [email protected] Date: 2009-09-01 16:06:51 -0700 (Tue, 01 Sep 2009) Log Message: Panel skin changes per XD spec, and a few other Panel Skin bugs. Default Panel size changed to match spec. Panel titles are now single-li
-
Can't deactivate (stolen computer)
My work laptop was just stolen. On it was installed a copy of After Effects CS5. I still have the original boxed copy that was used to make the install on the missing machine. Now when I try to re-install AE on a new machine, I get a message saying I