java.lang.IllegalArgumentException: Only ONE Relations container is allowed in a Mapping Coding Scheme.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you are trying to get a specific page of results, try first defining that page.

Solutions on the web

via GitHub by leetal
, 1 year ago
Only ONE Relations container is allowed in a Mapping Coding Scheme.
via Spring JIRA by Amy Aldredge, 1 year ago
Target bean is not of type of the persistent entity!
via Stack Overflow by mhmpl
, 1 year ago
Expecting to only find a single bean for type interface org.springframework.security.authentication.AuthenticationManager, but found []
via Atlassian JIRA by Arne Schirmacher (Pix Software GmbH), 1 year ago
Draft type is required
via Atlassian JIRA by Arne Schirmacher (Pix Software GmbH), 1 year ago
Draft type is required
via GitHub by cmader
, 2 years ago
${cas.logout.url} isn't a valid redirect URL
java.lang.IllegalArgumentException: Only ONE Relations container is allowed in a Mapping Coding Scheme.
at edu.mayo.cts2.framework.plugin.service.lexevs.service.mapversion.CodingSchemeToMapVersionTransform.getFromToCodingSchemes(CodingSchemeToMapVersionTransform.java:150)
at edu.mayo.cts2.framework.plugin.service.lexevs.service.mapversion.CodingSchemeToMapVersionTransform.transformFullDescription(CodingSchemeToMapVersionTransform.java:92)
at edu.mayo.cts2.framework.plugin.service.lexevs.service.mapversion.LexEvsMapVersionReadService.transform(LexEvsMapVersionReadService.java:68)
at edu.mayo.cts2.framework.plugin.service.lexevs.service.mapversion.LexEvsMapVersionReadService.transform(LexEvsMapVersionReadService.java:43)
at edu.mayo.cts2.framework.plugin.service.lexevs.service.AbstractLexEvsCodeSystemService.getByVersionIdOrTag(AbstractLexEvsCodeSystemService.java:65)
at edu.mayo.cts2.framework.plugin.service.lexevs.service.mapversion.LexEvsMapVersionReadService.read(LexEvsMapVersionReadService.java:114)
at edu.mayo.cts2.framework.plugin.service.lexevs.service.mapversion.LexEvsMapVersionReadService.read(LexEvsMapVersionReadService.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at edu.mayo.cts2.framework.webapp.service.AbstractServiceAwareBean$1.invoke(AbstractServiceAwareBean.java:125)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at com.sun.proxy.$Proxy60.read(Unknown Source)
at edu.mayo.cts2.framework.webapp.rest.controller.AbstractMessageWrappingController.doRead(AbstractMessageWrappingController.java:299)
at edu.mayo.cts2.framework.webapp.rest.controller.MapVersionController.getMapVersionByName(MapVersionController.java:479)
at edu.mayo.cts2.framework.webapp.rest.controller.MapVersionController$$FastClassByCGLIB$$9a17962f.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at edu.mayo.cts2.framework.webapp.rest.controller.MapVersionController$$EnhancerByCGLIB$$a7d633ef.getMapVersionByName()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at edu.mayo.cts2.framework.webapp.rest.filter.AcceptHeaderAdjustingFilter.doFilter(AcceptHeaderAdjustingFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at edu.mayo.cts2.framework.webapp.rest.filter.AcceptHeaderAdjustingFilter.doFilter(AcceptHeaderAdjustingFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at edu.mayo.cts2.framework.webapp.rest.filter.jsonp.JsonpCallbackFilter.doFilter(JsonpCallbackFilter.java:95)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at edu.mayo.cts2.framework.webapp.rest.osgi.OsgiExtensionPointFilterProxy.doFilter(OsgiExtensionPointFilterProxy.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 days ago
Once, 5 months ago
Once, 5 days ago
56 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.