org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via java.net by Unknown author, 1 year ago
via Java.net JIRA by Tom Mueller, 1 year ago
java.lang.ExceptionInInitializerError
org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
at org.glassfish.web.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2764)
at org.glassfish.web.loader.WebappClassLoader.findResource(WebappClassLoader.java:1256)
at org.glassfish.web.loader.WebappClassLoader.findResource(WebappClassLoader.java:1240)
at javax.xml.datatype.SecuritySupport$4.run(SecuritySupport.java:90)
at java.security.AccessController.doPrivileged(Native Method)
at javax.xml.datatype.SecuritySupport.getResourceAsStream(SecuritySupport.java:83)
at javax.xml.datatype.FactoryFinder.findJarServiceProvider(FactoryFinder.java:248)
at javax.xml.datatype.FactoryFinder.find(FactoryFinder.java:221)
at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:129)
at javax.xml.bind.DatatypeConverterImpl.(DatatypeConverterImpl.java:889)
at javax.xml.bind.DatatypeConverter.initConverter(DatatypeConverter.java:140)
at org.glassfish.admin.rest.resources.admin.CommandResource.checkCommandModelETag(CommandResource.java:330)
at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:378)
at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:231)
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:601)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:358)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:353)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:99)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:179)
at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:319)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:273)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:818)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:562)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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