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

java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer	at javax.imageio.stream.FileImageInputStream.(FileImageInputStream.java:98)	at javax.imageio.stream.FileImageInputStream.(FileImageInputStream.java:73)	at com.sun.imageio.spi.FileImageInputStreamSpi.createInputStreamInstance(FileImageInputStreamSpi.java:55)	at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:357)	at javax.imageio.ImageIO.read(ImageIO.java:1304)	at edu.harvard.iq.dataverse.dataaccess.ImageThumbConverter.generateImageThumb(ImageThumbConverter.java:292)	at edu.harvard.iq.dataverse.dataaccess.ImageThumbConverter.generateImageThumb(ImageThumbConverter.java:245)	at edu.harvard.iq.dataverse.DataFileServiceBean.isTemporaryPreviewAvailable(DataFileServiceBean.java:908)	at sun.reflect.GeneratedMethodAccessor2180.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)	at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)	at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)	at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)	at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)	at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)	at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)	at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)	at com.sun.proxy.$Proxy234.isTemporaryPreviewAvailable(Unknown Source)	at edu.harvard.iq.dataverse.__EJB31_Generated__DataFileServiceBean__Intf____Bean__.isTemporaryPreviewAvailable(Unknown Source)	at sun.reflect.GeneratedMethodAccessor2179.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:434)	at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)	at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)	at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)	at edu.harvard.iq.dataverse.DataFileServiceBean$Proxy$_$$_Weld$EnterpriseProxy$.isTemporaryPreviewAvailable(Unknown Source)	at sun.reflect.GeneratedMethodAccessor3731.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at javax.el.ELUtil.invokeMethod(ELUtil.java:332)	at javax.el.BeanELResolver.invoke(BeanELResolver.java:537)	at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256)	at com.sun.el.parser.AstValue.getValue(AstValue.java:136)	at com.sun.el.parser.AstValue.getValue(AstValue.java:204)	at com.sun.el.parser.AstNot.getValue(AstNot.java:63)	at com.sun.el.parser.AstAnd.getValue(AstAnd.java:63)	at com.sun.el.parser.AstOr.getValue(AstOr.java:63)	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)	at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)	at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:457)	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1246)	at org.primefaces.component.api.UIData.process(UIData.java:377)	at org.primefaces.component.api.UIData.processChildren(UIData.java:361)	at org.primefaces.component.api.UIData.processPhase(UIData.java:323)	at org.primefaces.component.api.UIData.processValidators(UIData.java:296)	at org.primefaces.component.datatable.DataTable.processValidators(DataTable.java:713)	at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:575)	at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)	at org.primefaces.component.api.UIData.visitTree(UIData.java:822)	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)	at javax.faces.component.UIForm.visitTree(UIForm.java:371)	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)	at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403)	at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266)	at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219)	at org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:60)	at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1193)	at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:295)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:205)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:412)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)	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:561)	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)	at java.lang.Thread.run(Thread.java:745)