java.lang.NullPointerException

Atlassian JIRA | Mike Deeks | 3 years ago
  1. 0

    We are getting the following error after the upgrade to 5.2-OD-3 today. {code} Plan 'AC-BECI' could not be started. Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause. (org.springframework.dao.DataIntegrityViolationException : Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause.) (28 Oct 2013, 12:52:21 PM) {code} Also our deployment projects are failing now with NPEs (Note: I removed our hostname from the log): {code} 28-Oct-2013 15:04:24 Starting task 'scp acompli-frontend.tar.gz to <REMOVED>' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask' 28-Oct-2013 15:04:24 Error occurred while running Task 'scp acompli-frontend.tar.gz to <REMOVED>(5)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask. 28-Oct-2013 15:04:24 java.lang.NullPointerException 28-Oct-2013 15:04:24 at java.io.File.<init>(File.java:305) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:199) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:132) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:107) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:101) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:212) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55) 28-Oct-2013 15:04:24 at java.lang.Thread.run(Thread.java:662) {code}

    Atlassian JIRA | 3 years ago | Mike Deeks
    java.lang.NullPointerException
  2. 0

    We are getting the following error after the upgrade to 5.2-OD-3 today. {code} Plan 'AC-BECI' could not be started. Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause. (org.springframework.dao.DataIntegrityViolationException : Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete from ARTIFACT where ARTIFACT_ID='8815755' was aborted. Call getNextException to see the cause.) (28 Oct 2013, 12:52:21 PM) {code} Also our deployment projects are failing now with NPEs (Note: I removed our hostname from the log): {code} 28-Oct-2013 15:04:24 Starting task 'scp acompli-frontend.tar.gz to <REMOVED>' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask' 28-Oct-2013 15:04:24 Error occurred while running Task 'scp acompli-frontend.tar.gz to <REMOVED>(5)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask. 28-Oct-2013 15:04:24 java.lang.NullPointerException 28-Oct-2013 15:04:24 at java.io.File.<init>(File.java:305) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:199) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:132) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:107) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:101) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:212) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) 28-Oct-2013 15:04:24 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55) 28-Oct-2013 15:04:24 at java.lang.Thread.run(Thread.java:662) {code}

    Atlassian JIRA | 3 years ago | Mike Deeks
    java.lang.NullPointerException
  3. 0

    [1.2.4] Blog : NullPointerException on File init

    Google Groups | 5 years ago | Neoh59
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [izpack-user] Null pointer exception with loose pack

    Google Groups | 6 years ago | Syf89723
    java.lang.NullPointerException

  1. ajinkya_w 1 times, last 2 months ago
  2. emmanuelstroem 1 times, last 4 months ago
  3. adawolfs 31 times, last 2 months ago
  4. Diogo Jaym 6 times, last 5 months ago
  5. Bardh 7 times, last 6 months ago
6 more registered users
20 unregistered visitors
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.io.File.<init>()
  2. Java RT
    File.<init>
    1. java.io.File.<init>(File.java:305)
    1 frame
  3. com.atlassian.bamboo
    NamedThreadFactory$2.run
    1. com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:199)
    2. com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:132)
    3. com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:107)
    4. com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:101)
    5. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:212)
    6. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
    7. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
    8. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181)
    9. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101)
    10. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
    11. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55)
    11 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame