java.lang.IllegalStateException: OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable

Atlassian JIRA | Diego Berrueta | 2 years ago
  1. 0

    [CWD-4129] CrowdID v2 server does not work out of the box in the standalone distribution - Atlassian JIRA

    atlassian.com | 11 months ago
    java.lang.IllegalStateException: OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable
  2. 0

    h1. Steps to reproduce Download, unpack, set the crowd.home dir and install the Crowd standalone distribution as usual. Remember to enable the CrowdID integrated application during the set up process. h1. Expected behaviour The new CrowdID v2 server works without requiring extra configuration. h1. Observed behaviour The following exception is logged in the catalina.out file (not the Crowd log file) shortly after running `./start_crowd.sh`: {noformat} INFO: Deploying configuration descriptor /Users/dberrueta/smoke/atlassian-crowd-2.8.0/apache-tomcat/conf/Catalina/localhost/openidserver.xml 2014-11-12 10:25:45,421 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/jdbc.properties]: ${crowd.openid.home}/jdbc.properties (No such file or directory) 2014-11-12 10:25:45,421 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/crowd.properties]: ${crowd.openid.home}/crowd.properties (No such file or directory) 2014-11-12 10:25:45,421 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.properties}]: ${crowd.openid.properties} (No such file or directory) 2014-11-12 10:25:46,376 localhost-startStop-1 INFO [com.atlassian.crowd.startup] Starting the Crowd OpenID server, version: 2.8.0 (Build:#645 - 2014-11-05) ********************************************************************************************* * * You can now use the Crowd OpenID server by visiting http://localhost:8095/openidserver * ********************************************************************************************* 2014-11-12 10:25:46,488 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/jdbc.properties]: ${crowd.openid.home}/jdbc.properties (No such file or directory) 2014-11-12 10:25:46,488 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/crowd.properties]: ${crowd.openid.home}/crowd.properties (No such file or directory) 2014-11-12 10:25:46,488 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.properties}]: ${crowd.openid.properties} (No such file or directory) 2014-11-12 10:25:46,630 localhost-startStop-1 INFO [crowd.service.client.ClientResourceLocator] The file cannot be read or does not exist: ${crowd.openid.home}/crowd.properties 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'application.name' : 'crowd-openid-server' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'application.login.url' : 'http://localhost:8095/openidserver' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'session.tokenkey' : 'session.tokenkey' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'session.lastvalidation' : 'session.lastvalidation' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'session.validationinterval' : '0' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Failed to find value for property: cookie.domain 2014-11-12 10:25:46,636 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Failed to find value for property: application.login.url.template 2014-11-12 10:25:46,636 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'application.base.url' : 'http://localhost:8095/openidserver' 2014-11-12 10:25:46,774 localhost-startStop-1 INFO [crowd.service.client.ClientResourceLocator] The file cannot be read or does not exist: ${crowd.openid.home}/crowdid.approval-whitelist 2014-11-12 10:25:46,776 localhost-startStop-1 INFO [server.manager.site.ApprovalWhitelist] Using file as a site approval whitelist: /Users/dberrueta/smoke/atlassian-crowd-2.8.0/crowd-openidserver-webapp/WEB-INF/classes/crowdid.approval-whitelist 2014-11-12 10:25:46,833 localhost-startStop-1 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled; 2014-11-12 10:25:47,525 openid-spray-akka.actor.default-dispatcher-4 ERROR [spray.server.servlet.Boot] Failed to configure and start spray component of openid server java.lang.IllegalStateException: OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply(Boot.scala:44) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply(Boot.scala:44) at scala.Option.fold(Option.scala:157) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply(Boot.scala:45) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply(Boot.scala:39) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply(Boot.scala:39) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply(Boot.scala:36) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply(Boot.scala:36) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply(Boot.scala:35) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1.apply(Boot.scala:35) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1.apply(Boot.scala:34) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot.buildConfig(Boot.scala:34) at com.atlassian.crowd.openid.spray.server.servlet.Boot.<init>(Boot.scala:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at spray.servlet.Initializer$$anonfun$contextInitialized$1.apply$mcV$sp(Initializer.scala:54) at akka.util.Switch.transcend(LockUtil.scala:27) at akka.util.Switch.switchOn(LockUtil.scala:48) at spray.servlet.Initializer.contextInitialized(Initializer.scala:33) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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) Nov 12, 2014 10:25:47 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor /Users/dberrueta/smoke/atlassian-crowd-2.8.0/apache-tomcat/conf/Catalina/localhost/openidserver.xml has finished in 5,906 ms {noformat} The "old" CrowdID server works fine, but any request made to the /v2 server, like http://localhost:8095/openidserver/v2/op returns a 500 error with a stacktrace, that is also logged in the catalina.out: {noformat} 2014-11-12 10:30:28,196 http-bio-8095-exec-1 ERROR [500ErrorPage] Exception caught in 500 page requirement failed: No ActorSystem configured java.lang.IllegalArgumentException: requirement failed: No ActorSystem configured at scala.Predef$.require(Predef.scala:233) at spray.servlet.Servlet30ConnectorServlet.init(Servlet30ConnectorServlet.scala:50) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}

    Atlassian JIRA | 2 years ago | Diego Berrueta Munoz
    java.lang.IllegalStateException: OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable
  3. 0

    h1. Steps to reproduce Download, unpack, set the crowd.home dir and install the Crowd standalone distribution as usual. Remember to enable the CrowdID integrated application during the set up process. h1. Expected behaviour The new CrowdID v2 server works without requiring extra configuration. h1. Observed behaviour The following exception is logged in the catalina.out file (not the Crowd log file) shortly after running `./start_crowd.sh`: {noformat} INFO: Deploying configuration descriptor /Users/dberrueta/smoke/atlassian-crowd-2.8.0/apache-tomcat/conf/Catalina/localhost/openidserver.xml 2014-11-12 10:25:45,421 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/jdbc.properties]: ${crowd.openid.home}/jdbc.properties (No such file or directory) 2014-11-12 10:25:45,421 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/crowd.properties]: ${crowd.openid.home}/crowd.properties (No such file or directory) 2014-11-12 10:25:45,421 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.properties}]: ${crowd.openid.properties} (No such file or directory) 2014-11-12 10:25:46,376 localhost-startStop-1 INFO [com.atlassian.crowd.startup] Starting the Crowd OpenID server, version: 2.8.0 (Build:#645 - 2014-11-05) ********************************************************************************************* * * You can now use the Crowd OpenID server by visiting http://localhost:8095/openidserver * ********************************************************************************************* 2014-11-12 10:25:46,488 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/jdbc.properties]: ${crowd.openid.home}/jdbc.properties (No such file or directory) 2014-11-12 10:25:46,488 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.home}/crowd.properties]: ${crowd.openid.home}/crowd.properties (No such file or directory) 2014-11-12 10:25:46,488 localhost-startStop-1 WARN [springframework.context.support.PropertySourcesPlaceholderConfigurer] Could not load properties from URL [file:${crowd.openid.properties}]: ${crowd.openid.properties} (No such file or directory) 2014-11-12 10:25:46,630 localhost-startStop-1 INFO [crowd.service.client.ClientResourceLocator] The file cannot be read or does not exist: ${crowd.openid.home}/crowd.properties 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'application.name' : 'crowd-openid-server' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'application.login.url' : 'http://localhost:8095/openidserver' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'session.tokenkey' : 'session.tokenkey' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'session.lastvalidation' : 'session.lastvalidation' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'session.validationinterval' : '0' 2014-11-12 10:25:46,635 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Failed to find value for property: cookie.domain 2014-11-12 10:25:46,636 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Failed to find value for property: application.login.url.template 2014-11-12 10:25:46,636 localhost-startStop-1 INFO [openid.server.filter.OpenIDServerClientPropertiesImpl] Loading property: 'application.base.url' : 'http://localhost:8095/openidserver' 2014-11-12 10:25:46,774 localhost-startStop-1 INFO [crowd.service.client.ClientResourceLocator] The file cannot be read or does not exist: ${crowd.openid.home}/crowdid.approval-whitelist 2014-11-12 10:25:46,776 localhost-startStop-1 INFO [server.manager.site.ApprovalWhitelist] Using file as a site approval whitelist: /Users/dberrueta/smoke/atlassian-crowd-2.8.0/crowd-openidserver-webapp/WEB-INF/classes/crowdid.approval-whitelist 2014-11-12 10:25:46,833 localhost-startStop-1 WARN [org.openid4java.server.RealmVerifier] RP discovery / realm validation disabled; 2014-11-12 10:25:47,525 openid-spray-akka.actor.default-dispatcher-4 ERROR [spray.server.servlet.Boot] Failed to configure and start spray component of openid server java.lang.IllegalStateException: OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply(Boot.scala:44) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply(Boot.scala:44) at scala.Option.fold(Option.scala:157) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply(Boot.scala:45) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply(Boot.scala:39) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply(Boot.scala:39) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply(Boot.scala:36) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply(Boot.scala:36) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply(Boot.scala:35) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1.apply(Boot.scala:35) at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1.apply(Boot.scala:34) at scala.util.Success.flatMap(Try.scala:200) at com.atlassian.crowd.openid.spray.server.servlet.Boot.buildConfig(Boot.scala:34) at com.atlassian.crowd.openid.spray.server.servlet.Boot.<init>(Boot.scala:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at spray.servlet.Initializer$$anonfun$contextInitialized$1.apply$mcV$sp(Initializer.scala:54) at akka.util.Switch.transcend(LockUtil.scala:27) at akka.util.Switch.switchOn(LockUtil.scala:48) at spray.servlet.Initializer.contextInitialized(Initializer.scala:33) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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) Nov 12, 2014 10:25:47 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor /Users/dberrueta/smoke/atlassian-crowd-2.8.0/apache-tomcat/conf/Catalina/localhost/openidserver.xml has finished in 5,906 ms {noformat} The "old" CrowdID server works fine, but any request made to the /v2 server, like http://localhost:8095/openidserver/v2/op returns a 500 error with a stacktrace, that is also logged in the catalina.out: {noformat} 2014-11-12 10:30:28,196 http-bio-8095-exec-1 ERROR [500ErrorPage] Exception caught in 500 page requirement failed: No ActorSystem configured java.lang.IllegalArgumentException: requirement failed: No ActorSystem configured at scala.Predef$.require(Predef.scala:233) at spray.servlet.Servlet30ConnectorServlet.init(Servlet30ConnectorServlet.scala:50) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}

    Atlassian JIRA | 2 years ago | Diego Berrueta
    java.lang.IllegalStateException: OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot open workspace-external file in Xtext-based plugin

    Stack Overflow | 5 years ago | John J. Camilleri
    java.lang.IllegalStateException: Was configured with another client or not configured at all.
  6. 0

    Exceptions when starting Eclipse with open Xtext-Editors during XtextEditor.dispose()

    Eclipse Bugzilla | 7 years ago | moritz.eysholdt
    java.lang.IllegalStateException: Was configured with another client or not configured at all.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      OpenID server application.login.url.template not configured or missing ${RETURN_TO_URL} variable

      at com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply()
    2. com.atlassian.crowd
      Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply
      1. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply(Boot.scala:44)
      2. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$8.apply(Boot.scala:44)
      2 frames
    3. Scala
      Option.fold
      1. scala.Option.fold(Option.scala:157)
      1 frame
    4. com.atlassian.crowd
      Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply
      1. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply(Boot.scala:45)
      2. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$6.apply(Boot.scala:39)
      2 frames
    5. Scala
      Success.flatMap
      1. scala.util.Success.flatMap(Try.scala:200)
      1 frame
    6. com.atlassian.crowd
      Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply
      1. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply(Boot.scala:39)
      2. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1$$anonfun$apply$4.apply(Boot.scala:36)
      2 frames
    7. Scala
      Success.flatMap
      1. scala.util.Success.flatMap(Try.scala:200)
      1 frame
    8. com.atlassian.crowd
      Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply
      1. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply(Boot.scala:36)
      2. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1$$anonfun$apply$1.apply(Boot.scala:35)
      2 frames
    9. Scala
      Success.flatMap
      1. scala.util.Success.flatMap(Try.scala:200)
      1 frame
    10. com.atlassian.crowd
      Boot$$anonfun$buildConfig$1.apply
      1. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1.apply(Boot.scala:35)
      2. com.atlassian.crowd.openid.spray.server.servlet.Boot$$anonfun$buildConfig$1.apply(Boot.scala:34)
      2 frames
    11. Scala
      Success.flatMap
      1. scala.util.Success.flatMap(Try.scala:200)
      1 frame
    12. com.atlassian.crowd
      Boot.<init>
      1. com.atlassian.crowd.openid.spray.server.servlet.Boot.buildConfig(Boot.scala:34)
      2. com.atlassian.crowd.openid.spray.server.servlet.Boot.<init>(Boot.scala:65)
      2 frames
    13. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:408)
      4 frames
    14. spray.servlet
      Initializer$$anonfun$contextInitialized$1.apply$mcV$sp
      1. spray.servlet.Initializer$$anonfun$contextInitialized$1.apply$mcV$sp(Initializer.scala:54)
      1 frame
    15. Akka Actor
      Switch.switchOn
      1. akka.util.Switch.transcend(LockUtil.scala:27)
      2. akka.util.Switch.switchOn(LockUtil.scala:48)
      2 frames
    16. spray.servlet
      Initializer.contextInitialized
      1. spray.servlet.Initializer.contextInitialized(Initializer.scala:33)
      1 frame
    17. Glassfish Core
      HostConfig$DeployDescriptor.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
      7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
      8. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862)
      8 frames
    18. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames