java.lang.NoSuchFieldError: theInstance]]

ForgeRock JIRA | avallen | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The fedlet's SAML metadata parsing fails with the following exception, I did not try if OpenAM also has problems with this glassfish release. 3.1.2 is considered an important glassfish update release, fixing lots of bugs, some of them critical :-( libSAML2:03/28/2012 05:44:36:912 PM MESZ: Thread[http-thread-pool-8181(5),5,grizzly-kernel] ERROR: SAML2MetaUtils.static: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactory_1_0_1 could not be instantiated: javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchFieldError: theInstance] - with linked exception: [javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchFieldError: theInstance]] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:160) at javax.xml.bind.ContextFinder.find(ContextFinder.java:308) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313) at com.sun.identity.saml2.meta.SAML2MetaUtils.<clinit>(SAML2MetaUtils.java:120) at com.sun.identity.saml2.meta.SAML2MetaManager.<clinit>(SAML2MetaManager.java:88) at org.apache.jsp.index_jsp._jspService(index_jsp.java from :355) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) Caused by: javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchFieldError: theInstance] at com.sun.xml.bind.ContextFactory_1_0_1.createContext(ContextFactory_1_0_1.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:196) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146) ... 37 more Caused by: java.lang.NoSuchFieldError: theInstance at com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl.<init>(DefaultJAXBContextImpl.java:50) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.xml.bind.ContextFactory_1_0_1.createContext(ContextFactory_1_0_1.java:94) ... 43 more

    ForgeRock JIRA | 5 years ago | avallen
    java.lang.NoSuchFieldError: theInstance]]
  2. 0

    The fedlet's SAML metadata parsing fails with the following exception, I did not try if OpenAM also has problems with this glassfish release. 3.1.2 is considered an important glassfish update release, fixing lots of bugs, some of them critical :-( libSAML2:03/28/2012 05:44:36:912 PM MESZ: Thread[http-thread-pool-8181(5),5,grizzly-kernel] ERROR: SAML2MetaUtils.static: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactory_1_0_1 could not be instantiated: javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchFieldError: theInstance] - with linked exception: [javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchFieldError: theInstance]] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:160) at javax.xml.bind.ContextFinder.find(ContextFinder.java:308) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313) at com.sun.identity.saml2.meta.SAML2MetaUtils.<clinit>(SAML2MetaUtils.java:120) at com.sun.identity.saml2.meta.SAML2MetaManager.<clinit>(SAML2MetaManager.java:88) at org.apache.jsp.index_jsp._jspService(index_jsp.java from :355) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) Caused by: javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchFieldError: theInstance] at com.sun.xml.bind.ContextFactory_1_0_1.createContext(ContextFactory_1_0_1.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:196) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146) ... 37 more Caused by: java.lang.NoSuchFieldError: theInstance at com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl.<init>(DefaultJAXBContextImpl.java:50) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.xml.bind.ContextFactory_1_0_1.createContext(ContextFactory_1_0_1.java:94) ... 43 more

    ForgeRock JIRA | 5 years ago | avallen
    java.lang.NoSuchFieldError: theInstance]]
  3. 0

    WebLogic deployment error | Oracle Community

    oracle.com | 1 year ago
    java.lang.NoSuchFieldError: com/sun/xml/bind/DatatypeConverterImpl.theInstanceLjavax/xml/bind/DatatypeConverterInterface;]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues-cxf-apache - [jira] [Commented] (CXF-5894) java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION - msg#00289 - Recent Discussion OSDir.com

    osdir.com | 7 months ago
    java.lang.NoSuchFieldError: > com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION > at > com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:93) > ~[jaxb-impl-2.2.7.jar:2.2.7] > at > com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455) > ~[jaxb-impl-2.2.7.jar:2.2.7] > at > com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303) > ~[jaxb-impl-2.2.7.jar:2.2.7] > at > com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:142) > ~[jaxb-impl-2.2.7.jar:2.2.7] > at > com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174) > ~[jaxb-impl-2.2.7.jar:2.2.7] > at > com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162) > ~[jaxb-impl-2.2.7.jar:2.2.7] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.7.0] > at java.lang.reflect.Method.invoke(Method.java:607) ~[na:2.6 > (06-17-2013)] > at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:259)
  6. 0

    WebLogic deployment error | Oracle Community

    oracle.com | 11 months ago
    java.lang.NoSuchFieldError: com/sun/xml/bind/DatatypeConverterImpl.theInstanceLjavax/xml/bind/DatatypeConverterInterface;]]

    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.NoSuchFieldError

      theInstance]]

      at javax.xml.bind.ContextFinder.newInstance()
    2. Java RT
      JAXBContext.newInstance
      1. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:160)
      2. javax.xml.bind.ContextFinder.find(ContextFinder.java:308)
      3. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)
      4. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)
      5. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313)
      5 frames
    3. com.sun.identity
      SAML2MetaManager.<clinit>
      1. com.sun.identity.saml2.meta.SAML2MetaUtils.<clinit>(SAML2MetaUtils.java:120)
      2. com.sun.identity.saml2.meta.SAML2MetaManager.<clinit>(SAML2MetaManager.java:88)
      2 frames