Sort metadata extension return list

I have developed a custom metadata extension which I will use for several metadata properties.
As a basis for the metadata extension I used the example (for Dynamic values) provided here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/implementing a metadata extension for kmc properties.article
I have extended the example so that it serves for multiple metadata properties and multiple languages.
Now I would like to sort the IMetaValueList returned by
getAllowedValues(IMetaName metaName, IMetaContext metaContext)
I want to sort this list of keys by the labels of the locale in which a user is logged on, so that for instance a dropdownlistbox shows the items in alphabetical order.
I think I can accomplish this by using
metaContext.getResourceContext().getLocale()
to get the locale, and using
sort(Comparator c)
in IMetaValueList with a custom Comparator.
The custom Comparator would compare two keys, based on their corresponding labels (
getValueLabel(IMetaValue metaValue, Locale locale)
However, before I start implementing this, I need to know:
-In custom iViews, currently I use
IMetaValueListIterator allowedValues =metaName.allowedValueIterator();
where metaName is an IMetaName which uses the metadata extension.
For the sort function to work I need to use
allowedValueIterator(IMetaContext metaContext);
How do I get an IMetaContext in my custom portal component?
-Is there another way to sort the IMetaValueList returned by the metadata extension?
Johan

Anyone? Any help will be appreciated...
Johan

Similar Messages

  • Custom Metadata Extension with RFC call

    Hi all,
    I am trying to create a custom metadata extension that pulls data from ECC via an RFC call and returns values as a IMetaValueList in the getAllowedValues method.
    Does anybody have any experience?
    Thx
    Ismail

    Hello Sanjeev,
    - I Kept External break point in SRM where we are calling RFC Call for ECC, I am able to debug untill the RFC call,
    - But, on RFC Call ( CALL FUNCTION ZABC destination <Destination>), when I press F5 it is not going inside the function module.
    - I am getting Export parameter values, means ctrl is going to ECC, but not able to debugg our BE system -ECC.
    Pls suggest. Thanks for your quick reply.
    Regards,
    Mohan Vamsi

  • Problem returning list

    Im trying to return the list after it has been stored with contents from a file. I can't seem to return the list so I can use it in anoter method.
    public static ArrayList getArrayList(Object[] a){
            List assList = new ArrayList();
            try{
                FileReader fin = new FileReader(fileName);
                   BufferedReader in = new BufferedReader(fin);
                   int i = 0;
                   String line = in.readLine();
                   while (line != null) {
                        StringTokenizer st = new StringTokenizer(line);
                        while (st.hasMoreTokens()) {
                             String currWord = st.nextToken();
                        assList.add(i, currWord);
                             i++;
                        line = in.readLine();
                System.out.println("This is a test " + i);
                Collections.sort(assList);
            }catch(FileNotFoundException f){
                System.out.println("Where the file at?");
            }catch (Exception e){
                System.out.println("General Exception");
       return list;
    }

    I get error saying::
    Non-static variable 'filename' cannot be referenced from a static context.
    whats that mean?It means: an instance variable ('filename') cannot be referenced from
    a static context (your static method). Either make your 'filename' variable
    static or make your method non-static.
    kind regards,
    Jos

  • Problem: CM properties translation through Metadata Extensions

    Hi.
    I encountered a problem with CM properties translation using metada extensions.
    The translation as it is goes fine, however, sorting does not.
    I have a property, that is created in Language1, which has some allowed values. That property is used in one of the xml forms. Its allowed values are displayed in this form sorted accordingly when portal is viewed in Language1.
    I added metadata extension, where allowed values from property are translated into Language2.
    When portal user swithes to Language2, translation kicks in, but the values are not sorted accordingly in Language2. They remain sorted as they were in their original language - Language1.
    Problem: how to make portal (xml form) use the properly sorted property in any chosen language?
    Lucas

    Hi.
    I encountered a problem with CM properties translation using metada extensions.
    The translation as it is goes fine, however, sorting does not.
    I have a property, that is created in Language1, which has some allowed values. That property is used in one of the xml forms. Its allowed values are displayed in this form sorted accordingly when portal is viewed in Language1.
    I added metadata extension, where allowed values from property are translated into Language2.
    When portal user swithes to Language2, translation kicks in, but the values are not sorted accordingly in Language2. They remain sorted as they were in their original language - Language1.
    Problem: how to make portal (xml form) use the properly sorted property in any chosen language?
    Lucas

  • Have iPod touch 4 with extensive music list. How do I transfer it to the cloud so my other devices can play the music?  I subscribed to ITunes Match, but it's not functioning.

    Have iPod touch 4 with extensive music list. How do I transfer it to the cloud so my other devices can play the music?  I subscribed to ITunes Match, but it's not functioning

    Troubleshooting Match
    http://support.apple.com/kb/TS4054
    Subscribing to Match
    http://support.apple.com/kb/HT4914
    Match for the iOS devices
    http://support.apple.com/kb/HT5637

  • N^2 log(n) for Collections.sort() on a linked list in place?

    So, I was looking over the Java API regarding Collections.sort() on linked lists, and it says it dumps linked lists into an array so that it can call merge sort. Because, otherwise, sorting a linked list in place would lead to a complexity of O(n^2 log n) ... can someone explain how this happens?

    corlettk wrote:
    uj,
    ... there are other sorting methods for linked lists with an O(N*N) complexity.Please, what are those algorithms? I'm guesing they're variants off insertion sort, coz an insertion is O(1) in a linked list [and expensive in array]... Am I warm?You don't have to change the structure of a linked list to sort it. You can use an ordinary Bubblesort. (The list is repeatedly scanned. In each scan adjacent elements are compared and if they're in wrong order they're swapped. When one scan of the list passes without any swaps the list is sorted). This is an O(N*N) algoritm.
    What I mean is it's possible to sort a list with O(N*N) complexity. It doesn't have to be O(N*N*logN) as the Java documentation kind of suggests. In fact I wouldn't be surprised if there were special O(N*logN) algoritms available also for lists but I don't know really. In any case Java uses none of them.

  • "SOM expression returned list when single result was expected" error trying to display form

    Any Ideas on troubleshooting this error?
    I am using ES2 SP2, on Windows.
    Here is the dump from the log, sorry for the format issue, I was unable to figure out the paste option.
    This is a new but complicated form with many nested subforms.
    It seems to render if I save the form as a PDF, and render it with the standard Process Management "Render PDF Form" service.
    If I save it as an XDP, and try to render it Reader Extended it dies like this.
    Any help or Ideas are greatly appreciated.
    Thanks
    Mark
    ALC-FRM-001-013: XMLFormFactory, PAexecute failure: "(com.adobe.document.xmlform.ReturnStatus@6c0abc13) SOM expression returned list when single result was expected"                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)                 at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:556)                  at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:470)                  at com.adobe.formServer.docservice.FormsDocService.renderPDFFormCommonCaller(FormsDocService .java:164)                 at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:130)                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequired(Ej bTransactionCMTAdapterBean.java:274)                 at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequired(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:129)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:885)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)                  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.renderForm(TaskManagerServic eImpl.java:4646)                 at sun.reflect.GeneratedMethodAccessor12148.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:19 8)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry2(TypedTaskMa nagerService.java:159)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry(TypedTaskMan agerService.java:147)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.callRenderService(TypedTaskM anagerService.java:1441)                 at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:768)                 at sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)                  at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)                  at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1406)                  at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBroker.java:571)                  at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)                  at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)                  at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)                 at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)                 at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)                  at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:165)                  at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:293)                  at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:364)                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:152)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)                 at java.lang.Thread.run(Unknown Source) 2012-01-09 14:58:17,178 INFO  [STDOUT] [LCDS][ERROR] Exception when invoking service 'remoting-service': flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service for Task "8258".  Please review the render orchestration for this process.   incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)     operation = render     parameters = [44F8A32C-A8D6-102E-B9D6-00000A3085AB, 8258, 0, ASObject(242517833){acrobatVersion=10.0., acroClientType=}]     clientId = D3292091-580B-C7E7-38E3-8E9ECB817F50     destination = task-actions     messageId = 590434A1-5953-17C9-55C4-C443A2F281A3     timestamp = 1326142694104     timeToLive = 0     body = null     hdr(DSId) = D30D08B0-BD1F-B9A8-DCF0-9414276B403E     hdr(DSEndpoint) = workspace-polling-amf   Exception: flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service for Task "8258".  Please review the render orchestration for this process.                 at com.adobe.workspace.AssemblerUtility.createMessageException(AssemblerUtility.java:412)                  at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:822)                 at sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)                  at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)                  at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1406)                  at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBroker.java:571)                  at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)                  at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)                  at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)                 at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)                 at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)                  at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:165)                  at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:293)                  at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:364)                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:152)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)                 at java.lang.Thread.run(Unknown Source) Caused by: com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException: Error Invoking render Operation For (taskId, formId):(8258 ,0).  Error Message is: ALC-FRM-001-013: XMLFormFactory, PAexecute failure: "(com.adobe.document.xmlform.ReturnStatus@6c0abc13) SOM expression returned list when single result was expected"                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)                 at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:556)                  at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:470)                  at com.adobe.formServer.docservice.FormsDocService.renderPDFFormCommonCaller(FormsDocService .java:164)                 at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:130)                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequired(Ej bTransactionCMTAdapterBean.java:274)                 at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequired(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:129)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:885)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)                  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.renderForm(TaskManagerServic eImpl.java:4646)                 at sun.reflect.GeneratedMethodAccessor12148.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:19 8)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry2(TypedTaskMa nagerService.java:159)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry(TypedTaskMan agerService.java:147)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.callRenderService(TypedTaskM anagerService.java:1441)                 at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:768)                 ... 37 more

    It appears the form had incorrect bindings for a list object that resulted in recursion.
    Once the bindings were corrected the form works properly
    F.Y.I.
    Mark

  • Adding metadata to a list in sharepoint hosted apps

    Hi,
    I created a share point hosted app and i added a custom list with columns.Now i need to add some metadata to the list through app only.How can i achieve this requirement.Please help me.Thanks in advance.
    Regards,
    Praveen

    Check if below article help you:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1f8bf097-7322-4a37-8ec2-916ba6cb1ac2/upload-the-metadata-of-a-file-to-sharepoint-programmatically?forum=sharepointdevelopmentlegacy
    Also if can be more specific about what metadata you want to add and where exactly, we can talk better

  • How to Sort music on play list by FILE NAME?

    How to Sort music on play list by FILE NAME?

    iTunes doesn't display the filename or filepath as a column so you can't sort on it. I could write a script to copy the filepath into the Sort Name field so that sorting by name would sort by filepath. Would that help? In normal circumstances however filepath order would be the same as Album by Artist, so I'm not sure what you would gain. Perhaps there is another way to approach whatever problem you think sorting by filename would solve.
    tt2

  • Sorting a doubly linked list

    Hello people!
    I have problems with sorting a doubly linked list, I have kind of got stuck just looking at the code and don't really know what I'm doing anymore...
    public void sortList()
    int flag = 0;
    DoubleNode temp; //Doubly Linked List Node
    temp = firstNode;
    String tempData;
    while (flag != 1)
    flag = 1;
    String data = (String)temp.element;
    while (temp.next != null)
    int comp = data.compareTo((String)temp.next.element);
    if (comp > 0)
    tempData = (String)temp.element;
    temp.element = temp.next.element;
    data = (String)temp.element;
    temp.next.element = tempData;
    flag = 0;
    else
    temp = temp.next;
    data = (String)temp.element;
    I'm trying to take an easy way around the problem by not swaping nodes but just the data the nodes contain. I'm pretty new to this and my prof. has just gone insane giving us this hardcore assignment.
    is this code even close to be correct?
    is this a good way of tackling the problem?
    thanks a lot! / Dan

    Okay, without going into any great detail about possible issues with the algorithm or code, it's gonna first be necessary to know some more about the DoubleNode class. For example, does it have a next method? If it does, then right off the bat your code will have to be adjusted so that where you have written "temp.next" you actually call the next method (which, if it is parameterless, would be "temp.next()"). As you have it written now, "temp.next" is accessing the "next" attribute of your DoubleNode instance, and I don't think that's what you're intending.
    -dSn

  • Ordered - JDO Metadata Extension

    I am having problems getting a collection staying ordered after it is
    stored.
    I', having a class defined this way:
    <!-- Group -->
    <class name="Group" persistence-capable-superclass="WebSource">
    <field name="children">
    <collection element-type="WebSource"/>
    <extension vendor-name="kodo" key="ordered" value="true"/>
    <extension vendor-name="kodo" key="inverse" value="parent"/>
    </field>
    </class>
    Af far as I can read from the documentation, the 'ordered' metadata
    extension should guarantee that the collection should stay ordered. Any
    suggestions why this isnt the case?
    btw, Im using Kodo 2.2.6, SQL server 2000 :)

    Benny --
    There is currently no support for ordering 1-M relations like the one you describe. Only collections of simple types and 1-sided M-M relations are supported with ordering. We are however, working on 1-M ordering; watch for it in a future release.

  • Returning List String or String[][] in JNI

    Hi,
    I am calling a native function in C++ from Java which has to return List<String> or String[][]. Is this possible?
    The java declaration is - private native List<String> GetListNative();
    In C++ the declaration is:
    JNIEXPORT jobject JNICALL Java_com_GetListNative
    (JNIEnv *env, jobject obj);
    Please help!
    Thanks in advance...
    Message was edited by:
    arjundg

    try treating String[][] as array of arrays of strings
    I mean consider your 2D array as a 1D array and each of its elements is an array of Strings
    I think this will work

  • Metadata Extension

    Can i in the same portal project add more than one class to metadata extension ? How do i generate the prjconfig file ? I tryed to add another class in the example project bellow but it didn't work.
    There is any other thing that i should do ?
    What is the schedulertask that is in the src.config folder in the example project ?
    What is the IRFServiceWrapper class ?
    The following tutorial shows how to implement metadata extension: https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/km/metadataextension/Implementing%20a%20Metadata%20Extension%20for%20KMC%20Properties.html

    !

  • Existing table metadata extensions ignored

    I have tried to use kodo metadata extensions to map objects to existing
    tables.
    I used extensions from the Kodo documentation example.
    First I run schema tool with refresh option and complete schema was
    generated (tables with X at the end), as all extension instructions were
    ignored.
    After that I run schema tool with register option. This time an exception
    was thrown showing a SQL statement looking for tables with X at the end.
    Again it looks as extension instructions from jdo file were ignored.
    Could someone define required steps when using an existing schema and what
    should be done so Kodo starts using metadata extensions?
    Thanks.

    There are no special steps to starting to use metadata extensions. Is it
    possible that you have another set of metadata without extensions lying around,
    and Kodo is picking that one up?
    Or perhaps you could post your metadata, so we can see if there are any
    errors in it.

  • How to remove a Sort button from ALV List

    Hi Experts,
    How to remove sort button from ALV List.
    I have requirement where I need to remove the sort button from ALV list.
    Kindly give me useful clues.
    Higher points will be awarded for the useful inputs.
    Thanks in Advance,
    Dharani

    Hi dharani,
    1. UP and Down Sort Button will get removed.
    2. Important code is marked in bold
    3. Just copy paste.
    4.
    report abc.
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvfcwa TYPE slis_fieldcat_alv.
    <b>data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.</b>
    data : begin of itab occurs 0.
            include structure usr02.
    data : end of itab.
    START-OF-SELECTION.
      select * from usr02
      into table itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = 'ITAB'
          i_inclname             = sy-repid
        CHANGING
          ct_fieldcat            = alvfc
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    <b>*----
    IMPORTANT
    fcodes to remove
    Up and Down Sort Button
    exclwa-fcode = '&OUP'.
    append exclwa to excl.
    exclwa-fcode = '&ODN'.
    append exclwa to excl.</b>
    Display
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          it_fieldcat   = alvfc
          <b>IT_EXCLUDING     = excl</b>
        TABLES
          t_outtab      = itab
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
    regards,
    amit m.

Maybe you are looking for