NullPointerException while checking in User view
Hi,
I have written a custome create user task.
This task does the following:
1. Create User View
2. Sets values of
global.firstname, global.lastname, global.fullname, global.email
waveset.accountId, waveset.organization
accountInfo.accounts[Lighthouse].accountId
3. Checks in the view
I am getting a NullPointerException while checking in the user view.
The trace log shows the folling message:
<ResultItem type='error' status='error'>
<ResultError throwable='java.lang.NullPointerException'>
<StackTrace>java.lang.NullPointerException
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:562)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:526)
at com.waveset.notification.EmailNotifier.lookupLocaleFromEmail(EmailNotifier.java :653)
at com.waveset.notification.EmailNotifier.notify(EmailNotifier.java:588)
at com.waveset.provision.WorkflowServices.notify(WorkflowServices.java:4817)
at com.waveset.provision.WorkflowServices.call(WorkflowServices.java:774)
at com.waveset.workflow.WorkflowEngine.callApplication(WorkflowEngine.java:4338)
at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:4165)
at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:3478)
at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3318)
at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2837)
at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.jav a:2728)
at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2514)
at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1919)
at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1772)
at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1680)
at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:823)
at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:485)
at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:235)
at com.waveset.task.Scheduler.execute(Scheduler.java:2434)
at com.waveset.task.Scheduler.launchTask(Scheduler.java:1607)
at com.waveset.task.Scheduler.launchTask(Scheduler.java:1286)
at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
at com.waveset.server.InternalSession.runTask(InternalSession.java:3135)
at com.waveset.server.ViewMaster.runTask(ViewMaster.java:918)
at com.waveset.view.UserViewer.launchCreate(UserViewer.java:2959)
at com.waveset.view.UserViewer.checkinView(UserViewer.java:1243)
at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:722)
at com.waveset.session.WorkflowServices.checkinView(WorkflowServices.java:1314)
at com.waveset.session.WorkflowServices.call(WorkflowServices.java:453)
at com.waveset.workflow.WorkflowEngine.callApplication(WorkflowEngine.java:4338)
at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:4165)
at com.waveset.workflow.WorkflowEngine.callAction(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
....................
</StackTrace>
</ResultError>
</ResultItem>

