cancel
Showing results for 
Search instead for 
Did you mean: 

Problem after Login with Novell LDAP in Activiti-Explorer

sarkar92
Champ in-the-making
Champ in-the-making
I am successfully login with NOVELL LDAP server. I am using Activiti-Explorer not REST.
But after login I am getting an exception….I can't figure it out …The stacktrace is following


SEVERE: Servlet.service() for servlet Vaadin Application Servlet threw exception
java.lang.NullPointerException
   at org.activiti.explorer.ui.task.TaskMenuBar.initItems(TaskMenuBar.java:99)
   at org.activiti.explorer.ui.task.TaskMenuBar.<init>(TaskMenuBar.java:66)
   at org.activiti.explorer.ui.task.TaskPage.createMenuBar(TaskPage.java:82)
   at org.activiti.explorer.ui.AbstractPage.addMenuBar(AbstractPage.java:70)
   at org.activiti.explorer.ui.AbstractPage.initUi(AbstractPage.java:54)
   at org.activiti.explorer.ui.task.TaskPage.initUi(TaskPage.java:67)
   at org.activiti.explorer.ui.AbstractPage.attach(AbstractPage.java:43)
   at com.vaadin.ui.AbstractComponent.setParent(AbstractComponent.java:570)
   at com.vaadin.ui.AbstractComponentContainer.addComponent(AbstractComponentContainer.java:211)
   at com.vaadin.ui.CssLayout.addComponent(CssLayout.java:93)
   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:272)
   at org.activiti.explorer.DefaultViewManager.showInboxPage(DefaultViewManager.java:162)
   at org.activiti.explorer.DefaultViewManager.showDefaultPage(DefaultViewManager.java:80)
   at org.activiti.explorer.ui.login.LoginPage$ActivitiLoginListener.onLogin(LoginPage.java:101)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
   at com.vaadin.ui.LoginForm$2.handleParameters(LoginForm.java:104)
   at com.vaadin.ui.Window.handleParameters(Window.java:502)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:528)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)


I am using Activiti in Action Source code for Ldap user sync.

Please help
3 REPLIES 3

sarkar92
Champ in-the-making
Champ in-the-making
anyone aware of this problem???
please help

trademak
Star Contributor
Star Contributor
Hi,

The problem is the following line in the Explorer code:

if (group.getType().equals("assignment")) {
I think you don't set a group type when retrieving the groups from LDAP is that right?
The Explorer works with group types to determine to which groups a user task can be assigned.

Best regards,

sarkar92
Champ in-the-making
Champ in-the-making
you are right…

thanks a lot…