Internal Error (-5002) occurred

Hi,
I got the error : Internal Error (-5002) occurred when adding a new A/R invoice
I would like so much to know what exactly causes the error.
Is there any way to pin point what is it ?
Or I'm stuck alone with this not so friendly message ?
I've eliminated everything suspected to be a problem.
There's a lot of user defined field.  Is there something I should know about them ?
Is there any trick to find out where the problem is ?
The code is working for SBODemo_US but when I try with the Customer's database which is BIG and have a lot of UDF, I got this.
Since its INTERNAL ERROR, I don't really know where the problem can be !
Thx you for your helps

This was due to setting the ExpensesCode when no expenses existed
I had to eliminate possible problem line by line.  A pain in the you know what...

Similar Messages

  • "Internal error (-5002) occurred" On Pick List Update Picked Quantity

    Hi Experts,
    I have an SDK program that simply tries to update the Picked Quantity in SAP. Previously it has been working fine, until I try to use the same logic for items managed by Batch or Serial Number.
    In this scenario, I have created a PickList with only 1 row, the item is managed by Serial Number.
    I try to simplify the code as below.
    Dim oBaseDocument As SAPbobsCOM.PickLists
    oBaseDocument = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
    BaseDocument.GetByKey(12345)
    oBaseDocument.Lines.SetCurrentLine(0)
    oBaseDocument.Lines.PickedQuantity += 1
    oBaseDocument.Lines.BinAllocations.Add()
    oBaseDocument.Lines.BinAllocations.SetCurrentLine(0)
    oBaseDocument.Lines.BinAllocations.BinAbsEntry = CInt(sBinAbsEntry)
    oBaseDocument.Lines.BinAllocations.Quantity += dXML_Quantity
    oBaseDocument.Lines.SerialNumbers.InternalSerialNumber = sXML_BatchSerialNo      ' <--- ***
    lRet = oBaseDocument.Update
    I have added the *** line for handling the Serial Number, but when it hit the Update command, the SDK returns "Internal error (-5002) occurred".
    I'm not sure what does it means.
    Anyway I tried to remove the *** line and it works fine for item not managed by Batch or Serial, but the issue will remains for the Items managed by Serial or Batch.
    Please advise whether I missed anything in this code.
    Thank you in advance.
    Best Regards,
    Krisma

    Hi Krisma,
    I haven't done this thing practically but error -5002 will occur, if there is any Invalid Object.
    You can check it accordingly.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • Why do I get "Internal Error (-5002) occurred" when doing external recon via SDK ?

    I can reconcile an invoice and matching incoming payment as below:
    Table OJDT is:
    BatchNum
    TransId
    BtfStatus
    TransType
    BaseRef
    RefDate
    Memo
    Ref1
    Ref2
    CreatedBy
    LocTotal
    FcTotal
    SysTotal
    TransCode
    OrignCurr
    TransRate
    BtfLine
    TransCurr
    Project
    DueDate
    TaxDate
    PCAddition
    FinncPriod
    DataSource
    UpdateDate
    CreateDate
    UserSign
    UserSign2
    RefndRprt
    LogInstanc
    ObjType
    Indicator
    AdjTran
    RevSource
    StornoDate
    StornoToTr
    AutoStorno
    Corisptivi
    VatDate
    StampTax
    Series
    Number
    AutoVAT
    DocSeries
    FolioPref
    FolioNum
    CreateTime
    BlockDunn
    ReportEU
    Report347
    Printed
    DocType
    AttNum
    GenRegNo
    RG23APart2
    RG23CPart2
    MatType
    Creator
    Approver
    Location
    SeqCode
    Serial
    SeriesStr
    SubStr
    AutoWT
    WTSum
    WTSumSC
    WTSumFC
    WTApplied
    WTAppliedS
    WTAppliedF
    BaseAmnt
    BaseAmntSC
    BaseAmntFC
    BaseVtAt
    BaseVtAtSC
    BaseVtAtFC
    VersionNum
    BaseTrans
    ResidenNum
    OperatCode
    Ref3
    SSIExmpt
    SignMsg
    SignDigest
    CertifNum
    KeyVersion
    CUP
    CIG
    SupplCode
    SPSrcType
    SPSrcID
    SPSrcDLN
    DeferedTax
    AgrNo
    SeqNum
    ECDPosTyp
    RptPeriod
    RptMonth
    U_BType
    U_CLIST
    NULL
    3285
    O
    13
    1328
    2014-08-10 00:00:00.000
    A/R Invoices - AFR100
    1328
    1328
    900.000000
    900.000000
    900.000000
    NULL
    NULL
    0.000000
    NULL
    USD
    NULL
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    N
    104
    I
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    1
    1
    N
    0
    30
    NULL
    N
    N
    NULL
    NULL
    N
    N
    NULL
    N
    17
    3285
    N
    4
    NULL
    NULL
    944
    N
    N
    N
    N
    NULL
    0
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    9.02.003.11
    NULL
    1
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    3286
    O
    24
    1375
    2014-08-10 00:00:00.000
    Incoming Payments - AFR100
    1375
    1375
    900.000000
    900.000000
    900.000000
    NULL
    NULL
    0.000000
    NULL
    USD
    NULL
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    N
    104
    I
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    1
    1
    N
    0
    30
    NULL
    N
    N
    NULL
    NULL
    N
    N
    NULL
    N
    17
    3286
    N
    15
    NULL
    NULL
    945
    N
    N
    N
    N
    NULL
    0
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    9.02.003.11
    NULL
    1
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    Table JDT1:
    TransId
    Line_ID
    Account
    Debit
    Credit
    SYSCred
    SYSDeb
    FCDebit
    FCCredit
    FCCurrency
    DueDate
    SourceID
    SourceLine
    ShortName
    IntrnMatch
    ExtrMatch
    ContraAct
    LineMemo
    Ref3Line
    TransType
    RefDate
    Ref2Date
    Ref1
    Ref2
    CreatedBy
    BaseRef
    Project
    TransCode
    ProfitCode
    TaxDate
    SystemRate
    MthDate
    ToMthSum
    UserSign
    BatchNum
    FinncPriod
    RelTransId
    RelLineID
    RelType
    LogInstanc
    VatGroup
    BaseSum
    VatRate
    Indicator
    AdjTran
    RevSource
    ObjType
    VatDate
    PaymentRef
    SYSBaseSum
    MultMatch
    VatLine
    VatAmount
    SYSVatSum
    Closed
    GrossValue
    CheckAbs
    LineType
    DebCred
    SequenceNr
    StornoAcc
    BalDueDeb
    BalDueCred
    BalFcDeb
    BalFcCred
    BalScDeb
    BalScCred
    IsNet
    DunWizBlck
    DunnLevel
    DunDate
    TaxType
    TaxPostAcc
    StaCode
    StaType
    TaxCode
    ValidFrom
    GrossValFc
    LvlUpdDate
    OcrCode2
    OcrCode3
    OcrCode4
    OcrCode5
    MIEntry
    MIVEntry
    ClsInTP
    CenVatCom
    MatType
    PstngType
    ValidFrom2
    ValidFrom3
    ValidFrom4
    ValidFrom5
    Location
    WTaxCode
    EquVatRate
    EquVatSum
    SYSEquSum
    TotalVat
    SYSTVat
    WTLiable
    WTLine
    WTApplied
    WTAppliedS
    WTAppliedF
    WTSum
    WTSumFC
    WTSumSC
    PayBlock
    PayBlckRef
    LicTradNum
    InterimTyp
    DprId
    MatchRef
    Ordered
    CUP
    CIG
    BPLId
    BPLName
    VatRegNum
    SLEDGERF
    U_CLIST
    3285
    0
    100200200100000
    900.000000
    0.000000
    0.000000
    900.000000
    900.000000
    0.000000
    USD
    2014-08-10 00:00:00.000
    1328
    1
    AFR100
    0
    0
    400100100300000
    A/R Invoices - AFR100
    1
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    D
    0
    NULL
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    1
    200100200900000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    USD
    2014-08-10 00:00:00.000
    1328
    -2
    200100200900000
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    X0
    900.000000
    0.000000
    N
    N
    30
    NULL
    900.000000
    0
    Y
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    C
    0
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    2
    400100100300000
    0.000000
    900.000000
    900.000000
    0.000000
    0.000000
    900.000000
    USD
    2014-08-10 00:00:00.000
    NULL
    NULL
    400100100300000
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    C
    0
    NULL
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    3
    100200100100200
    0.000000
    891.710000
    891.710000
    0.000000
    0.000000
    891.710000
    USD
    2014-08-10 00:00:00.000
    NULL
    NULL
    100200100100200
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    C
    0
    NULL
    0.000000
    891.710000
    0.000000
    891.710000
    0.000000
    891.710000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    4
    500100100700000
    891.710000
    0.000000
    0.000000
    891.710000
    891.710000
    0.000000
    USD
    2014-08-10 00:00:00.000
    NULL
    NULL
    500100100700000
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    D
    0
    NULL
    891.710000
    0.000000
    891.710000
    0.000000
    891.710000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3286
    0
    100200500100500
    900.000000
    0.000000
    0.000000
    900.000000
    900.000000
    0.000000
    USD
    2014-08-10 00:00:00.000
    1375
    -1
    100200500100500
    0
    0
    AFR100
    Incoming Payments - AFR100
    NULL
    24
    2014-08-10 00:00:00.000
    NULL
    1375
    1375
    1375
    NULL
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    NULL
    N
    N
    30
    NULL
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    0
    D
    0
    NULL
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    NULL
    NULL
    NULL
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3286
    1
    100200200100000
    0.000000
    900.000000
    900.000000
    0.000000
    0.000000
    900.000000
    USD
    2014-08-10 00:00:00.000
    NULL
    -99
    AFR100
    0
    0
    100200500100500
    Incoming Payments - AFR100
    1375
    24
    2014-08-10 00:00:00.000
    NULL
    1375
    1375
    1375
    NULL
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    NULL
    N
    N
    30
    NULL
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    0
    C
    0
    NULL
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    NULL
    NULL
    NULL
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    But when I try the same in SDK/DI (oCmpSrv previously set),  I get "Internal Error (-5002) occurred":
            Try
                Dim ExtReconSvc As SAPbobsCOM.ExternalReconciliationsService = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.ExternalReconciliationsService)
                Dim ExtReconciliation As SAPbobsCOM.ExternalReconciliation = ExtReconSvc.GetDataInterface(SAPbobsCOM.ExternalReconciliationsServiceDataInterfaces.ersExternalReconciliation)
                ExtReconciliation.ReconciliationAccountType = SAPbobsCOM.ReconciliationAccountTypeEnum.rat_BusinessPartner
                Dim jeLine1 As SAPbobsCOM.ReconciliationJournalEntryLine = ExtReconciliation.ReconciliationJournalEntryLines.Add()
                jeLine1.TransactionNumber = "3285"
                jeLine1.LineNumber = 0
                Dim jeLine2 As SAPbobsCOM.ReconciliationJournalEntryLine = ExtReconciliation.ReconciliationJournalEntryLines.Add()
                jeLine2.TransactionNumber = "3286"
                jeLine2.LineNumber = 1
                ExtReconSvc.Reconcile(ExtReconciliation)
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
    I do not understand what I am doing wrong and I have no idea what this error means.
    Thanks in advance for your help.

    Sorry Images were very poor in original post.

  • Internal error (-5002) occured during sap B1 version updation

    Dear Experts
    Internal error (-5002) occured during sap B1 version updation from SAP B1 2007B to SAP B1 8.8
    Please help
    S K Jana

    Hello
    You may take a look into the upgrade log file:
    C:Program FilesSAPSAP Business OneLog directory,
    filename should be
    B1UpgradePid[xxxx]_[YYYMMHH.....].txt
    You can find information inside !
    If the upgrade failed, please check this file, look for notes, or report the issue to GSC.
    Regards
    János

  • Copy Express Fails with "Internal Error (-5002) Occurred"

    Hello experts:
    I have SAP B1 Version 8.8, PL16.
    I have two users I want to add from the old database to the new database.  It works fine for one and the second one has a failure with the above error statement.  I cannot figure out why the two users are creating different results.  All I am doing is adding two users...
    EDIT:  I did see that the successful user which was brought over is a Superuser and the other one was not - the only difference between them...
    Of course I have searched the forum and -5002 seems to have to do with DTW, ,but nothing on Copy Express...anyone know why this is happening???
    What great error messages we have - they make so much sense!!!
    Many Thanks in Advance and Regards - Zal
    Edited by: Zal Parchem on Mar 25, 2011 5:04 PM

    Hello Julie...thanks for doing that.  I did the exact same thing and it just ended up "wasting" away with no response from SAP.  They could not figure out themselves...and they moved the priority down to "low" (which is the kiss of death in any inquiry)...
    So, I think it ends up as this whole conversation has already centered around - namely, error messages and absolutely no explanation as to what those error messages mean.  LOL - like I could have ever gotten away with this while I was in development: throw out an error message and not give any of the Users exactly what the error messages mean or what they need to do to resolve the situation!!!  Sloppy, sloppy, sloppy is the bottom line...
    I have used Copy Express since this and have had similar experiences with error messages - it just gets down to "do as much as you can with Copy Express and then manually enter the information" - what a waste of time, especially when you consider this could be such a great tool with the proliferation of integrated systems!!!
    Gook luck finding out and hopefully something comes of it...
    Regards - Zal

  • "Internal Error -5002" every order

    On every order submitted from web tools, either thru the administrative screen or by the customer, is giving this error:
    -5002:Internal error (-5002) occurred
       at NetPoint.SynchSBO.SBOObjects.SBODocument.NP_2_SBO(Documents& document, NPOrder order)
       at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBO(NPQueueObject qData)
       at NetPoint.SynchSBO.SynchObjectBase.Synch()
    I searched the forums to see if that error number was asked previously, didn't find any posts about this specific error.  The error only gives that number and doesn't say anything about what could cause it, so I don't have any leads to go off of   Every order gets this sync error; the sync error repeats each time sync runs.
    Any suggestions?

    Hi Jason
    Something with the forum search makes it so that searching for "-5002" returns nothing while searching for "5002" returns this
    [https://forums.sdn.sap.com/search.jspa?threadID=&q=5002&objID=f252&dateRange=all&numResults=15&rankBy=10001|https://forums.sdn.sap.com/search.jspa?threadID=&q=5002&objID=f252&dateRange=all&numResults=15&rankBy=10001]

  • [ODLN.Series] , 'Internal error (-2038) occurred'

    Dear experts,
    I have the following error "[ODLN.Series] , 'Internal error (-2038) occurred'" that occurs from time to time when I try to add a delivery based on a sales order with the DI API.
    has any body else ever had the same error before ?
    in the help the code number 2038 means a Data Source - Record Lock
    I added a code that adds the delivery onther time each time this error occurs
    what can i do to solve this issue ?
    Best Regards
    Abderrahim,

    Dear Vieira ,
    thank you for your respone
    I don't think i can catch an inner exeception it's an error that I catch by the  oCompany.GetLastError(ierr, serr) ,how can i get more details of the 2038 error?
    just one remark the deliveries are created very well,I think the errors occurs when there a lot of deliveries to create
    this the code that adds de Delivery
    Dim DocEntry As Integer
            Dim iPickID As Integer
            DocEntry = GetOrderEntry(H_So.order_no)
            iPickID = H_So.order_no.Substring(9, 6)
            Dim bGetOrder As Boolean = oOrder.GetByKey(DocEntry)
            oBP.GetByKey(oOrder.CardCode)
            oDelivery.CardCode = oOrder.CardCode
            oDelivery.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
            oDelivery.ImportFileNum = oOrder.ImportFileNum
             'Add lines into Delivery
             Dim bIsFirstLine As Boolean = True
            Dim iQtyConfirmed As Integer = 0
            For Each L_So As L_Conf_NYK In L_SoArray
                iQtyConfirmed += L_So.pkd_qty
                If bIsFirstLine = False Then
                    oDelivery.Lines.Add()
                Else
                    bIsFirstLine = False
                End If
                Dim VisOrder As Integer = Me.GetVisOrderLine(oOrder, CInt(L_So.line_no))
                oOrder.Lines.SetCurrentLine(VisOrder)
                Dim ItemCode As String = GetItemCode(L_So.product_no)
                Dim oPLQuantity As Integer = GetPLQuantity(oOrder)
                oDelivery.Lines.BaseEntry = oOrder.DocEntry
                oDelivery.Lines.ItemCode = ItemCode
                oDelivery.Lines.BaseLine = CInt(L_So.line_no)
                oDelivery.Lines.BaseType = 17
                oDelivery.Lines.Quantity = CDbl(L_So.pkd_qty)
            Next
            'Set expenses to the Delivrey
            Dim bIsFirstLoop As Boolean = True
            Dim i As Integer = 0
            Dim TotalFreightOnOrder As Double = 0
            While i < oOrder.Expenses.Count
                oOrder.Expenses.SetCurrentLine(i)
                TotalFreightOnOrder += oOrder.Expenses.LineTotal
                i += 1
            End While
            i = 0
            If TotalFreightOnOrder > 0 And iQtyConfirmed > 0 Then
                Do
                    If bIsFirstLoop = True Then
                        bIsFirstLoop = False
                    Else
                        oDelivery.Expenses.Add()
                    End If
                    oOrder.Expenses.SetCurrentLine(i)
                    oDelivery.Expenses.ExpenseCode = oOrder.Expenses.ExpenseCode
                    If oOrder.Expenses.LineTotalFC = 0 Then
                        oDelivery.Expenses.LineTotal = oOrder.Expenses.LineTotal
                    Else
                        oDelivery.Expenses.LineTotal = oOrder.Expenses.LineTotalFC
                    End If
                    oDelivery.Expenses.TaxCode = oOrder.Expenses.TaxCode
                    oDelivery.Expenses.BaseDocEntry = oOrder.DocEntry
                    oDelivery.Expenses.BaseDocLine = oOrder.Expenses.LineNum
                    oDelivery.Expenses.BaseDocType = oOrder.DocObjectCode
                    i += 1
                Loop While i < oOrder.Expenses.Count
            End If
            Threading.Thread.Sleep(1000)
            Dim iAddition As Integer = 0
            Dim ierr As Integer
            'i try to create a delivery each time the error 5002 and 2038 errors occurs
            Do
                ierr = oDelivery.Add
                If ierr <> 0 Then
                    ErrFlag = False
                   Threading.Thread.Sleep(1000)
                    iAddition += 1
                End If
            Loop While (Math.Abs(ierr) = 5002 Or Math.Abs(ierr) = 2038) And iAddition <= 5
             If ierr <> 0 Then
                ErrFlag = False
                Dim serr As String = ""
                oCompany.GetLastError(ierr, serr)
                Throw New Exception(serr & ". Delivery for order number " & oOrder.DocNum & " in the pick list number " & iPickID & " cannot be created.")
            End If
    Best regards
    Abderrahim
    Edited by: Boukhris Abderrahim on Mar 13, 2009 1:24 PM

  • I just installed Lightroom CC. When I try to open it, I get an error message: "An internal error has occurred.  Cannot create the required folder: ..."

    I just installed Lightroom CC. When I try to open it, I get an error message: "An internal error has occurred.  Cannot create the required folder: ..."

    Cannot create the required folder

  • When I try to import, I receive the following message: "An internal error has occurred: not enough memory".  I always download my photos onto an external hard drive.

    Yesterday,I downloaded an update for Lightroom 5.  Now when I try to import, I receive the following message: "An internal error has occurred: not enough memory".  The message comes up right after I click import, before I choose a file to upload.Here is the information I can think of that might be needed to answer this question:
    - I always download my photos onto an external hard drive.It is about 10 % full.
    - It says I have Lightroom 5.6  64 bit
    - I am working from a newer laptop (Windows).  The internal drive on the laptop has 289 gb and I am using 61 gb total memory.
    - I have edited 2794 photos in Lightroom and it is all in one catalog.
    - I did not have this problem until I made the update.  I did have my first "bug" earlier this week when one of my photos had a line show up through the middle of it when I exported it. I was able to export it a second time without the line.
    If there is more info. needed, let me know.  I do photography as a hobby and know enough about Lightroom to edit out blemishes and adjust color balance, but not too much more, so forgive my ignorance if this is an obvious fix.
    Sincerely,
    Adrianne

    Not Enough Memory typically refers to RAM.  How much RAM do you have on your 64-bit OS computer?  Do you have other programs running that may be using most of the memory?

  • An internal Error has occurred.if this persists,please contact your Discove

    Hi,
    I am facing Error in opening a Report in Discoverer Plus :"An internal Error has occurred.if this persists,please contact your Discoverer Manager".I am opening all the other reports its opening up but only this one causing up this pop up error.
    Kindly help me as its very urgent.
    Any help will be needful for me
    Thanks and Regards

    Have you installed AppController on the same machine with VMM?

  • 'Abnormal program termination.An internal error has occured.'

    Hi all... i have a problem when i'm in the middle of infra installation (74%) and then this popup message appears and stop my installation 'Abnormal program termination. An internal error has occured. Pls provide the following files to Oracle support:
    "/oraias/oraInventory/logs/installActions2010-08-18_11-03-52AM.log"
    "/oraias/oraInventory/logs/installActions2010-08-18_11-03-52AM.err"
    "/oraias/oraInventory/logs/installActions2010-08-18_11-03-52AM.out"
    i have tried several ways and many times to reinstall, to solve this error but still the result is still failed. i've tried to follow metalink suggestion by Edit the PATH, CLASSPATH, and LD_LIBRARY_PATH environment variables so that they do not reference any Oracle home directories, try to transfer again the software installation to directory server and extract from cpio files(i thought maybe the software might be corrupted) but the result is still same, stuck at the same place..! if any of you have experienced this before or have any idea on which setup do i have to look again, pls reply me ya. pls help and your help is very much appreciated.thanks in advanced.

    Hi, welcome to the forums!
    Have you already added the new node to Clusterware?. Have you followed all the steps detailed on the documentation?
    The note *How to Add Node/Instance or Remove Node/Instance in 10gR2, 11gR1 and 11gR2 Oracle Clusterware and RAC [ID 1332451.1]* is a must read, which points to the public documentation.
    If you already did that previous steps, you can enable a more detailed logging for the addnode execution with the parameters "-debug -logLevel finest", and setting this variables before running it again:
    export SRVM_TRACE=true
    export SRVM_TACE_LEVEL=2Regards.

  • Getting an error while configuring VMM for System Center 2012. error - An internal error has occurred trying to contact an agent on the WIN-NTJU8CNU server: : . Ensure the agent is installed and running.

    Hi,
    I am trying to install "System Center 2012 - Virtual Machine Manager by Using a Pre-Configured VHD".
    I downloaded install guide & the binaries from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10712
    I have followed the installation document & getting an error while configuring VMM for System Center 2012.
    error details from log file given below:
    01:12:24:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.Carmine.WSManWrappers.WSManProviderException, Exception.Message: An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
    Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
    01:12:24:StackTrace:   at Microsoft.Carmine.WSManWrappers.ErrorContextParameterHelper.ThrowTranslatedCarmineException(WsmanSoapFault fault, COMException ce)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.RetrieveUnderlyingWMIErrorAndThrow(SessionCacheElement sessionElement, COMException ce)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
       at Microsoft.Carmine.WSManWrappers.AgentManagement.AssociateLibrary(WsmanAPIWrapper wsmanObject, String CertificateSubjectName, String& ExportedCertificate, ErrorInfo& ErrorInfo)
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateAgentServer(String fullyQualifiedServerName)
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateDefaultLibraryServer()
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.SetupLibraryShare()
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    01:12:24:InnerException.Type: System.Runtime.InteropServices.COMException, InnerException.Message: There is a time and/or date difference between the client and server.
    01:12:24:InnerException.StackTrace:   at WSManAutomation.IWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
       at Microsoft.Carmine.WSManWrappers.MyIWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
    01:12:24:ProcessInstalls: Running the PostProcessDelegate returned false.
    01:12:24:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    01:12:24:SetProgressScreen: FinishMinorStep.
    01:12:24:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    I have completed MSSQL server configuration and while configuring VMM the below error displayed in the wizard:
    An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
    Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
    I have checked that the following services are running:
    1) Verified WS-Management srvice 2) MSSQL server + MSSQL (agent)  3)SC VM Manager Agent  4)  Windows management instrumentation .
    I have joined the VM (on which installing SC VMM) in a domain(as per install guide) and installing VMM using domain account & it is in local Administrators group.
    Also I would like know if there is any stand alone SC VMM installer. If yes then please let me know the installer location & install guide.
    thanks.
    ====

    Have you installed AppController on the same machine with VMM?

  • APP-MRP-22075: An internal error has occurred (mrnspia, 2, 8170, )

    EBS 12.1.3
    Database Version 11.2.0.2
    APP-MRP-22075: An internal error has occurred (mrnspia, 2, 8170, )
    @ERRORTEXT            Cause:        The current routine encountered the specified@ERRORTEXT  x        Action:        Contact your customer supportrepresentative.
    APP-MRP-22075: An internal error has occurred (main, 19, MSCNSP,  )
    @ERRORTEXT            Cause:        The current routine encountered the specified@ERRORTEXT  x        Action:        Contact your customer supportrepresentative.
    {Code}
    Steps to reproduce the issue isAdvanced Supply Chain Planner > Supply Chain Plan > Launch. Select P:BUIEH and select SP-TEST plan. Hit OK and Submit
    Error Log Contents
    Advanced Supply Chain Planning: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    MSCNSP module: Memory-Based Snapshot
    Current system time is 23-JUL-2012 21:08:58
    ===================================================================
    Debug Mode : Disabled
    Output to Terminal : No
    Argument Method : Database Fetch
    Trace Mode : Disabled
    ===================================================================
    Argument 1 (PLAN_ID) = 1026
    Argument 2 (LAUNCH_CRP_PLANNER) = 2
    Argument 3 (SNAPSHOT_WORKER) = 0
    Argument 4 (MON_PNAME) = 0
    Argument 5 (MON_REQUEST_ID) = 0
    Argument 6 (SNAPSHOT_MODE) = 1
    Argument 7 (SNAP_STATIC_ENTITIES) = 1
    ===================================================================
    plan_id:1026 plan_type:1 planning_engine_type:1
    Setting up flat file directories: Checking for DIR: /app/oracle/EBSCRP2/inst/apps/EBSCRP2_houebsap2/logs/appl/conc/out/data1026/
    Directory is already there or can not be opened
    Setting up flat file directories: Checking for mbpinput and mbpoutput directories
    mbp input/output directory existing.. check it out
    mbp flat file dir /app/oracle/EBSCRP2/inst/apps/EBSCRP2_houebsap2/logs/appl/conc/out/data1026/
    before call to calculate plan buckets
    success in calculate plan buckets
    MRNSPIA: Constraine_mode :1
    Planning Engine Type: ASCP Plan_type:1
    The value of profile option 'MRP_RETAIN_DATES_WTIN_CAL_BOUNDARY' is Y
    SELECT TO_NUMBER(TO_CHAR(MIN(calendar_date),'j')),
    TO_NUMBER(TO_CHAR(MAX(calendar_date),'j'))
    FROM msc_calendar_dates
    WHERE calendar_code = :calendar_code
    AND seq_num IS NOT NULL
    AND to_number(to_char(calendar_date, 'J')) >=
    to_number(to_char(sysdate, 'J')) - 365
    AND exception_set_id = :exception_set_id
    AND sr_instance_id = :instance_id
    Loading workday calendar. Please wait ..
    SELECT TO_CHAR(calendar_date, 'j')
    FROM msc_calendar_dates
    WHERE calendar_code = :calendar_code
    AND sr_instance_id = :instance_id
    AND to_number(to_char(calendar_date, 'j')) >=
    to_number(to_char(sysdate, 'J')) - 365
    AND exception_set_id = :exception_set_id
    AND seq_num IS NOT NULL
    ORDER BY calendar_date
    Loading workday calendar. Please wait ...
    Loading workday calendar. Please wait . 0:00
    APP-MRP-22075: An internal error has occurred (mrnspia, 2, 8170, )
    @ERRORTEXT Cause: The current routine encountered the specified@ERRORTEXT x Action: Contact your customer supportrepresentative.
    APP-MRP-22075: An internal error has occurred (main, 19, MSCNSP, )
    @ERRORTEXT Cause: The current routine encountered the specified@ERRORTEXT x Action: Contact your customer supportrepresentative.
    ***** End Of Program - No title available *****
    Executing request completion options...
    Output file size:
    0
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Concurrent program returned no reason for failure.
    Exceptions posted by this request:
    Concurrent Request for "Memory-Based Snapshot" has completed with error.
    Concurrent request completed
    Current system time is 23-JUL-2012 21:08:58

    Hi;
    Thanks for sharing soluiton for other forum user and thanks to Hussein Sawwan for his great posts.
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Integration Worklist error: "An internal error has occurred."

    Hi,
    While accessing integration worklist webapp hitting the error "An internal error has occurred. Please contact the administrator or Oracle support for help".
    My standalone weblogic server is a view based install, the logs are as follows:
    [2011-05-26T11:24:33.886+05:30] [soa_server1] [TRACE] [] [] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0] [SRC_CLASS: oracle.bpel.services.workflow.client.config.ClientConfigurationUtil] [APP: worklistapp] [SRC_METHOD: getClientConfiguration] WorkflowServiceClientContext: Cannot find client configuration file: wf_client_config.xml
    [2011-05-26T11:24:33.897+05:30] [soa_server1] [NOTIFICATION] [WSM-02054] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0] [APP: worklistapp] Failure in looking up EJB component UsageTracker#oracle.wsm.policymanager.bean.ejb.IRemoteUsageTracker.
    [2011-05-26T11:24:33.906+05:30] [soa_server1] [NOTIFICATION] [WSM-02054] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0] [APP: worklistapp] Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.
    [2011-05-26T11:24:33.918+05:30] [soa_server1] [NOTIFICATION] [WSM-02054] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0:1] [WEBSERVICE_PORT.name: IdentityServicePort] [APP: soa-infra] [J2EE_MODULE.name: integration/services/IdentityService] [WEBSERVICE.name: IdentityService] [J2EE_APP.name: soa-infra] Failure in looking up EJB component UsageTracker#oracle.wsm.policymanager.bean.ejb.IRemoteUsageTracker.
    [2011-05-26T11:24:33.927+05:30] [soa_server1] [NOTIFICATION] [WSM-02054] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0:1] [WEBSERVICE_PORT.name: IdentityServicePort] [APP: soa-infra] [J2EE_MODULE.name: integration/services/IdentityService] [WEBSERVICE.name: IdentityService] [J2EE_APP.name: soa-infra] Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.
    [2011-05-26T11:24:33.929+05:30] [soa_server1] [NOTIFICATION] [] [oracle.wsm.policymanager.bean.util.PolicySetBuilder] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0:1] [WEBSERVICE_PORT.name: IdentityServicePort] [APP: soa-infra] [J2EE_MODULE.name: integration/services/IdentityService] [WEBSERVICE.name: IdentityService] [J2EE_APP.name: soa-infra] PM Configuration: java.naming.provider.url=t3://host1.example.com:7011,host1.example.com:8001
    [2011-05-26T11:24:33.929+05:30] [soa_server1] [ERROR] [] [oracle.wsm.policymanager.bean.util.PolicySetBuilder] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0:1] [WEBSERVICE_PORT.name: IdentityServicePort] [APP: soa-infra] [J2EE_MODULE.name: integration/services/IdentityService] [WEBSERVICE.name: IdentityService] [J2EE_APP.name: soa-infra] The policy referenced by URI "oracle/no_authentication_service_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://host1.example.com:7011,host1.example.com:8001" due to invalid configuration or inactive state.[[
    oracle.wsm.policymanager.PolicyManagerException: WSM-02054 : Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.
    at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:684)
    at oracle.wsm.policymanager.BeanFactory.lookupJndiObj(BeanFactory.java:910)
    at oracle.wsm.policymanager.BeanFactory.getDocumentManagerBeanEJB(BeanFactory.java:567)
    at oracle.wsm.policymanager.BeanFactory.getBeanEJB(BeanFactory.java:461)
    at oracle.wsm.policymanager.BeanFactory.getBean(BeanFactory.java:381)
    at oracle.wsm.policymanager.BeanFactory.getBean(BeanFactory.java:327)
    at oracle.wsm.policyaccess.ConfigurationFramework.getBean(ConfigurationFramework.java:1635)
    at oracle.wsm.policyaccess.ConfigurationFramework.access$500(ConfigurationFramework.java:133)
    at oracle.wsm.policyaccess.ConfigurationFramework$ContextualAccessor.configure(ConfigurationFramework.java:452)
    at oracle.wsm.policyaccess.ConfigurationFramework$ContextualAccessor.access$1400(ConfigurationFramework.java:299)
    at oracle.wsm.policyaccess.ConfigurationFramework.initializeAccessors(ConfigurationFramework.java:1915)
    at oracle.wsm.policyaccess.ConfigurationFramework.access$200(ConfigurationFramework.java:133)
    at oracle.wsm.policyaccess.ConfigurationFramework$ContextualAccessor.isValid(ConfigurationFramework.java:607)
    at oracle.wsm.policyaccess.ConfigurationFramework$ContextualAccessor.access$800(ConfigurationFramework.java:299)
    at oracle.wsm.policyaccess.ConfigurationFramework$VirtualAccessor.validateAccessor(ConfigurationFramework.java:1075)
    at oracle.wsm.policyaccess.ConfigurationFramework$VirtualAccessor.retrieveDocuments(ConfigurationFramework.java:1044)
    at oracle.wsm.policymanager.bean.util.PolicySetBuilder.generateReferences(PolicySetBuilder.java:421)
    at oracle.wsm.policymanager.bean.util.PolicySetBuilder.<init>(PolicySetBuilder.java:248)
              at oracle.integration.platform.common.mgmt.PolicyCacheImpl$CacheNode.refreshIfStale(PolicyCacheImpl.java:166)
    at oracle.integration.platform.common.mgmt.PolicyCacheImpl.getPolicySetIfStale(PolicyCacheImpl.java:304)
    at oracle.integration.platform.common.mgmt.PolicyCacheImpl.getPolicySetIfStale(PolicyCacheImpl.java:327)
    at oracle.integration.platform.common.mgmt.InterceptorChainManager.getManagedInterceptorChain(InterceptorChainManager.java:166)
    at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:234)
    at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
    at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager' didn't find subcontext 'DocumentManager#oracle'. Resolved ''; remaining name 'DocumentManager#oracle/wsm/policymanager/bean/ejb/IRemoteDocumentManager'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at oracle.wsm.policymanager.BeanFactory$2.run(BeanFactory.java:660)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.security.Security.runAs(Security.java:61)
    at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52)
    at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:652)
    [2011-05-26T11:24:33.934+05:30] [soa_server1] [ERROR] [OWS-04086] [oracle.webservices.service] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0:1] [APP: soa-infra] oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06162 PolicyReference The policy referenced by URI "oracle/no_authentication_service_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://host1.example.com:7011,host1.example.com:8001" due to invalid configuration or inactive state. [[
    at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
    at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
    at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
    at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
    at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    [2011-05-26T11:24:33.936+05:30] [soa_server1] [ERROR] [OWS-04115] [oracle.webservices.service] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0:1] [APP: soa-infra] An error occurred for port: {http://xmlns.oracle.com/bpel/services/IdentityService}IdentityServicePort: oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06162 PolicyReference The policy referenced by URI "oracle/no_authentication_service_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://host1.example.com:7011,host1.examplecom:8001" due to invalid configuration or inactive state. .
    [2011-05-26T11:24:33.937+05:30] [soa_server1] [ERROR] [] [oracle.soa.services.workflow.worklist] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 359fcc09b83fdf1b:118ea4c0:130287ed6b1:-8000-00000000000107fe,0] [APP: worklistapp] <.> Identity Service soap error.[[
    BPMIdentityService encountered soap error in method invoke with fault "".
    Ensure that the soap message is properly formed and has all necessary attributes and elements. Contact Oracle Support Services if error is not fixable.
    ORABPEL-10592
    Identity Service soap error.
    BPMIdentityService encountered soap error in method invoke with fault "".
    Ensure that the soap message is properly formed and has all necessary attributes and elements. Contact Oracle Support Services if error is not fixable.
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.convertSOAPFaultException(IdentityServiceSOAPClient.java:321)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:274)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.lookupUser(IdentityServiceSOAPClient.java:350)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.lookupUser(AbstractIdentityServiceClient.java:182)
    at oracle.bpel.worklistapp.util.WorklistUtil.getCurrentUser(WorklistUtil.java:519)
    at oracle.bpel.worklistapp.tasklist.beans.view.TaskListTaskFlowParams.setTaskFlowParams(TaskListTaskFlowParams.java:359)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)
    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:162)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:993)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:879)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:778)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:243)
    at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
    at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
    at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:440)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:358)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:241)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3206)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2878)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:399)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bpel.worklistapp.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:209)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    Thanks

    Looks like a deployment/configuration issue with WSM:
    Policy Manager cannot be established at "t3://host1.example.com:7011,host1.example.com:8001" due to invalid configuration or inactive state. .
    This looks like a dev environment issue. Probably best to post to the internal forum.

  • Warning An internal error has occurred in method getMarkup()

    Hi,
    I have created simple portlet using Oracle JDeveloper and it is deployed to OAS 10.1.3, When I register wsrp provider to Oracle as portal 10.2.1 and add portlet to some page, then on page is shown following error: "Error: Could not get markup. The cookie or session is invalid or there is a runtime exception."
    In the same time is to oas 10.1.3 log writted warning: ">An internal error has occurred in method getMarkup()"
    What is wrong?
    Thanks

    I am encountering the same error as you were facing.Did you get any resolution on this issue?If yes,can you please pass on the require stuff as soon as possible.I need to crack this as quickly as possible so any help in this regard would be very useful.Thanks
    -Arindam
    mail to:[email protected]

Maybe you are looking for

  • System Recovery on New Hard Drive Not Proceeding

    Scenario: I've installed a new (blank) hard drive on my 2008 HP Pavilion dv3500. I need to install the factory image on this new drive in the original HP machine. 1. I am booting from the recovery disks I made (F9 from system startup menu)  2. The fi

  • EL for a specific page in a Navigation Model with a Pages Query

    In WebCenter Portal: Spaces we are using the Default Navigation Model, which includes a Pages Query which shows all the accessible pages for the current space. How do I create an EL Expresion that allows me to perform navigation from within a page? <

  • Replacing a certaing string

    I need help with a program. Im talking about a Java application, not an internet based Java applet. Here are the steps: 1)User inputs a string 2)User inputs the word the user wants to change 3)User inputs the word the user wants the word in #2 to be

  • Restricting  tcodes only to run in background.

    Dear All Basis Experts, Is there a way to restrict a tcode only to be run in background  only, i have some performance issue, i want one particular tcode to be run only in background. Please suggest, Robert.

  • How do I switch from group plan to individual plan?

    I have been in a plan with three individuals included on the plan. How do we go from a group plan to individual plans if it was under the name of just one individual? Can we just keep our individual numbers and just move to individual plans?