cancel
Showing results for 
Search instead for 
Did you mean: 

After integrating Activiti with Active Directory LDAP, it shows strange behavior on deployment of Model and clicking Process tab

adarshkumarkhar
Champ in-the-making
Champ in-the-making
I am working with Activit 5.20 version. integrated Activiti-explorer with Active Directory LDAP. Integration went well. I was able to login using Active Directory credentials. I deployed a model. Deployment also went well. But when I clicked on Process button, it shows me Exclamation in red in Process button and also shows me alert in red with the text "Warning Null". I refreshed the URL from browser. Red Exclamation was still there in Process button. I logged out and logged in with the same credentials. Now it was working fine. No red exclamation sign on Process button. I clicked on Process button. It does not show any warning. Also, I can see the deployed model in the left hand panel.

It means that model was deployed. Immediately after deployment, if I click the Process button, it shows the red exclamation sign and alert of "Warning Null". If I logged out and logged in again with same credentials, it started behaving correctly. Even I can see the deployed model.

It may be bug in Activiti, if some one integrate it with Active Directory (LDAP). Error logs are as follows. Please let me know how to fix this issue. The Model is very simple. It does even use assignment of any user task to any LDAP user.

11:37:46,228 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource VacationRequest.bpmn20.xml
11:37:46,517 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource FixSystemFailureProcess.bpmn20.xml
11:37:46,539 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource Helpdesk.png
11:37:46,539 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource VacationRequest.png
11:37:46,539 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource reviewSalesLead.bpmn20.xml
11:37:46,548 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource FixSystemFailureProcess.png
11:37:46,549 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource Helpdesk.bpmn20.xml
11:37:46,551 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource oneTaskProcess.bpmn20.xml
11:37:46,552 [http-nio-8080-exec-3] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource createTimersProcess.bpmn20.xml
11:48:08,736 [http-nio-8080-exec-4] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource newTest22.bpmn20.xml
11:48:08,910 [http-nio-8080-exec-4] WARN  org.activiti.image.impl.DefaultProcessDiagramCanvas  - Could not load image for process diagram creation: Can't create cache file!
11:48:08,921 [http-nio-8080-exec-4] WARN  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Error while generating process diagram, image will not be stored in repository
java.lang.NullPointerException
        at org.activiti.image.impl.DefaultProcessDiagramCanvas.drawTask(DefaultProcessDiagramCanvas.java:659)
        at org.activiti.image.impl.DefaultProcessDiagramCanvas.drawUserTask(DefaultProcessDiagramCanvas.java:822)
        at org.activiti.image.impl.DefaultProcessDiagramGenerator$6.draw(DefaultProcessDiagramGenerator.java:186)
        at org.activiti.image.impl.DefaultProcessDiagramGenerator.drawActivity(DefaultProcessDiagramGenerator.java:576)
        at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateProcessDiagram(DefaultProcessDiagramGenerator.java:494)
        at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:404)
        at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:426)
        at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:155)
        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:58)
        at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:106)
        at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37)
        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:133)
        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.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:79)
        at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156)
        at org.activiti.editor.ui.EditorProcessDefinitionDetailPanel.deployModelerModel(EditorProcessDefinitionDetailPanel.java:349)
        at org.activiti.editor.ui.EditorProcessDefinitionDetailPanel.deployModel(EditorProcessDefinitionDetailPanel.java:276)
        at org.activiti.editor.ui.EditorProcessDefinitionDetailPanel$1.valueChange(EditorProcessDefinitionDetailPanel.java:162)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
        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.Select.changeVariables(Select.java:664)
        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:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:419)
        at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1096)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:760)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
09-Jun-2016 11:48:21.330 SEVERE [http-nio-8080-exec-7] com.vaadin.Application.terminalError Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in org.activiti.explorer.ui.mainlayout.MainMenuBar$ShowProcessDefinitionsClickListener 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:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:419)
        at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1096)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:760)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at org.activiti.explorer.ui.mainlayout.MainMenuBar.setMainNavigation(MainMenuBar.java:68)
        at org.activiti.explorer.ui.mainlayout.MainLayout.setMainNavigation(MainLayout.java:67)
        at org.activiti.explorer.ui.MainWindow.setMainNavigation(MainWindow.java:83)
        at org.activiti.explorer.DefaultViewManager.switchView(DefaultViewManager.java:346)
        at org.activiti.explorer.DefaultViewManager.showDeployedProcessDefinitionPage(DefaultViewManager.java:207)
        at org.activiti.explorer.ui.mainlayout.MainMenuBar$ShowProcessDefinitionsClickListener.buttonClick(MainMenuBar.java:201)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
        … 39 more

