java.sql.SQLException: java.lang.NullPointerException

GitHub | vania-pooh | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 156#247988757

    GitHub | 6 months ago | vania-pooh
    java.sql.SQLException: java.lang.NullPointerException
  2. 0

    GitHub comment 20#172409496

    GitHub | 1 year ago | jkane001
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    * Using svn+ssh with private key located at ~jenkins/.ssh/id_rsa (/var/lib/jenkins/.ssh/id_rsa) * Issue occurred during first attempted builds after installing and configuring * Successfully ran svn checkout by hand * Attempted fix as detailed here: http://blog.vinodsingh.com/2009/08/hudson-svn-authentication-cancelled.html (as per: https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin ) with no success Output of latest build failure: Started by an SCM change Building in workspace /var/lib/jenkins/jobs/blank2buf/workspace Checking out a fresh workspace because there's no workspace at /var/lib/jenkins/jobs/blank2buf/workspace Cleaning local Directory . Checking out svn+ssh://redactedusername@pl6.projectlocker.com/SP/svn/sports_player/trunk/blank2buf/trunk at revision '2016-03-14T11:37:45.090 -0500' ERROR: Failed to check out svn+ssh://redactedusername@pl6.projectlocker.com/SP/svn/sports_player/trunk/blank2buf/trunk org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:149) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:77) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1273) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLatestRevision(SVNRepositoryImpl.java:172) at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getRevisionNumber(SVNBasicDelegate.java:480) at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getLocations(SVNBasicDelegate.java:833) at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:527) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:875) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:66) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:18) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:119) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:134) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:988) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:969) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:945) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:894) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:830) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) FATAL: null java.lang.NullPointerException at java.util.ArrayList.addAll(ArrayList.java:577) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:894) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:830) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 1 year ago | David Thurstenson
    java.lang.NullPointerException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.util.ArrayList.addAll()
  2. Java RT
    ArrayList.addAll
    1. java.util.ArrayList.addAll(ArrayList.java:577)
    1 frame
  3. org.meridor.perspective
    IndexScanStrategy.lambda$foreignKeyJoin$11
    1. org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy$2.<init>(IndexScanStrategy.java:209)
    2. org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy.lambda$foreignKeyJoin$11(IndexScanStrategy.java:207)
    2 frames
  4. Java RT
    ReferencePipeline.forEach
    1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    2. java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    3. java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    4. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
    5. java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
    6. java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    7. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    8. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    9. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
    10. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
    11. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    12. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
    12 frames
  5. org.meridor.perspective
    QueryProcessorImpl$1.load
    1. org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy.foreignKeyJoin(IndexScanStrategy.java:207)
    2. org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy.process(IndexScanStrategy.java:56)
    3. org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.fetchDataFromStrategy(ParentStrategy.java:43)
    4. org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.fetchData(ParentStrategy.java:36)
    5. org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.process(ParentStrategy.java:22)
    6. org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.fetchData(ParentStrategy.java:34)
    7. org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.process(ParentStrategy.java:22)
    8. org.meridor.perspective.sql.impl.task.DataSourceTask.processDataSource(DataSourceTask.java:63)
    9. org.meridor.perspective.sql.impl.task.DataSourceTask.execute(DataSourceTask.java:41)
    10. org.meridor.perspective.sql.impl.QueryProcessorImpl.executeTasks(QueryProcessorImpl.java:102)
    11. org.meridor.perspective.sql.impl.QueryProcessorImpl.processQuery(QueryProcessorImpl.java:66)
    12. org.meridor.perspective.sql.impl.QueryProcessorImpl.access$000(QueryProcessorImpl.java:27)
    13. org.meridor.perspective.sql.impl.QueryProcessorImpl$1.load(QueryProcessorImpl.java:41)
    14. org.meridor.perspective.sql.impl.QueryProcessorImpl$1.load(QueryProcessorImpl.java:39)
    14 frames
  6. Guava
    LocalCache$LocalLoadingCache.get
    1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542)
    2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323)
    3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)
    4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
    5. com.google.common.cache.LocalCache.get(LocalCache.java:3953)
    6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)
    7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)
    7 frames
  7. org.meridor.perspective
    QueryResource.lambda$query$0
    1. org.meridor.perspective.sql.impl.QueryProcessorImpl.process(QueryProcessorImpl.java:50)
    2. org.meridor.perspective.rest.resources.QueryResource.lambda$query$0(QueryResource.java:45)
    2 frames
  8. Java RT
    ReferencePipeline.collect
    1. java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
    2. java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    3. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    4. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    5. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
    6. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    7. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
    7 frames
  9. org.meridor.perspective
    QueryResource.query
    1. org.meridor.perspective.rest.resources.QueryResource.query(QueryResource.java:46)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  11. jersey-core-server
    ServerRuntime$2.run
    1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
    2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
    3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
    4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
    5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
    6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
    7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
    8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
    9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
    9 frames
  12. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
    2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
    6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
    6 frames
  13. jersey-core-server
    ApplicationHandler.handle
    1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
    2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
    2 frames
  14. jersey-container-servlet-core
    ServletContainer.service
    1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
    2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
    3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
    4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
    5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
    5 frames
  15. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
    12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    14. org.eclipse.jetty.server.Server.handle(Server.java:517)
    15. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
    16. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    17. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
    18. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    19. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    19 frames
  16. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    2 frames
  17. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    2 frames
  18. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame