1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Error while calling IdcService: COLLECTION_ADD_LINK

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by iNeeraj, Jan 12, 2010.

  1. iNeeraj

    iNeeraj Active Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    55
    Hi,

    I am trying to add a link to a document inside a folder using COLLECTION_ADD_LINK service but getting the following error response of service call.

    Unable to add shortcut. Unable to execute service method 'addLink'. (System Error: Runtime error: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:415)
    at java.lang.Integer.valueOf(Integer.java:553)
    at collections.CollectionUserHandler.addLink(CollectionUserHandler.java:328)
    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:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75)
    at intradoc.server.Service.doCodeEx(Service.java:488)
    at intradoc.server.Service.doCode(Service.java:470)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
    at intradoc.server.Service.doAction(Service.java:450)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
    at intradoc.server.Service.doActions(Service.java:445)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
    at intradoc.server.Service.executeActions(Service.java:431)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
    at intradoc.server.Service.doRequest(Service.java:1709)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:195))

    To call this service I am using the following code:
    IdcService=COLLECTION_ADD_LINK
    dCollectionID=69
    dDocID=187
    dLinkName=NewShortcut
    dLinkType=0
    tohasCollectionID=false


    Please suggest me some or let me know if I am mistaken somewhere in the service call parameters.