Error while converting document to html

"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
I use the procedure to convert the documents if it is not already converted before using procedure as follows
PROCEDURE "STARDOC"."HTMLOUTPUT" (
"DOCID" IN NUMBER) IS
mklob clob;
doccount number;
errorcode number;
errormessage varchar2(200);
BEGIN -- executable part starts here
SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
--dbms_output.put_line(doccount);
if doccount=0 then
     dbms_output.put_line('Document Not Found: Converting '||docid);
     --If document is not found run document coversion routine
     ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
     INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
     COMMIT;
elsif doccount=1 then
     --return;
     dbms_output.put_line('Document Found');
     --if document id found then return the document content
     null;
else
     --dbms_output.put_line('Error occured');
     --need to deal with duplicate documents
     null;
end if;
dbms_lob.freetemporary(mklob);
EXCEPTION
--rollback when an exception occurs
     WHEN OTHERS THEN
          errorcode:=SQLCODE;
          errormessage:=SQLERRM;     
          dbms_output.put_line(sqlcode || ':' ||sqlerrm);
          ROLLBACK;
          LOGERROR(errorcode,errormessage);
END "HTMLOUTPUT";
i get the error when i convert large documents
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
Also if there are any converion errors while converting documents to html. how to find them is there a log o fany sort.
what is wrong. please help!
Message was edited by:
connect2sandeep

You free your temporary lob, but never create it.

