java.lang.IllegalArgumentException: "und" is not a valid lexical representation of {http://www.w3.org/2001/XMLSchema}language

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

Solutions on the web

via Oracle Community by 666705, 1 year ago
"und" is not a valid lexical representation of {http://www.w3.org/2001/XMLSchema}language
java.lang.IllegalArgumentException: "und" is not a valid lexical representation of {http://www.w3.org/2001/XMLSchema}language
at weblogic.xml.schema.types.XSDLanguage.validateXml(XSDLanguage.java:93)
at weblogic.xml.schema.types.XSDLanguage.getCanonicalXml(XSDLanguage.java:127)
at weblogic.xml.schema.types.XSDLanguage.getXml(XSDLanguage.java:111)
at weblogic.xml.schema.binding.internal.builtin.XSDLanguageSerializer.getContentFromObject(XSDLanguageSerializer.java:22)
at be.belgium.fsb.common.isocodes.LanguageSerializer.getContentFromObject(LanguageSerializer.java:37)
at weblogic.xml.schema.binding.internal.builtin.XSDSimpleTypeSerializer.writeContentToStream(XSDSimpleTypeSerializer.java:137)
at weblogic.xml.schema.binding.internal.builtin.XSDSimpleTypeSerializer.writeContents(XSDSimpleTypeSerializer.java:130)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.internal.builtin.XSDSimpleTypeSerializer.serialize(XSDSimpleTypeSerializer.java:104)
at weblogic.xml.schema.binding.BeanCodecBase.writeElementContents(BeanCodecBase.java:422)
at weblogic.xml.schema.binding.BeanCodecBase.writeContents(BeanCodecBase.java:356)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.SequenceCodecBase.doContents(SequenceCodecBase.java:271)
at weblogic.xml.schema.binding.SequenceCodecBase.writeContents(SequenceCodecBase.java:287)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:311)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.BeanCodecBase.writeElementContents(BeanCodecBase.java:422)
at weblogic.xml.schema.binding.BeanCodecBase.writeContents(BeanCodecBase.java:356)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.BeanCodecBase.writeElementContents(BeanCodecBase.java:422)
at weblogic.xml.schema.binding.BeanCodecBase.writeContents(BeanCodecBase.java:356)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.BeanCodecBase.writeElementContents(BeanCodecBase.java:422)
at weblogic.xml.schema.binding.BeanCodecBase.writeContents(BeanCodecBase.java:356)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.SequenceCodecBase.doContents(SequenceCodecBase.java:271)
at weblogic.xml.schema.binding.SequenceCodecBase.writeContents(SequenceCodecBase.java:287)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:311)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.BeanCodecBase.writeElementContents(BeanCodecBase.java:422)
at weblogic.xml.schema.binding.BeanCodecBase.writeContents(BeanCodecBase.java:356)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.BeanCodecBase.writeElementContents(BeanCodecBase.java:422)
at weblogic.xml.schema.binding.BeanCodecBase.writeContents(BeanCodecBase.java:356)
at weblogic.xml.schema.binding.CodecBase.writeTypeAndContents(CodecBase.java:427)
at weblogic.xml.schema.binding.CodecBase.serializeLiteral(CodecBase.java:336)
at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:250)
at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:193)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:188)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:150)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:549)
at weblogic.webservice.server.Dispatcher$1.run(Dispatcher.java:211)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:217)
at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:100)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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