M2EE Error which prevents me from viewing the app. Does anyone know why and how to solve it ?
0
An error occurred while initializing the Runtime: Character is neither a decimal digit number, decimal point, nor "e" notation exponential mark. An error occurred while initializing the Runtime: Character is neither a decimal digit number, decimal point, nor "e" notation exponential mark. -------- com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Character is neither a decimal digit number, decimal point, nor "e" notation exponential mark. at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:267) Caused by: java.lang.NumberFormatException: Character is neither a decimal digit number, decimal point, nor "e" notation exponential mark. at java.base/java.math.BigDecimal.<init>(BigDecimal.java:518) at java.base/java.math.BigDecimal.<init>(BigDecimal.java:401) at java.base/java.math.BigDecimal.<init>(BigDecimal.java:834) at com.mendix.basis.value.DecimalValue$.$anonfun$apply$2(MendixValue.scala:246) at scala.util.Try$.apply(Try.scala:210) at com.mendix.basis.value.DecimalValue$.apply(MendixValue.scala:246) at com.mendix.basis.objectmanagement.meta.datavalidation.DataValidation$.valueOf(DataValidation.scala:35) at com.mendix.basis.objectmanagement.meta.datavalidation.FixedValue.<init>(ValidationValue.scala:13) at com.mendix.basis.objectmanagement.SchemeFactoryBase.initializeDataValidation(SchemeFactoryBase.java:408) at com.mendix.basis.objectmanagement.SchemeFactory.scheme$lzycompute(SchemeFactory.scala:44) at com.mendix.basis.objectmanagement.SchemeFactory.scheme(SchemeFactory.scala:23) at com.mendix.basis.objectmanagement.MendixObjectFactory$$anonfun$$lessinit$greater$1.apply(MendixObjectFactory.scala:26) at com.mendix.basis.objectmanagement.MendixObjectFactory$$anonfun$$lessinit$greater$1.apply(MendixObjectFactory.scala:26) at com.mendix.basis.objectmanagement.MendixObjectFactory.initializeObjectInstances(MendixObjectFactory.scala:36) at com.mendix.basis.impl.MxRuntimeImpl.initializeCore(MxRuntimeImpl.scala:411) at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:233) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.scala:30) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.scala:17) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1385) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1307) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) at org.eclipse.jetty.server.Server.handle(Server.java:563) at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:936) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1080) at java.base/java.lang.Thread.run(Thread.java:829)
asked
Ayman Yafouz
1 answers
0
The NumberFormatException is an unchecked exception in Java that occurs when an attempt is made to convert a string with an incorrect format to a numeric value.
So you need to find your logic where you call that logic and set proper values and maybe error handling.