An error has occurred while handling the request.

0
When trying to create a account in my app i get the following error:  An error has occurred while handling the request. [User 'Anonymous_8df8128b-858d-40a4-a648-09d5ebdb6cd3' with session id 'd6e0e6d0-465b-4d8e-9dd5-9ebf422b9668' and roles 'Standard'] com.mendix.modules.microflowengine.MicroflowException:      at Administration.SaveNewAccount (Change : 'Set password and save account') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143) Caused by: java.lang.NullPointerException: null     at edu.vt.middleware.password.Password.<init>(Password.java:66)     at com.mendix.core.objectmanagement.member.PasswordStrengthVerifier.getVerifiedPasswordResult(PasswordStrengthVerifier.java:101)     at com.mendix.core.objectmanagement.member.PasswordStrengthVerifier.verify(PasswordStrengthVerifier.java:56)     at com.mendix.core.objectmanagement.member.MendixHashString.setInitialValue(MendixHashString.java:36)     at com.mendix.core.objectmanagement.member.MendixHashString.setInitialValue(MendixHashString.java:15)     at com.mendix.core.component.InternalCore.lambda$null$0(InternalCore.java:234)     at java.util.HashMap.forEach(HashMap.java:1288)     at com.mendix.core.component.InternalCore.lambda$undoCommit$1(InternalCore.java:229)     at java.util.ArrayList.forEach(ArrayList.java:1249)     at com.mendix.core.component.InternalCore.undoCommit(InternalCore.java:225)     at com.mendix.core.component.InternalCore.commit(InternalCore.java:294)     at com.mendix.core.component.InternalCore.commit(InternalCore.java:179)     at com.mendix.core.component.InternalCore.commit(InternalCore.java:157)     at com.mendix.core.component.InternalCore.commit(InternalCore.java:143)     at com.mendix.modules.microflowengine.actions.mxobject.ChangeItemsExecutor$class.executeChanges(ChangeItemsExecutor.scala:59)     at com.mendix.modules.microflowengine.actions.mxobject.ChangeAction.executeChanges(ChangeAction.scala:17)     at com.mendix.modules.microflowengine.actions.mxobject.ChangeAction.execute(ChangeAction.scala:45)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)     at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)     at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)     at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)     at com.mendix.core.component.InternalCore.execute(InternalCore.java:487)     at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:144)     at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:312)     at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:302)     at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:302)     at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)     at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146)     at scala.util.Try$.apply(Try.scala:192)     at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140)     at akka.actor.Actor$class.aroundReceive(Actor.scala:465)     at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136)     at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)     at akka.actor.ActorCell.invoke(ActorCell.scala:487)     at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)     at akka.dispatch.Mailbox.run(Mailbox.scala:220)     at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)     at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)     at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)     at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)     at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)   Does anyone know how we can fix this? The create account function used to work until today and we don't know what we changed that caused this problem to happen.
asked
1 answers
1

Hi Wessel,

 

Perhaps you can set a breakpoint on the "Set password and save account" activity in the "SaveNewAccount" and check if all the objects are there and attributes are filled that are required. 

To me it looks like an object or attributes are empty.

 

Good luck.

answered