Similar Messages

  • Error while opening document in FB03

    Hi,
        I have used archive link for attaching documents. I have attached a pdf file by using the transaction OAAD to an accounting document. In FB03 it is showing the the document name by following the path
    Environment>>Additional assignments>> object links.
    But while trying to open the file I am getting the below message.
    Error when opening document with HTML control;
    DP_ERROR_GENERAL
    Any help regarding  this will be appreciated.
    Regards,
    B P Singh

    For your problem,please see if the corrections indicated in SAP note 1502912 could help you out.
    Regards,
    Pradeepkumar Haragoldavar

  • Error while converting Image -to- PDF and then to PDF/A

    Hi,
    I'm trying to convert a Image format(JPEG,bmp,tiff) to PDF and then to PDF/A. I could able to convert Image to PDF successfully.
    I'm getting the below error while converting the PDF(that was generated) to PDF/A.
    Caused by: com.adobe.livecycle.output.exception.OutputException: Input Document is a already flat PDF Document
    at com.adobe.printSubmitter.PrintServer.transformPDF(PrintServer.java:307)
    at com.adobe.printSubmitter.service.OutputServiceImpl.transformPDFInTxn(OutputServiceImpl.ja va:518)
    at com.adobe.printSubmitter.service.OutputServiceImpl$4.doInTransaction(OutputServiceImpl.ja va:481)
    ... 106 more
    Error OCCURRED: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.
    Please give me the solution to convert PDF to PDF/A?

    I've just read a footnote in the API documentation which indicates that the transformPDF function cannot be used for this purpose:
    "GS_Enterprise said on Nov 24, 2007 at 12:03 PM :
    Please note that the parameter "inPdfDoc" for transformPDF assumes that the stream content is an XFA-based PDF, and that it's not an XFA-based PDF with a PDF background (also known as "XFA foreground"). In other words, this function does not convert any input PDF to PDF/A, but only those PDFs generated from an XFA template which does not include any static PDF content as a background."

  • Error while converting class file to exp and jca file

    error while converting *.class file to *.exp and *.jca file
    =====================================================================================================================
    linux-y60u:/home/admin/java_card_kit-2_2_1/samples/src # converter -exportpath "/home/admin/java_card_kit-2_2_1/lib/" com/sun/javacard/samples/HelloWorld 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b 1.0 -v -applet 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x01 Identity
    Java Card 2.2.1 Class File Converter, Version 1.3
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    parsing /home/admin/java_card_kit-2_2_1/samples/src/com/sun/javacard/samples/HelloWorld/HelloWorld.class
    parsing /home/admin/java_card_kit-2_2_1/samples/src/com/sun/javacard/samples/HelloWorld/Identity.class
    error: com.sun.javacard.samples.HelloWorld.HelloWorld: unsupported class file format of version 50.0.
    error: com.sun.javacard.samples.HelloWorld.Identity: unsupported class file format of version 50.0.
    conversion completed with 2 errors and 0 warnings.
    =====================================================================================================================

    i compile a file javacard use this command:
    ===
    javac -source 1.3 -target 1.1 -g -classpath ./classes:../lib/api.jar:../lib/installer.jar src/com/sun/javacard/samples/Identity/Identity.java
    ===
    and try to convert this class use this command
    ===
    /home/xnuxerx/admin/java_card_kit-2_2_1/bin/converter -exportpath "/home/xnuxerx/admin/java_card_kit-2_2_1/lib/" com/sun/javacard/samples/Identity 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b 1.0 -v -applet 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x01 Identity
    ===
    result convert:
    ===
    Java Card 2.2.1 Class File Converter, Version 1.3
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    parsing /home/xnuxerx/admin/java_card_kit-2_2_1/samples/classes/com/sun/javacard/samples/Identity/Identity.class
    converting com.sun.javacard.samples.Identity.Identity
    error: export file framework.exp of package javacard.framework not found.
    conversion completed with 1 errors and 0 warnings.
    ===
    why ??
    please your comment for this problem.
    thank 4 all.

  • Error while converting jad and jar to alx and cod files

    hi all,
    i am getting an error while converting jad and jar files into cod and alx files for balckberry.. here is the error i am getting.. can anyone help me this regard...
    Parsing classfile: txtCanvas.class
    I/O Error: Import file not found: d:\Research In Motion\BlackBerry JDE4.6.0\lib\
    net_rim_api.jar
    thanks in advacne
    pallavi

    thank you very much for your responses. can i send my cod and alx files to check. if you are interested only.
    here is the command which i used to convert my jad and jar files
    D:\Research In Motion\BlackBerry JDE 4.6.0\bin>rapc import="d:\Research In Motio
    n\BlackBerry JDE 4.6.0\lib\net_rim_api.jar" codename=MoBilalMIDlet -midlet jad=M
    oBilalEnglish.jad MoBilalEnglish.jar

  • Error while uploading document in Primavera portfolio management

    Dear All,
    I am getting error while uploading document with particular user in PPM
    Error occur when I upload document and click on save button.
    Error from log :
    &ltException&gt
    System.InvalidCastException: Specified cast is not valid.
       at ProSight.Portfolios.Infrastructure.Database.IpsDataRow.getInt(DataColumn iColumn)
       at ProSight.Portfolios.BusinessLogic.Infrastructure.Objects.psLinkObj.addNew(Int32 iUserID, Int32 iPortfolioID, Boolean isPortfolioLink, IpsDataTable iLinkRec)
       at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenario.psTSTabset.update(Int32 iUserID, Int32 iFormsetID, Int32 iPortfolioID, Boolean iIsImmediate, psResultContainer iParam)
    &lt/Exception&gt
    </Trace>
    <Trace Type="Error" Time="1/31/2015 1:44:36.758" class="psTransactionalScenarioInterface" Method="handleException" Process="w3wp.exe (4236)" Client="">
    Error in psTSFormset.update
    &ltException&gt
    System.InvalidCastException: Specified cast is not valid.
       at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean, Boolean iDisableTransaction)
    &lt/Exception&gt
    </Trace>
    <Trace Type="Error" Time="1/31/2015 1:44:36.758" class="Transaction" Method="handleException" Process="w3wp.exe (4236)" Client="">
    Unhandled Error GUID: a3640801-43cb-48d4-89b4-cede50780e47 \"File name: /Prosight/forms/saveForm.aspx\\nStack trace:    at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.handleException(Exception iEx, String iAddionalMsg)\\r\\n   at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean, Boolean iDisableTransaction)\\r\\n   at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean)\\r\\n   at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTSITabset.update(Int32 iUserID, Int32 iDashboardID, Int32 iPortfolioID, Boolean iIsImmediate, psResultContainer iParam)\\r\\n   at ProSight.Portfolios.Server.Presentation.Logic.Forms.psPLForms.update(psResultContainer iResultContainer)\\r\\n   at invoker137.Invoke(Object , Object[] )\\r\\n   at Microsoft.JScript.JSMethodInfo.Invoke(Object obj, BindingFlags options, Binder binder, Object[] parameters, CultureInfo culture)\\r\\n   at Microsoft.JScript.LateBinding.CallOneOfTheMembers(MemberInfo[] members, Object[] arguments, Boolean construct, Object thisob, Binder binder, CultureInfo culture, String[] namedParameters, VsaEngine engine, Boolean& memberCalled)\\r\\n   at Microsoft.JScript.LateBinding.Call(Binder binder, Object[] arguments, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters, Boolean construct, Boolean brackets, VsaEngine engine)\\r\\n   at Microsoft.JScript.LateBinding.Call(Object[] arguments, Boolean construct, Boolean brackets, VsaEngine engine)\\r\\n   at ASP.forms_saveform_aspx.main()\\nError code: -1\\nError Reason: Specified cast is not valid.\\n\\n\", \"/ProSight\"
    </Trace>
    <Trace Type="Error" Time="1/31/2015 1:44:47.584" class="psException" Method="printException" Process="w3wp.exe (4236)" Client="">
    Could not update form data
    USERID: 422
    DEADLOCK DETECTED: False
    Kindly help.

    Hi,
    chk ur authorizaion errors... su53 dump.
    Thx,
    waseem

  • Error while uploading document to service desk ticket

    Hi all,
    I get error while uploading document to ticket
    Message No: SKWF_SDOKERRS119 .
    If iam correct I have given all the required authorisation mentioned in security guide.
    what could be the reason for this kind of behaviour
    Best Regards,
    Alok

    hi
    what is your solman version? chk the sap note
    [ Note 1401196 - Work Centers: attachment not saved in Incident Management|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1401196]
    might be this helps,
    [Message No: SKWF_SDOKERRS119|Message No: SKWF_SDOKERRS119]
    jansi

  • Error while billing document releasing to accounting.

    Hi Experts,
    Please give me possible reasons for below error while billing document releasing to accounting.
    "Valuation with material cost estimate: error with product "500258045"
    Message no. KE350
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to valuate a line item using the current standard cost estimate.
    In order to determine the current plan period, the system needs to read the valuation segment of the material master.
    The system has found that the current plan period is not filled forproduct "BDE98561002" in plant "9856".
    Display material (View: Costing)
    The system looked for the material cost estimate using costing key "ZK1", as defined in the Customizing settings for CO-PA.
    System Response
    The document cannot be processed.
    Procedure
    Contact your system administrator".
    I have checked CKR1 transaction there were no cost estimates with KF costing status.
    NOTE: Material Ledger Activated.
    Please suggest the possible reasons and what to check?
    Regards
    Chandra.

    Check the cost estimate that is mentioned against the Costing key ZK1 whether it exists in the system and as you are saying there seems to be no cost estimate for the said material.
    Hence release the std cost estimate for the said materia using CK11n or CK40n

  • 'error while signing document'

    i got this error ('error while signing document') on my 1st attempt to use the service. simple 4 page PDF, no doc. security, same error both b4 & after i edited my user profile (i filled in the missing details & changed the default signature image).
    cheers,

    Hi,
    I am also getting this error while attempting  to sign a document. I have checked the first and name fields in my  default signature profile for any non-English characters but I am still  getting this error. I have also tested with a different signature  profile with same results. Please advise if there are
    other fields I need to check.
    Thanks.

  • Error while loading document when user executes IW32

    we have brand new laptops and desktops installed SAP GUI 6.40 patch level 27 and microsoft office 2003.when the user tries to execute IW32 and click on the long text button.when we try to change the editor it is giving ERROR WHILE LOADING DOCUMENT
    ERROR WHILE LOADING DOCUMENT
    message no .sofficeintegration142
    DIAGNOSIS
    An internal error occured in the SAP Document  Container Control while loading  a document
    PROCEDURE
    If the error recurs,enter a problem message.There are notes relating to how to create the log file using the report SAPROFFICEINTEGRATIONTRACE1

    Hi Rajanarenderreddy,
    Were you able to resolve your problem?
    If so how? We have a customer that is experiencing the same problem.
    Thank you for your feedback.
    Br,
    Tom.

  • Error  While Genrating Document  in ADOB Form

    Hello Everybody ,
    When  I used  SFP  tcode  for  Design  ADOB  Form  Layout   I am getting  Error   "   Error While Generating Document  "  .
    Plz Sugget me  how to resolved it   ...
    Regards,
    Sandeep Jadhav

    Hi,
    You need additional License to create SAP Interactive Forms by Adobe
    Check the SAP Note No.  750784
    If you already have got the License then please check the below link and see if it helps you.
    http://help.sap.com/saphelp_nw70/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm
    Let us know if this information is useful to you.
    with regards,
    Parin Hariyani

  • Error while Posting Document in FBV0

    Hi Guys,
    Iam getting following error while Posting Document in FBV0 which is already parked and it is with tax code.
    Error: "No batch input data for screen SAPMF05A 0700"   
    Kindly suggest
    Thanx and Regards
    Munender

    Also have a look at the following notes:-
    =>  Note 26050 - FIPP:Posting not poss. (SAPMF05A,0700,batch input)
    =>  Note 800177 - FB01: No batch input data for SAPMF05A 0700
    thanks
    G. Lakshmipathi

  • Error while converting schema from oracle to SQL server

    Hello,
    I am getting following error while converting schema from oracle to SQL server using SSMA.
    I get Errors 1-3 while migrating procedures and error 4 while migrating a table.
    1- O2SS0050: Conversion of identifier 'SYSDATE' is not supported.
    2- O2SS0050: Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.
    3- O2SS0050: Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported.
    4- O2SS0486: <Primary key name> constraint is disabled in Oracle and cannot be converted because SQL Server does not support disabling of primary or unique constraint.
    Please suggest.
    Thanks.

    The exact statement in oracle side which causing this error (O2SS0050:
    Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
    dStartDate:= to_date(sStartDate,'MON-YYYY');
    Statement causing error O2SS0050:
    Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
    nCount2:= length(regexp_replace(sDataRow,'[^,]'));
    So there is no statement which is using to_date(VARCHAR2,
    CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY'  and '[^,]'
    are CHAR values hence SSMA is unable to convert it from varchar2 to char.
    Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
    dDate date := sysdate;
    Thanks.

  • Error while converting Ship-to-party to Sold-to-party

    Hi,
    I need to covert a Ship-to-party to Sold-to-party using transaction XD07. While converting the above i m getting the following error
    The planned change is not allowed as the following field
    groups would be masked by the new account group
    Group                                  Modif group 1
    V D315  Shipping                       017 Order combination
    When i checked the difference between account groups Sold-to and Ship-to, it was the Order combination field in Shipping tab which was suppressed in Sold-to party and an optional entry in Ship-to-party. because of which i was getting the error while converting a ship-to party to sold to party.
    Please help me in transforming the Ship-to-party to Sold-to-party without changing the account groups in OBD2.
    Thank you,
    Arun.S

    Hi
    I am not able to convert any partner functions. the system displays the below error for all combinations (SP --> SH, SP --> PY, SH --> SP etc). Below is the error message i got whe i tried to change SP to SH.
    The planned change is not allowed as the following field
    groups would be masked by the new account group
    Group                                  Modif group 1
    A D120  Control                        017 Vendor
                                           018 Corporate group
                                           023 Industry
                                           029 Authorization
                                           036 Trading partner
    A D130  Payment transactions           030 Bank details
                                           032 Alternative payer account
    F D215  Payment transactions           010 Payment methods
                                           011 Alternative payer account
    Is there any way to avoid this error and go ahead with the conversion.
    Thank you,
    Arun.S

  • WS And Web Dynpro: Error while processing document security

    Hi all,
    We have a problem when use Web Services (stateless session bean) in Web Dynpro.
    When two users calls  the same web dynpro in the same time we have this error:
    Errore in: it.sap.mdm.pdcmodelcomponent.wdp.InternalLookUpModelController getLookUpTable: 
      Class___: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException  Additional Info:
      Message_: Exception on execution of web service on destination 'FS_MDM_PDC' for operation 'getLookupTable' in interface 'ZMDM_FS_PDCVi_Document'
      Causa__:
    Error while processing document security. The error was class com.sap.engine.frame.core.configuration.ConfigurationException Configuration webservices/proxies/sap.com/ mapping is not valid - configuration is closed.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: Error while processing document security. The error was class com.sap.engine.frame.core.configuration.ConfigurationException Configuration webservices/proxies/sap.com/ mapping is not valid - configuration is closed.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].
    If I call the same web dynpro ,without other user, it's ok.
    Where is the problem?
    I have to congigure some parameter in J2ee???

    Hi
    Use this pdf to implement Mutual Exclusion
    http://java.sun.com/developer/Books/performance2/chap3.pdf
    http://navet.ics.hawaii.edu/~casanova/courses/ics432_fall08/slides/ics432_jmonitors.ppt#313,10,Synchronizing on Multiple Objects
    thanks

Maybe you are looking for

  • Install JDK 1.5.0.08 on SUSE 10.1

    HELP! I ran the installer in bash and it said it completed successfully; however, when I type: java -version I still get the following: java version "1.4.2" gij (GNU libgcj) version 4.1.0 (SUSE Linux) Copyright (C) 2006 Free Software Foundation, Inc.

  • & in insert statement

    Hi, i've an insert into table(address) values (address) statement my problem is in the adress values. i've an entry of & which the oracle treats it as a parameter. when i'm running this in sql plus how could i solve this because it prompts me everyti

  • IMovie refuses to load.

    It seems that whenever I try to open iMovie, the GUI refuses to load. I can see iMovie up in my tool bar and according to the computer, its running just fine. It might be just coincidence, but this happened right after I downloaded a software update.

  • Logoff Link go to 2 different URLs

    Hi Portal Knowledgeable Ones, I am running EP 6.0 SP13.  For portal authentication, we use IBM's IDM infrastructure. Our portal is used by internal users (intranet) and external users (internet).  For internal users, portal authentication is performe

  • Select Aggregate

    Hi, recently we got a report running extremely slowly, around 30 minutes. I used rsrt and checked the "Select Aggregate" check box. And the next screen shows all the existing aggregates, but all of them have the check box greyed out. The last column,