java.lang.NullPointerException: Specified service reference cannot be null.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • (!) This issue is tracked as [https://ecosystem.atlassian.net/browse/STP-396], this bug is created for Hercules to pick up the regexp. Please monitor that ticket for progress. h4. Problem When generating a support.zip with version 3.7.11 of the [Support Tools Plugin|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions], the following error is thrown in {{atlassian-confluence.log}}: {noformat}2016-01-06 17:41:20,513 WARN [support-request] [support.tools.request.CreateSupportZipTask] zip Error processing 'Healthchecks Results': NullPointerException: Specified service reference cannot be null. -- referer: https://wiki.vsct.fr/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/support-zip/execute | userName: robert_mota java.lang.NullPointerException: Specified service reference cannot be null. at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:338) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getHealthcheckResults(HealthcheckResultsBundle.java:80) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getFiles(HealthcheckResultsBundle.java:39) at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745){noformat} Despite the error, the support.zip will be generated. h4. Workaround No action needed, however: - Version 3.7.5 does not reproduce the issue, thus downgrading may be an option until a fix is available. - Unchecking {{Health Check Results}} tickbox avoids the error. h4. Possible cause bq. Included Healthchecks results in Support Zip for Confluence and JIRA. - In release [3.7.11|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions]
    via by Peter Koczan,
  • (!) This issue is tracked as [https://ecosystem.atlassian.net/browse/STP-396], this bug is created for Hercules to pick up the regexp. Please monitor that ticket for progress. h4. Problem When generating a support.zip with version 3.7.11 of the [Support Tools Plugin|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions], the following error is thrown in {{atlassian-confluence.log}}: {noformat}2016-01-06 17:41:20,513 WARN [support-request] [support.tools.request.CreateSupportZipTask] zip Error processing 'Healthchecks Results': NullPointerException: Specified service reference cannot be null. -- referer: https://wiki.vsct.fr/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/support-zip/execute | userName: robert_mota java.lang.NullPointerException: Specified service reference cannot be null. at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:338) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getHealthcheckResults(HealthcheckResultsBundle.java:80) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getFiles(HealthcheckResultsBundle.java:39) at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745){noformat} Despite the error, the support.zip will be generated. h4. Workaround No action needed, however: - Version 3.7.5 does not reproduce the issue, thus downgrading may be an option until a fix is available. - Unchecking {{Health Check Results}} tickbox avoids the error. h4. Possible cause bq. Included Healthchecks results in Support Zip for Confluence and JIRA. - In release [3.7.11|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions]
    via by Peter Koczan,
  • (!) This issue is tracked as [https://ecosystem.atlassian.net/browse/STP-396], this bug is created for Hercules to pick up the regexp. Please monitor that ticket for progress. h4. Problem When generating a support.zip with version 3.7.11 of the [Support Tools Plugin|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions], the following error is thrown in {{atlassian-confluence.log}}: {noformat}2016-01-06 17:41:20,513 WARN [support-request] [support.tools.request.CreateSupportZipTask] zip Error processing 'Healthchecks Results': NullPointerException: Specified service reference cannot be null. -- referer: https://wiki.vsct.fr/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/support-zip/execute | userName: robert_mota java.lang.NullPointerException: Specified service reference cannot be null. at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:338) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getHealthcheckResults(HealthcheckResultsBundle.java:80) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getFiles(HealthcheckResultsBundle.java:39) at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745){noformat} Despite the error, the support.zip will be generated. h4. Workaround No action needed, however: - Version 3.7.5 does not reproduce the issue, thus downgrading may be an option until a fix is available. - Unchecking {{Health Check Results}} tickbox avoids the error. h4. Possible cause bq. Included Healthchecks results in Support Zip for Confluence and JIRA. - In release [3.7.11|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions]
    via by Peter Koczan,
  • (!) This issue is tracked as [https://ecosystem.atlassian.net/browse/STP-396], this bug is created for Hercules to pick up the regexp. Please monitor that ticket for progress. h4. Problem When generating a support.zip with version 3.7.11 of the [Support Tools Plugin|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions], the following error is thrown in {{atlassian-confluence.log}}: {noformat}2016-01-06 17:41:20,513 WARN [support-request] [support.tools.request.CreateSupportZipTask] zip Error processing 'Healthchecks Results': NullPointerException: Specified service reference cannot be null. -- referer: https://wiki.vsct.fr/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/support-zip/execute | userName: robert_mota java.lang.NullPointerException: Specified service reference cannot be null. at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:338) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getHealthcheckResults(HealthcheckResultsBundle.java:80) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getFiles(HealthcheckResultsBundle.java:39) at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745){noformat} Despite the error, the support.zip will be generated. h4. Workaround No action needed, however: - Version 3.7.5 does not reproduce the issue, thus downgrading may be an option until a fix is available. - Unchecking {{Health Check Results}} tickbox avoids the error. h4. Possible cause bq. Included Healthchecks results in Support Zip for Confluence and JIRA. - In release [3.7.11|https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/versions]
    via by Peter Koczan,
  • Upgrade to Apache Karaf 2.4.0
    via GitHub by davsclaus
    ,
  • Re: Randomly Failing Unit tests
    via by connuser1 connuser1,
    • java.lang.NullPointerException: Specified service reference cannot be null. at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:338) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getHealthcheckResults(HealthcheckResultsBundle.java:80) at com.atlassian.support.tools.salext.bundle.HealthcheckResultsBundle.getFiles(HealthcheckResultsBundle.java:39) at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    No Bugmate found.