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. ,
    Expert tip

    Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

Solutions on the web

via GitHub by anhdenday
, 2 years ago
URI template of the newly created target must not be null.
via Atlassian JIRA by Kim Toms, 1 year ago
via Atlassian JIRA by Kim Toms, 1 year ago
via Atlassian JIRA by Kim Toms, 1 year ago
via Atlassian JIRA by Kim Toms, 1 year ago
java.lang.NullPointerException: URI template of the newly created target must not be null.	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:179)	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:69)	at org.openstack4j.core.transport.internal.HttpExecutor.invoke(HttpExecutor.java:74)	at org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:53)	at org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:44)	at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:136)	at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:131)	at org.openstack4j.openstack.compute.internal.FlavorServiceImpl.list(FlavorServiceImpl.java:24)	at com.vdco.icloud.openstack.web.servlet.jsf2.DropletBean.getFlavorList(DropletBean.java:70)	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:606)	at javax.el.BeanELResolver.invoke(BeanELResolver.java:484)	at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:161)	at org.apache.el.parser.AstValue.getValue(AstValue.java:173)	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)	at javax.faces.component.UISelectItems.getValue(UISelectItems.java:129)	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:606)	at com.sun.faces.facelets.util.DevTools.writeAttributes(DevTools.java:380)	at com.sun.faces.facelets.util.DevTools.writeStart(DevTools.java:433)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:250)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:269)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:269)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:269)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:269)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:269)	at com.sun.faces.facelets.util.DevTools.writeComponent(DevTools.java:269)	at com.sun.faces.facelets.util.DevTools.debugHtml(DevTools.java:131)	at com.sun.faces.renderkit.RenderKitUtils.renderHtmlErrorPage(RenderKitUtils.java:1206)	at com.sun.faces.context.ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:269)	at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:139)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:98)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)