09-Jun-2016 11:49:06.859 SEVERE [http-nio-8080-exec-5] com.vaadin.Application.terminalError Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in org.activiti.explorer.ui.mainlayout.MainMenuBar$ShowProcessDefinitionsClickListener 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:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:419)
        at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1096)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:760)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at org.activiti.explorer.ui.mainlayout.MainMenuBar.setMainNavigation(MainMenuBar.java:68)
        at org.activiti.explorer.ui.mainlayout.MainLayout.setMainNavigation(MainLayout.java:67)
        at org.activiti.explorer.ui.MainWindow.setMainNavigation(MainWindow.java:83)
        at org.activiti.explorer.DefaultViewManager.switchView(DefaultViewManager.java:346)
        at org.activiti.explorer.DefaultViewManager.showDeployedProcessDefinitionPage(DefaultViewManager.java:207)
        at org.activiti.explorer.ui.mainlayout.MainMenuBar$ShowProcessDefinitionsClickListener.buttonClick(MainMenuBar.java:201)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
        … 39 more

11:55:51,629 [http-nio-8080-exec-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource swapnil22.bpmn20.xml
11:55:51,632 [http-nio-8080-exec-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource swapnil22.swapnil22.png
4 REPLIES 4

adarshkumarkhar
Champ in-the-making
Champ in-the-making
Following was the setting in activiti-custom-context.xml Configuration file

<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
   <property name="dataSource" ref="dataSource" />
   <property name="transactionManager" ref="transactionManager" />
   <property name="databaseSchemaUpdate" value="true" />
   <property name="jobExecutorActivate" value="true" />
    <property name="enableDatabaseEventLogging" value="true" />
    <property name="customFormTypes">
      <list>
        <bean class="org.activiti.explorer.form.UserFormType"/>
        <bean class="org.activiti.explorer.form.ProcessDefinitionFormType"/>
        <bean class="org.activiti.explorer.form.MonthFormType"/>  
      </list>
    </property>
<property name="configurators">
  <list>
   <bean class="org.activiti.ldap.LDAPConfigurator">
    <!– Server connection params –>
    <property name="server" value="ldap://192.168.1.100" />
                <property name="port" value="389" />
                <property name="user" value="CN=Administrator, CN=Users, DC=corp, DC=com" />
    <property name="password" value="Password" />
                <property name="baseDn" value="OU=Org users, DC=corp, DC=com" />
    <property name="queryUserByUserId" value= "(&amp;(objectClass=organizationalPerson)(userPrincipalName={0}))" />
    <property name="queryUserByFullNameLike" value= "(&amp;(objectClass=organizationalPerson)(|({0}=*{1}*)({2}=*{3}*)))" />
    <property name="queryGroupsForUser" value= "(&amp;(objectClass=group)(userPrincipalName={0}))" />

    <property name="customConnectionParameters">
     <map>
      <entry key="InitialDirContext" value="Context.REFERRAL" />
     </map>
    </property>

                <!– Attribute config –>
                <property name="userIdAttribute" value="userPrincipalName" />
                <property name="userFirstNameAttribute" value="givenName" />
                <property name="userLastNameAttribute" value="sn" />
                <property name="userEmailAttribute" value="mail" />
                <property name="groupIdAttribute" value="cn" />
                <property name="groupNameAttribute" value="cn" />
              </bean>
  </list>
</property>
  </bean>

jbarrez
Star Contributor
Star Contributor
There seems to be an error with getting the process image:

java.lang.NullPointerException
at org.activiti.image.impl.DefaultProcessDiagramCanvas.drawTask(DefaultProcessDiagramCanvas.java:659)

Can you upload your process xml so we can try and fix?

adarshkkhare
Champ in-the-making
Champ in-the-making
The behavior is same for all process XML. Same issue is shown for all process XML whether process is simple or complex.

jbarrez
Star Contributor
Star Contributor
Hmm that's odd .. cause the stacktrace clearly shows

java.lang.NullPointerException
at org.activiti.image.impl.DefaultProcessDiagramCanvas.drawTask(DefaultProcessDiagramCanvas.java:659)

And it doesn't happen without ldap?