java.lang.NullPointerException

Atlassian JIRA | Jing Hwa [Atlassian] | 2 years ago
  1. 0

    h3. Step to Replicate # Attach the following PDF !^whole.space.pdf! to a Confluence Page # Insert a PDF viewfile macro into the page and try to render the attachment with it h3. Expected Result. The PDF is rendered with the viewfilemacro Observed Result The PDF could not be displayed. !sample_1.png! The following error will be thrown in the logs {code} 2015-03-11 20:39:08,731 ERROR [DefaultSlideCacheManager:thread-2] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting 2015 bsa application (3).pdf -- referer: http://10.60.5.195:8563/confluence/display/MTS/pdf+no | url: /confluence/plugins/servlet/pptslide | userName: admin java.lang.NullPointerException at java.util.ArrayList.addAll(Unknown Source) at com.sun.pdfview.annotation.WidgetAnnotation.getPageCommandsForAnnotation(WidgetAnnotation.java:221) at com.sun.pdfview.PDFPage.setAnnots(PDFPage.java:666) at com.sun.pdfview.PDFFile.createPage(PDFFile.java:1661) at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1533) at com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:105) at com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:33) at com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:50) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} h3.Workaround Use File Preview Macro instead of View File Macro. Currently, there is no workaround to make the View File Macro to display the PDF file properly.

    Atlassian JIRA | 2 years ago | Jing Hwa [Atlassian]
    java.lang.NullPointerException
  2. 0

    h3. Step to Replicate # Attach the following PDF !^whole.space.pdf! to a Confluence Page # Insert a PDF viewfile macro into the page and try to render the attachment with it h3. Expected Result. The PDF is rendered with the viewfilemacro Observed Result The PDF could not be displayed. !sample_1.png! The following error will be thrown in the logs {code} 2015-03-11 20:39:08,731 ERROR [DefaultSlideCacheManager:thread-2] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting 2015 bsa application (3).pdf -- referer: http://10.60.5.195:8563/confluence/display/MTS/pdf+no | url: /confluence/plugins/servlet/pptslide | userName: admin java.lang.NullPointerException at java.util.ArrayList.addAll(Unknown Source) at com.sun.pdfview.annotation.WidgetAnnotation.getPageCommandsForAnnotation(WidgetAnnotation.java:221) at com.sun.pdfview.PDFPage.setAnnots(PDFPage.java:666) at com.sun.pdfview.PDFFile.createPage(PDFFile.java:1661) at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1533) at com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:105) at com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:33) at com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:50) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} h3.Workaround Use File Preview Macro instead of View File Macro. Currently, there is no workaround to make the View File Macro to display the PDF file properly.

    Atlassian JIRA | 2 years ago | Jing Hwa [Atlassian]
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Save job configuration returns an Oops page

    Google Groups | 3 years ago | zakyn
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.emailext.ExtendedEmailPublisher from {"project_recipient_list":"$DEFAULT_RECIPIENTS","project_replyto":"$DEFAULT_REPLYTO","project_content_type":"default","project_default_subject":"$DEFAULT_SUBJECT","project_default_content":"$DEFAULT_CONTENT","project_attachments":"","project_attach_buildlog":"0","project_presend_script":"$DEFAULT_PRESEND_SCRIPT","project_save_output":false,"project_triggers":[{"recipientList":"","replyTo":"$PROJECT_DEFAULT_REPLYTO","contentType":"project","subject":"$PROJECT_DEFAULT_SUBJECT","body":"$PROJECT_DEFAULT_CONTENT","attachmentsPattern":"","attachBuildLog":"0","stapler-class":"hudson.plugins.emailext.plugins.trigger.BuildingTrigger","kind":"hudson.plugins.emailext.plugins.trigger.BuildingTrigger"},{"recipientProviders":[{"stapler-class":"hudson.plugins.emailext.plugins.recipients.DevelopersRecipientProvider","kind":"hudson.plugins.emailext.plugins.recipients.DevelopersRecipientProvider"},{"stapler-class":"hudson.plugins.emailext.plugins.recipients.RequesterRecipientProvider","kind":"hudson.plugins.emailext.plugins.recipients.RequesterRecipientProvider"},{"stapler-class":"hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider","kind":"hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider"}],"recipientList":"","replyTo":"$PROJECT_DEFAULT_REPLYTO","contentType":"project","subject":"$PROJECT_DEFAULT_SUBJECT","body":"$PROJECT_DEFAULT_CONTENT","attachmentsPattern":"","attachBuildLog":"0","stapler-class":"hudson.plugins.emailext.plugins.trigger.FailureTrigger","kind":"hudson.plugins.emailext.plugins.trigger.FailureTrigger"},{"recipientList":"","replyTo":"$PROJECT_DEFAULT_REPLYTO","contentType":"project","subject":"$PROJECT_DEFAULT_SUBJECT","body":"$PROJECT_DEFAULT_CONTENT","attachmentsPattern":"","attachBuildLog":"0","stapler-class":"hudson.plugins.emailext.plugins.trigger.SuccessTrigger","kind":"hudson.plugins.emailext.plugins.trigger.SuccessTrigger"},{"recipientProviders":{"stapler-class":"hudson.plugins.emailext.plugins.recipients.ListRecipientProvider","kind":"hudson.plugins.emailext.plugins.recipients.ListRecipientProvider"},"recipientList":"","replyTo":"$PROJECT_DEFAULT_REPLYTO","contentType":"project","subject":"$PROJECT_DEFAULT_SUBJECT","body":"$PROJECT_DEFAULT_CONTENT","attachmentsPattern":"","attachBuildLog":"0","stapler-class":"hudson.plugins.emailext.plugins.trigger.PreBuildTrigger","kind":"hudson.plugins.emailext.plugins.trigger.PreBuildTrigger"}],"stapler-class":"hudson.plugins.emailext.ExtendedEmailPublisher","kind":"hudson.plugins.emailext.ExtendedEmailPublisher"}
  5. 0

    Jenkins can no longer connect to SVN server?

    Google Groups | 4 years ago | Andreas Tscharner
    java.lang.NullPointerException

  1. ajinkya_w 2 times, last 2 months ago
  2. marcbouvierdav 1 times, last 2 months ago
  3. 0x60 133 times, last 2 months ago
  4. brunosatriani 1 times, last 5 months ago
  5. Agócs Tamás 4 times, last 6 months ago
5 more registered users
5 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.util.ArrayList.addAll()
  2. Java RT
    ArrayList.addAll
    1. java.util.ArrayList.addAll(Unknown Source)
    1 frame
  3. com.sun.pdfview
    WidgetAnnotation.getPageCommandsForAnnotation
    1. com.sun.pdfview.annotation.WidgetAnnotation.getPageCommandsForAnnotation(WidgetAnnotation.java:221)
    1 frame
  4. PDF Renderer
    PDFFile.getPage
    1. com.sun.pdfview.PDFPage.setAnnots(PDFPage.java:666)
    2. com.sun.pdfview.PDFFile.createPage(PDFFile.java:1661)
    3. com.sun.pdfview.PDFFile.getPage(PDFFile.java:1533)
    3 frames
  5. com.benryan.conversion
    AbstractSlideConversionTask.call
    1. com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:105)
    2. com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:33)
    3. com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:50)
    3 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    5. java.lang.Thread.run(Unknown Source)
    5 frames