java.lang.NullPointerException

null

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web675

  • via Unknown by Etienne Morency-Bachand [X],
  • via Unknown by Etienne Morency-Bachand [X],
  • Stack trace

    • java.lang.NullPointerException: null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192)[guava-15.0.jar:na] at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.add(ImmutableCollection.java:339)[guava-15.0.jar:na] at com.google.common.collect.ImmutableSet$Builder.add(ImmutableSet.java:479)[guava-15.0.jar:na] at com.google.common.collect.ImmutableSet$Builder.add(ImmutableSet.java:455)[guava-15.0.jar:na] at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)[guava-15.0.jar:na] at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:521)[guava-15.0.jar:na] at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)[guava-15.0.jar:na] at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300)[guava-15.0.jar:na] at org.obiba.magma.support.AbstractValueTable.getVariables(AbstractValueTable.java:121)[magma-api-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable.getVariables(AbstractValueTable.java:30)[magma-api-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariables(AbstractValueTableWrapper.java:77)[magma-api-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.obiba.magma.security.SecuredValueTable.getVariables(SecuredValueTable.java:56)[magma-security-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:222)[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:213)[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResource.getTables(DatasourceTablesResource.java:104)[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResource.getTables(DatasourceTablesResource.java:91)[opal-core-ws-2.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:159)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:92)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)[resteasy-jaxrs-2.3.6.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)[resteasy-jaxrs-2.3.6.Final.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[javax.servlet-2.5.0.v201103041518.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter$1.doInTransactionWithoutResult(OpalJettyServer.java:325)[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter.doFilterInternal(OpalJettyServer.java:321)[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:82)[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalJettyServer$OpalVersionFilter.doFilterInternal(OpalJettyServer.java:305)[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:363)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at java.lang.Thread.run(Thread.java:724)[na:1.7.0_25]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    raytestraytest
    3 times, last one
    Михайло ТітовМихайло Тітов
    arturgajowyarturgajowy
    Once,
    poroszdporoszd
    2 times, last one
    PilleoPilleo
    Once,
    85 more bugmates