Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9226093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:44:46+00:00 2026-06-18T04:44:46+00:00

I developed a simple plugin to bar files ending in .exe from being uploaded

  • 0

I developed a simple plugin to bar files ending in .exe from being uploaded into my jira app. I overrode the AttachFile.doValidation() method to check for .exe in the filename. If it’s there I return an error.

Now when I try to delete an attachment, 9 times out of 10 it won’t work. I simply get the error “Failed to delete attachment with id {id}”. Nothing in the stacktrace or logs indicated that something went wrong. Then it will suddenly delete succcessfully. I’ve found no rhyme or reason for this.

Again, I overrode AttachFile, not DeleteAttachment, so I don’t know how my fix could be related to this problem. Could it be though??


If I remove my plugin entirely, I still get an error when I delete. The error says “The action can’t be completed because the file is open in Java(TM) Platform SE binary”. Somehow AttachFile() is leaving a reference to the file, but I have no clue where or how to clean up.

Permissions aren’t the issue, because occasionally the delete command will work. It always works when the server first starts up, and after that only periodically.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:44:47+00:00Added an answer on June 18, 2026 at 4:44 am

    We’ve come to the conclusion that this is a Windows-only problem, and Linux doesn’t lock files. Our production server is Linux, so I’m not going to spend anymore time on this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developed simple Facebook app for my WordPress plugin (I used PHP-SDK ) and
I developed one Simple app, which contains one textview.and my problem is that I
I developed one simple app, like subtraction, addition. In this app I use three
I developed a simple plugin to sent request to a JSON text file, retrieve
I have developed on simple plugin in Joomla 1.6 I stuck at : How
I've developed a quick and simple plugin that adds line markers for lines containing
I have developed a simple VST plugin. The plugin has an internal buffer with
I have developed a simple plugin to generate some routine code. This plugin has
I have developed a simple Jekyll plugin, to generate the categories pages. IT works
I developed a simple jQuery animation first and later I create a jQuery function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.