Error Starting the Server after including Emailing Module

0
Server was unable to complete the request due to an error Request action: start Message: An error occurred while initializing modules Cause: Stack trace: com.mendix.m2ee.api.AdminException: An error occurred while initializing modules at com.mendix.core.impl.MxRuntimeImpl.initializeModules(SourceFile:505) Caused by: java.lang.NullPointerException at com.mendix.languages.expressions.EnumerationValueExpr.<init (SourceFile:22) at com.mendix.languages.parsers.MxExpressionsParser.enumerationValue(SourceFile:239) at com.mendix.languages.parsers.MxExpressionsParser.primaryExprHook(SourceFile:192) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.unaryExpr(SourceFile:746) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.multiplicativeExpr(SourceFile:645) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.additiveExpr(SourceFile:563) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.relationalExpr(SourceFile:488) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.equalityExpr(SourceFile:413) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.andExpr(SourceFile:307) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.orExpr(SourceFile:235) at com.mendix.languages.parsers.MxExpressions_ExpressionsParser.expr(SourceFile:138) at com.mendix.languages.parsers.MxExpressionsParser.expr(SourceFile:266) at com.mendix.languages.parsers.MxExpressionsParser.mxExpression(SourceFile:110) at com.mendix.languages.mxexpressions.MxExpressionASTBuilder.buildMxExpressionAST(SourceFile:19) at com.mendix.languages.LanguageParser$.parseMxExpression(SourceFile:15) at com.mendix.languages.LanguageParser.parseMxExpression(SourceFile) at com.mendix.hs.a(SourceFile:214) at com.mendix.hs.createMicroflowAction(SourceFile:135) at com.mendix.hv.a(SourceFile:29) at com.mendix.ht.a(SourceFile:57) at com.mendix.ij.a(SourceFile:272) at com.mendix.ij.a(SourceFile:142) at com.mendix.modules.microflowengine.MicroflowEngineModule.initialize(SourceFile:61) at com.mendix.core.impl.MxRuntimeImpl.initializeModules(SourceFile:493) at com.mendix.core.impl.MxRuntimeImpl.doFire(SourceFile:443) at com.mendix.core.impl.MxRuntimeImpl.fireZeeMissile(SourceFile:401) at com.mendix.core.impl.MxRuntimeImpl.start(SourceFile:284) at com.mendix.core.impl.MxRuntimeImpl.start(SourceFile:226) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:56) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:34) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:133) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:647) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:744)
asked
1 answers
0

You have a nullpointer exception. That means you have an empty value where there should be one. Did you created your own values for the enumeration TemplateType?

Regards,

Ronald

answered