Backendless Support
 
Waiting for user's response

Error causing issues with one of 2 production servers

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)}

span.s1 {font-variant-ligatures: no-common-ligatures}

span.Apple-tab-span {white-space:pre}

[ERROR] - 2018-04-13 19:20:46,873 - from backendless in application-akka.actor.default-dispatcher-19979

main_application --- Unhandled exception in app <name removed>(ID: D82BC6D3-D544-691A-FFBA-7A8127E02F00); error ID: 95B451D2-1522-F7A7-FF11-D28E56D10A00

java.lang.IllegalArgumentException: No enum constant com.backendless.datamodel.enums.ProtocolType.

at java.lang.Enum.valueOf(Enum.java:238)

at com.backendless.datamodel.enums.ProtocolType.valueOf(ProtocolType.java:3)

at com.backendless.management.appsettings.ManageAppSettingsService.getEmailSettingsFromDB(ManageAppSettingsService.java:305)

at com.backendless.management.appsettings.ManageAppSettingsService.getAppSettings(ManageAppSettingsService.java:159)

at controllers.console.ManageAppSettings.getAppSettings(ManageAppSettings.java:96)

at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$201$$anonfun$apply$201.apply(Routes.scala:10878)

at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$201$$anonfun$apply$201.apply(Routes.scala:10878)

at play.core.routing.HandlerInvokerFactory$$anon$4.resultCall(HandlerInvoker.scala:157)

at play.core.routing.HandlerInvokerFactory$$anon$4.resultCall(HandlerInvoker.scala:156)

at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$14$$anon$3$$anon$1.invocation(HandlerInvoker.scala:136)

at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:73)

at play.http.HttpRequestHandler$1.call(HttpRequestHandler.java:54)

at com.backendless.googleanalytic.GoogleAnalytic.call(GoogleAnalytic.java:34)

at com.backendless.management.developer.Authorize.call(Authorize.java:25)

at com.backendless.management.developer.ConsoleValidateApplication.call(ConsoleValidateApplication.java:35)

at com.backendless.management.developer.Authenticate.call(Authenticate.java:29)

at com.backendless.old.security.ConsoleOriginAction.call(ConsoleOriginAction.java:36)

at com.backendless.CloseEntityManagerAction.call(CloseEntityManagerAction.java:36)

at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)

at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)

at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)

at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)

at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:56)

at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:70)

at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:48)

at scala.concurrent.impl.Future$.apply(Future.scala:31)

at scala.concurrent.Future$.apply(Future.scala:494)

at play.core.j.JavaAction.apply(JavaAction.scala:108)

at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)

at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)

at play.utils.Threads$.withContextClassLoader(Threads.scala:21)

at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:111)

at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:110)

at scala.Option.map(Option.scala:146)

at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:110)

at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:103)

at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:253)

at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)

at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)

at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)

at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)

at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)

at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)

at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)

at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Leave a Comment

Comments (1)

photo
1

Hello,

the problem is with `mail.properties` file something wrong with this string `config.mail.settings.protocol = TLS` maybe some extra whitespaces. there can be values `TLS` or `SSL` in upper case