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

  1. ,

    If you want to access functions/variables of a class from a different class they can't be private. The modifier private means that a function/variable can only be accessed from within the same class. Try the default, protected or public modifier.

  2. ,

    When a member (Variables, methods, and constructors) is private, it is only accessible within the same class as it is declared. Attempting to access or instantiate it from another class would throw java.lang.IllegalAccessException exception.

Solutions on the web

via GitHub by drcrallen
, 1 year ago
com.sun.jersey.api.container.ContainerException: java.lang.IllegalAccessException: Class com.sun.jersey.spi.container.JavaMethodInvokerFactory$1 can not access a member of class io.druid.query.lookup.NamespaceLookupExtractorFactory$1 with modifiers "public"
via GitHub by jowy
, 2 years ago
com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class io.druid.indexing.common.task.IndexTask] value failed: null
via Oracle Community by 808879, 2 years ago
com.sun.jersey.api.container.MappableContainerException: com.bea.content.RepositoryException: Please specify a valid ID object. Make sure the repository name is not null.
via GitHub by vincent-zurczak
, 2 years ago
java.lang.NoClassDefFoundError: Could not initialize class com.github.dockerjava.jaxrs.DockerCmdExecFactoryImpl
via GitHub by lfoppiano
, 1 year ago
systems.uom.ucum.internal.format.TokenMgrError: Lexical error at line 1, column 1. Encountered: "\u00b5" (181), after : ""
javax.servlet.ServletException: com.sun.jersey.api.container.ContainerException: java.lang.IllegalAccessException: Class com.sun.jersey.spi.container.JavaMethodInvokerFactory$1 can not access a member of class io.druid.query.lookup.NamespaceLookupExtractorFactory$1 with modifiers "public" at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:423)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.Server.handle(Server.java:497)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_45]Caused by: com.sun.jersey.api.container.ContainerException: java.lang.IllegalAccessException: Class com.sun.jersey.spi.container.JavaMethodInvokerFactory$1 can not access a member of class io.druid.query.lookup.NamespaceLookupExtractorFactory$1 with modifiers "public" at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:84)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] ... 32 moreCaused by: java.lang.IllegalAccessException: Class com.sun.jersey.spi.container.JavaMethodInvokerFactory$1 can not access a member of class io.druid.query.lookup.NamespaceLookupExtractorFactory$1 with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)[?:1.8.0_45] at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)[?:1.8.0_45] at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)[?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:490)[?:1.8.0_45] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[druid-selfcontained-0.9.1-rc3-mmx0.jar:0.9.1-rc3-mmx0] ... 44 more