AnsweredAssumed Answered

LDAP integration error

Question asked by tombo on Mar 31, 2014
Latest reply on Apr 4, 2014 by tombo
Activiti-explorer 5.15 LDAP integration is throwing an error on task review. It's trying to fetch user picture although no user picture attribute is set in the configuration. (tested with Apache DS)


com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in org.activiti.explorer.ui.custom.ToolbarEntry$1 failed.
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
   at com.vaadin.ui.Button.fireClick(Button.java:567)
   at com.vaadin.ui.Button.changeVariables(Button.java:223)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.changeVariables(AbstractCommunicationManager.java:1460)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1404)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1329)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:761)
   at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:325)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
   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:301)
   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
   at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
   at java.security.AccessController.doPrivileged(Native Method)
   at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
   at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
   at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
   at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
   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:139)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
   at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
   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:2273)
   at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
   at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
   at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method valueChange in org.activiti.explorer.ui.task.TaskPage$1 failed.
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
   at com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:897)
   at com.vaadin.ui.AbstractField.setValue(AbstractField.java:529)
   at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:676)
   at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:645)
   at com.vaadin.ui.Table.setValue(Table.java:3572)
   at com.vaadin.ui.AbstractSelect.select(AbstractSelect.java:1422)
   at org.activiti.explorer.ui.AbstractTablePage.selectElement(AbstractTablePage.java:81)
   at org.activiti.explorer.ui.task.TaskPage.initUi(TaskPage.java:70)
   at org.activiti.explorer.ui.AbstractPage.attach(AbstractPage.java:43)
   at com.vaadin.ui.AbstractComponent.setParent(AbstractComponent.java:560)
   at com.vaadin.ui.AbstractComponentContainer.addComponent(AbstractComponentContainer.java:211)
   at com.vaadin.ui.CssLayout.addComponent(CssLayout.java:95)
   at org.activiti.explorer.ui.mainlayout.MainLayout.setMainContent(MainLayout.java:58)
   at org.activiti.explorer.ui.MainWindow.switchView(MainWindow.java:79)
   at org.activiti.explorer.DefaultViewManager.switchView(DefaultViewManager.java:342)
   at org.activiti.explorer.DefaultViewManager.showInboxPage(DefaultViewManager.java:172)
   at org.activiti.explorer.ui.task.TaskMenuBar$1.toolBarItemSelected(TaskMenuBar.java:79)
   at org.activiti.explorer.ui.custom.ToolbarEntry$1.buttonClick(ToolbarEntry.java:108)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
   … 39 more
Caused by: org.activiti.engine.ActivitiException: LDAP user manager doesn't support user pictures
   at org.activiti.ldap.LDAPUserManager.getUserPicture(LDAPUserManager.java:244)
   at org.activiti.engine.impl.cmd.GetUserPictureCmd.execute(GetUserPictureCmd.java:48)
   at org.activiti.engine.impl.cmd.GetUserPictureCmd.execute(GetUserPictureCmd.java:29)
   at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
   at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)
   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
   at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
   at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
   at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
   at org.activiti.engine.impl.IdentityServiceImpl.getUserPicture(IdentityServiceImpl.java:111)
   at org.activiti.explorer.ui.task.TaskEventsPanel.addTaskEventPicture(TaskEventsPanel.java:134)
   at org.activiti.explorer.ui.task.TaskEventsPanel.addTaskEvents(TaskEventsPanel.java:127)
   at org.activiti.explorer.ui.task.TaskEventsPanel.refreshTaskEvents(TaskEventsPanel.java:93)
   at org.activiti.explorer.ui.task.TaskEventsPanel.setTaskId(TaskEventsPanel.java:102)
   at org.activiti.explorer.ui.task.TaskPage.createDetailComponent(TaskPage.java:133)
   at org.activiti.explorer.ui.task.TaskPage$1.valueChange(TaskPage.java:117)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)

Outcomes