Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12222

NullPointerException thrown when inserting image bigger than attachment maximum size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • 3.1
    • 2.8.1
    • None

    Description

      Steps to reproduce:

      1. Lower the Attachment Maximum Size (for testing purpose)
      2. Add a new page/news
      3. In the Rich Text/Wiki Editor, insert image
      4. Select image with size bigger than Attachment Maximum Size
      5. Click Attach

      The following error message is caught:

      java.lang.NullPointerException
       at com.atlassian.confluence.pages.actions.InsertImageInDraftAction.validateUpload(InsertImageInDraftAction.java:43)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            amohdaris Azwandi Mohd Aris (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: