Bug 1323657

Summary: Exceptions in server log when project is created and deleted in a short time
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas Livora <tlivora>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:48:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
EAP server log none

Description Tomas Livora 2016-04-04 11:14:26 UTC
Created attachment 1143308 [details]
EAP server log

Description of problem:
There is NoSuchFileException in the server log when you create a repository using REST API and delete it right after it. It seems that this happens because Business Central tries to index files which no longer exist. The component which is responsible for indexing should be notified when a project is deleted so it will not try to index it.

Version-Release number of selected component (if applicable):
6.3.0 ER2

Steps to Reproduce:
1. Create a repository.
2. Delete the repository.
3. See the server log.

Actual results:
Error during indexing: org.uberfire.java.nio.file.NoSuchFileException

Expected results:
No exceptions or just some warnings.

Additional info:
Maybe it is not very common use case but if it is fixed, it will help us to find other possible problems more quickly since we will not need to go through so many exceptions in the server log.